add nav bar to admin

This commit is contained in:
Sanj 2011-09-01 05:47:13 +05:30
parent 2553037177
commit 5de591907f
2 changed files with 42 additions and 1 deletions

View File

@ -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;}

View File

@ -3,8 +3,22 @@
{% block title %}{{ title }} | {% trans 'Library of Congress Digital Gazetteer' %}{% endblock %} {% block title %}{{ title }} | {% trans 'Library of Congress Digital Gazetteer' %}{% endblock %}
{% block extrahead %}
<link rel="stylesheet" href="/static/css/gaz_admin.css" />
{% endblock %}
{% block branding %} {% block branding %}
<h1 id="site-name">{% trans 'Library of Congress Digital Gazetteer' %}</h1> <h1 id="site-name">{% trans 'Library of Congress Digital Gazetteer' %}</h1>
{% endblock %} {% endblock %}
{% block nav-global %} <a href="/search">Search on map</a>{% endblock %} {% block nav-global %}
<div class="nav">
<ul>
<li><a href="/">Search</a></li>
<li><a href="/admin/places/feature">Features</a></li>
<li><a href="/admin/places/featuretype">Feature Types</a></li>
<li><a href="/admin/places/authorityrecord">Authority Records</a></li>
<li><a href="/admin/places/authorityrecord">Time-Frames</a></li>
</ul>
</div>
{% endblock %}