[PATCH 16/51] style.css: Rename the breadcrumb selectors
Damien Lespiau
damien.lespiau at intel.com
Tue Aug 25 04:23:05 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>
---
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 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>
→
{% block breadcrumb %}
--
2.1.0
More information about the Patchwork
mailing list