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
|
settings.py
|
||||||
|
snurr.db
|
||||||
*.swp
|
*.swp
|
||||||
*.pyc
|
*.pyc
|
||||||
|
|
||||||
@@ -21,6 +21,4 @@ def home(request):
|
|||||||
except (EmptyPage, InvalidPage):
|
except (EmptyPage, InvalidPage):
|
||||||
entries = paginator.page(paginator.num_pages)
|
entries = paginator.page(paginator.num_pages)
|
||||||
|
|
||||||
print entries.__dict__
|
|
||||||
|
|
||||||
return render_to_response('home.html', locals(), context_instance=RequestContext(request))
|
return render_to_response('home.html', locals(), context_instance=RequestContext(request))
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
thead {
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{% block title %} Driftslogg {% endblock %}</title>
|
<title>{% block title %} Driftslogg {% endblock %}</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
|
||||||
{% block headinc %}
|
{% block headinc %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -31,4 +31,9 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{%endif%}
|
{%endif%}
|
||||||
|
<div id="admin">
|
||||||
|
<p>
|
||||||
|
<a href="/admin">Oops, jeg skrev feil...</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in new issue
Block a user