[PATCH 17/46] style.css: Rename the breadcrumb selectors

Damien Lespiau damien.lespiau at intel.com
Sun Nov 9 06:08:35 AEDT 2014


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>
---
 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 5515ece..31b2598 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -64,8 +64,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 %}
-- 
1.8.3.1



More information about the Patchwork mailing list