add nav bar to admin
This commit is contained in:
parent
2553037177
commit
5de591907f
27
gazetteer/static/css/gaz_admin.css
Normal file
27
gazetteer/static/css/gaz_admin.css
Normal 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;}
|
||||
|
|
@ -3,8 +3,22 @@
|
|||
|
||||
{% block title %}{{ title }} | {% trans 'Library of Congress Digital Gazetteer' %}{% endblock %}
|
||||
|
||||
{% block extrahead %}
|
||||
<link rel="stylesheet" href="/static/css/gaz_admin.css" />
|
||||
{% endblock %}
|
||||
|
||||
{% block branding %}
|
||||
<h1 id="site-name">{% trans 'Library of Congress Digital Gazetteer' %}</h1>
|
||||
{% 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 %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user