diff gpp/templates/admin/base_site.html @ 141:861f7d5f1b23

Rework r149 for #30. Got rid of the custom index. Put my dashboard in the nav-global block instead.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Dec 2009 07:55:48 +0000
parents e04d91babfcf
children 71cb4208dc98
line wrap: on
line diff
--- a/gpp/templates/admin/base_site.html	Mon Nov 30 03:20:24 2009 +0000
+++ b/gpp/templates/admin/base_site.html	Sun Dec 06 07:55:48 2009 +0000
@@ -1,5 +1,21 @@
 {% extends "admin/base.html" %}
 {% load i18n %}
+{% load custom_admin_tags %}
+
+{% block extrastyle %}
+<style type="text/css">
+   #dashboard-list {
+      margin-left: 10px;
+      padding: 0;
+   }
+   #dashboard-list li {
+      float: left;
+      list-style: square inside none;
+      margin-right: 10px;
+      margin-bottom: 4px;
+   }
+</style>
+{% endblock %}
 
 {% block title %}{{ title }} | {% trans 'SG101 Site Admin' %}{% endblock %}
 
@@ -7,4 +23,4 @@
 <h1 id="site-name">{% trans 'SurfGuitar101.com Site Administration' %}</h1>
 {% endblock %}
 
-{% block nav-global %}{% endblock %}
+{% block nav-global %}{% admin_dashboard %}{% endblock %}