[PATCH 15/49] style.css: Rename the breadcrumb selectors

Damien Lespiau damien.lespiau at intel.com
Fri Oct 2 00:12:20 AEST 2015


Bootstrap called what was the header bar "navigation". Let's rename the
nav* selector with 'breadcrumb' so there's no confusion with bootstrap's
nagivation elements and selectors.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Acked-by: Stephen Finucane <stephen.finucane at intel.com>
---
 htdocs/css/style.css | 6 +++---
 templates/base.html  | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/htdocs/css/style.css b/htdocs/css/style.css
index d0a69c9..62b0c3c 100644
--- a/htdocs/css/style.css
+++ b/htdocs/css/style.css
@@ -43,7 +43,7 @@ h2 {
 	color: #fff;
 }
 
-#nav {
+#breadcrumb {
 	float: left
 	width: 100%;
 	border-bottom: 0.1em solid #ddd;
@@ -51,11 +51,11 @@ h2 {
 	color: #a0a0a0;
 }
 
-#navleft {
+#breadcrumb-left {
 	float: left;
 }
 
-#navright {
+#breadcrum-right {
 	float: right;
 }
 
diff --git a/templates/base.html b/templates/base.html
index 60a4fd4..3f1d363 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -60,8 +60,8 @@
    </div>
   </nav>
 {% if project %}
-  <div id="nav">
-   <div id="navleft">
+  <div id="breadcrumb">
+   <div id="breadcrumb-left">
      <a href="{% url 'patchwork.views.projects' %}">All projects</a>
      →
      {% block breadcrumb %}
-- 
2.1.0



More information about the Patchwork mailing list