[tor-commits] [bridgedb/develop] Rewrite header/navigation bar for HTTPS distributor.

isis at torproject.org isis at torproject.org
Mon Apr 14 22:02:10 UTC 2014


commit 41bda9aa79b0a943fdacbcda27dab3887f5f3b70
Author: Isis Lovecruft <isis at torproject.org>
Date:   Fri Apr 11 11:46:10 2014 +0000

    Rewrite header/navigation bar for HTTPS distributor.
---
 lib/bridgedb/templates/base.html |   30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

diff --git a/lib/bridgedb/templates/base.html b/lib/bridgedb/templates/base.html
index fc8d03c..b5cfeed 100644
--- a/lib/bridgedb/templates/base.html
+++ b/lib/bridgedb/templates/base.html
@@ -21,30 +21,38 @@ span,p,h3,h4 {
     text-align: right;
     direction: rtl;
 }
-
 span {
     float: right;
 }
 </style>
-%endif
+% endif
 
 </head>
 <body>
   <div class="container-narrow">
     <div class="masthead">
-      <ul class="nav nav-pills pull-right">
-        <!--<h3 class="muted">BridgeDB</h3> -->
-        <a href="https://bridges.torproject.org/"><img src="/assets/bridgedb.png"
-                                                       height="100%"
-                                                       width="100%" /></a>
-      </ul>
-      <a href="https://www.torproject.org"><img src="/assets/tor.svg"
-                                                height="10%" width="15%"/></a>
+      <div class="nav nav-tabs">
+        <div class="nav navbar-header">
+          <a  class="navbar-brand" href="../">BridgeDB</a>
+        </div>
+        <ul class="nav navbar-nav pull-right">
+          <li>
+            <a href="https://www.torproject.org">The Tor Project</a>
+          </li>
+        </ul>
+      </div>
+      <p style="float: left; text-align: left;
+                margin-left: -23%; margin-bottom: -30%;">
+        <a href="https://www.torproject.org">
+          <img src="/assets/tor-roots-blue.svg"
+               height="23%" width="23%"/></a>
+      </p>
     </div>
-<hr>
+
 
 ${self.body()}
 
+
 <div class="faq">
   <div class="row-fluid marketing">
 





More information about the tor-commits mailing list