diff --git a/.gitignore b/.gitignore index 6fdfd8e..703bf4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ settings.py +snurr.db *.swp *.pyc diff --git a/main/views.py b/main/views.py index e95356e..9fcb3e2 100644 --- a/main/views.py +++ b/main/views.py @@ -21,6 +21,4 @@ def home(request): except (EmptyPage, InvalidPage): entries = paginator.page(paginator.num_pages) - print entries.__dict__ - return render_to_response('home.html', locals(), context_instance=RequestContext(request)) diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..c2a88b1 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,3 @@ +thead { + text-align:left; +} diff --git a/templates/base.html b/templates/base.html index a1dca36..f167ebd 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,7 @@ {% block title %} Driftslogg {% endblock %} + {% block headinc %} {% endblock %} diff --git a/templates/home.html b/templates/home.html index 17e64b8..a66d763 100644 --- a/templates/home.html +++ b/templates/home.html @@ -31,4 +31,9 @@ {%endif%} +
+

+ Oops, jeg skrev feil... +

+
{% endblock %}