first template rendered

This commit is contained in:
s457957 2020-11-23 21:31:14 +01:00
parent 7cc321c5f3
commit 502ab39200
5 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.1.3 on 2020-11-23 19:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hr_module', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='timemodel',
name='weekly_hours',
field=models.DecimalField(decimal_places=2, max_digits=4),
),
]

View File

@ -0,0 +1,18 @@
# Generated by Django 3.1.3 on 2020-11-23 19:43
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hr_module', '0002_auto_20201123_1941'),
]
operations = [
migrations.AlterField(
model_name='timemodel',
name='time_model_id',
field=models.IntegerField(unique=True),
),
]

View File

@ -0,0 +1,22 @@
# Generated by Django 3.1.3 on 2020-11-23 19:43
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hr_module', '0003_auto_20201123_1943'),
]
operations = [
migrations.RemoveField(
model_name='timemodel',
name='id',
),
migrations.AlterField(
model_name='timemodel',
name='time_model_id',
field=models.IntegerField(primary_key=True, serialize=False),
),
]

8
static/css/base.css Normal file
View File

@ -0,0 +1,8 @@
.top-bar {
height: 150;
background: #C0C0C0;
margin-left: auto;
margin-right: auto;
}

10
templates/base.html Normal file
View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>$Title$</title>
</head>
<body>
$END$
</body>
</html>