From: Damien Lespiau Date: Thu, 17 Dec 2015 18:08:56 +0000 (+0000) Subject: ui: Redesign navigation X-Git-Tag: v1.1.0~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40cff5a8b2ad4a3b96f48b4d7933303668853bc6;p=thirdparty%2Fpatchwork.git ui: Redesign navigation We get rid of the breadcrumbs in favour of items always present in the top navigation bar. Based on BĂ©len's new design iteration. v2: Rebase onto master Signed-off-by: Damien Lespiau Signed-off-by: Stephen Finucane --- diff --git a/htdocs/css/style.css b/htdocs/css/style.css index e86a88a5..123d9408 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -30,22 +30,6 @@ pre { color: #999; } -#breadcrumb { - float: left - width: 100%; - border-bottom: 0.1em solid #ddd; - padding: 0.2em 1em; - color: #a0a0a0; -} - -#breadcrumb-left { - float: left; -} - -#breadcrum-right { - float: right; -} - #content { padding: 1em; } diff --git a/patchwork/templates/patchwork/bundles.html b/patchwork/templates/patchwork/bundles.html index 029379d8..35235fbf 100644 --- a/patchwork/templates/patchwork/bundles.html +++ b/patchwork/templates/patchwork/bundles.html @@ -4,6 +4,7 @@ {% block title %}Bundles{% endblock %} {% block heading %}Bundles{% endblock %} +{% block bundle_active %}active{% endblock %} {% block body %} diff --git a/patchwork/templates/patchwork/list.html b/patchwork/templates/patchwork/list.html index f4650ae3..df25bb5e 100644 --- a/patchwork/templates/patchwork/list.html +++ b/patchwork/templates/patchwork/list.html @@ -5,7 +5,7 @@ {% block title %}{{project.name}}{% endblock %} {% block heading %}{{project.name}}{% endblock %} -{% block breadcrumb %}{{ project.linkname }} patches{% endblock %} +{% block patch_active %}active{% endblock %} {% block body %} diff --git a/patchwork/templates/patchwork/patch.html b/patchwork/templates/patchwork/patch.html index d73377f8..b5d0eb7d 100644 --- a/patchwork/templates/patchwork/patch.html +++ b/patchwork/templates/patchwork/patch.html @@ -6,12 +6,6 @@ {% load patch %} {% block title %}{{patch.name}}{% endblock %} -{% block breadcrumb %} -{{ project.linkname }} patches - → - {{ patch.name }} -{% endblock %} {% block body %}