From 5de591907f7217009a0b3cea78146d7ef21fe793 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 1 Sep 2011 05:47:13 +0530 Subject: [PATCH] add nav bar to admin --- gazetteer/static/css/gaz_admin.css | 27 ++++++++++++++++++++++++ gazetteer/templates/admin/base_site.html | 16 +++++++++++++- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 gazetteer/static/css/gaz_admin.css diff --git a/gazetteer/static/css/gaz_admin.css b/gazetteer/static/css/gaz_admin.css new file mode 100644 index 0000000..f1abf3b --- /dev/null +++ b/gazetteer/static/css/gaz_admin.css @@ -0,0 +1,27 @@ +.nav +{width:98%; +margin-bottom:2%; +margin:0 auto;} + +.nav ul +{padding-top: 4px; +padding-bottom: 4px; +padding-left:1%; +background-image:url(http://gazetteer.in/admin/media/img/admin/default-bg.gif); +background-color:#7CA0C7;} + +.nav ul li +{padding-right: 60px; +list-style:none; +display:inline; +color:#FFF; +font-weight:bold; +cursor:pointer;} + +.nav ul li a +{text-decoration:none; +color:#FFF;} + +.nav ul li a:hover +{color:#036;} + diff --git a/gazetteer/templates/admin/base_site.html b/gazetteer/templates/admin/base_site.html index c9632ee..f84b5e1 100644 --- a/gazetteer/templates/admin/base_site.html +++ b/gazetteer/templates/admin/base_site.html @@ -3,8 +3,22 @@ {% block title %}{{ title }} | {% trans 'Library of Congress Digital Gazetteer' %}{% endblock %} +{% block extrahead %} + +{% endblock %} + {% block branding %}

{% trans 'Library of Congress Digital Gazetteer' %}

{% endblock %} -{% block nav-global %} Search on map{% endblock %} +{% block nav-global %} + +{% endblock %}