diff mbox

[16/51] style.css: Rename the breadcrumb selectors

Message ID 1440440620-25937-17-git-send-email-damien.lespiau@intel.com
State Changes Requested
Headers show

Commit Message

Damien Lespiau Aug. 24, 2015, 6:23 p.m. UTC
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@intel.com>
---
 htdocs/css/style.css | 6 +++---
 templates/base.html  | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

Comments

Stephen Finucane Sept. 9, 2015, 2:52 p.m. UTC | #1
> 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@intel.com>


Acked-by: Stephen Finucane <stephen.finucane@intel.com>
diff mbox

Patch

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 f770ac9..cef0671 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -61,8 +61,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>
      &#8594;
      {% block breadcrumb %}