From 8846646f54a3740d272387511b91c3d3e5ae3283 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Wed, 17 Sep 2014 23:46:41 +0200 Subject: theming: Make navigation bar strongly themed Navigation bar can be complex and comprises of several different elements. Until now the navigation bar was almost hardcoded. We needed to separate different types of navigation bar elements: * NAV_BAR_FIRST - the first element, usually denoting gallery root. This element takes priority and is used when there are no other elements in the path. * NAV_BAR_ELEM - normal element used in the path between first and last elements. * NAV_BAR_LAST - ending element, guaranteed there's at least the NAV_BAR_FIRST element before. * NAV_BAR_CURRENT - non-clickable informational element displaying the current page title. Optional, in contrast to the former three defines. * NAV_BAR_CURRENT_ROOT - a special case of the latter one, displayed at the very root page. Also optional, in that case the navigation bar would become empty. --- templates/template_album.html | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'templates/template_album.html') diff --git a/templates/template_album.html b/templates/template_album.html index 3d0af4f..5413c5e 100644 --- a/templates/template_album.html +++ b/templates/template_album.html @@ -14,7 +14,25 @@