Archived
Link to admin site. Stylesheet.
This commit is contained in:
1 parent
8a9b30f563
commit
f5d9bbd9d4
5 files changed
+10
-2
No files matched your search
@@ -1,4 +1,5 @@
|
||||
settings.py
|
||||
snurr.db
|
||||
*.swp
|
||||
*.pyc
|
||||
|
||||
@@ -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))
|
||||
@@ -0,0 +1,3 @@
|
||||
thead {
|
||||
text-align:left;
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>{% block title %} Driftslogg {% endblock %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
|
||||
{% block headinc %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
@@ -31,4 +31,9 @@
|
||||
</span>
|
||||
</div>
|
||||
{%endif%}
|
||||
<div id="admin">
|
||||
<p>
|
||||
<a href="/admin">Oops, jeg skrev feil...</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user