diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2012-09-03 17:21:04 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2012-09-03 17:21:04 +0200 |
commit | 0942d798f6ab24214466a484a21c8085e0ff7807 (patch) | |
tree | 6cb3266ec92bea886a798aa7ce551f3efc9ff903 /hyperkitty | |
parent | a1d9f6e422ff41eb57709d12854a01ccd24cf82a (diff) | |
download | hyperkitty-0942d798f6ab24214466a484a21c8085e0ff7807.tar.gz hyperkitty-0942d798f6ab24214466a484a21c8085e0ff7807.tar.xz hyperkitty-0942d798f6ab24214466a484a21c8085e0ff7807.zip |
Improve navigation links
Diffstat (limited to 'hyperkitty')
-rw-r--r-- | hyperkitty/static/css/style.css | 9 | ||||
-rw-r--r-- | hyperkitty/templates/base.html | 6 | ||||
-rw-r--r-- | hyperkitty/urls.py | 2 |
3 files changed, 11 insertions, 6 deletions
diff --git a/hyperkitty/static/css/style.css b/hyperkitty/static/css/style.css index 38a5278..ef9bfa2 100644 --- a/hyperkitty/static/css/style.css +++ b/hyperkitty/static/css/style.css @@ -53,6 +53,7 @@ body { list-style-type: none; } + /* Add icons to some text */ .participant { background: url("../img/participant.png") no-repeat scroll left top; @@ -167,6 +168,10 @@ body { margin-left: 20px; } +.nav .root { + font-weight: bold; +} + #thread_content { width: 70%; } @@ -186,10 +191,6 @@ body { margin-left:10px; } -#list_name { - font-weight: bold; -} - #page_date { font-size: 150%; } diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html index 5675db7..7a62c5f 100644 --- a/hyperkitty/templates/base.html +++ b/hyperkitty/templates/base.html @@ -38,8 +38,12 @@ <ul class="nav"> + <li class="root{% if not list_address %} active{% endif %}"> + <a href="{% url root %}">{{ app_name|title }}</a> + </li> + {% if list_address %} - <li id="list_name"> + <li id="list_name" class="active"> <a href="{% url list_overview mlist_fqdn=list_address %}">{{list_address}}</a> </li> {% endif %} diff --git a/hyperkitty/urls.py b/hyperkitty/urls.py index 5091f51..ae9ef64 100644 --- a/hyperkitty/urls.py +++ b/hyperkitty/urls.py @@ -19,7 +19,7 @@ urlpatterns = patterns('hyperkitty.views', # Index url(r'^/$', 'pages.index', name='index'), - url(r'^$', 'pages.index'), + url(r'^$', 'pages.index', name='root'), # Archives url(r'^archives/(?P<mlist_fqdn>.*@.*)/(?P<year>\d{4})/(?P<month>\d\d?)/(?P<day>\d\d?)/$', |