commit 96d1854b09cc2ceed4019938e468708eaf6a2cac Author: Karsten Loesing karsten.loesing@gmx.net Date: Wed Dec 5 10:07:27 2012 +0100
Avoid confusion caused by collapsing navbar.
On smaller screens, the navbar collapses to a single button. This collapsing includes the search field, which (understandably) confuses users.
Remove both "Home" and "About" button and move search field to non-collapsing part of the navbar.
Fixes #6945. --- index.html | 14 ++------------ 1 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/index.html b/index.html index ffd4be1..5ab6ba1 100644 --- a/index.html +++ b/index.html @@ -35,21 +35,10 @@ <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> - <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </a> <a class="brand" href="#"><img src="img/TorStatus.png"/></a> - <div class="nav-collapse"> - <ul class="nav"> - <li id="home" class="active"><a href="#">Home</a></li> - <li id="about" ><a href="#about">About</a></li> - </ul> <form id="nav-search" class="navbar-search pull-left" action> - <input type="text" class="search-query span2" placeholder="Search"> + <input type="text" class="search-query" placeholder="Search"> </form> - </div><!--/.nav-collapse --> </div> </div> </div> @@ -63,6 +52,7 @@ <hr/> <footer> The Tor Project - 2012<br/> + <a href="#about">About</a> - <a href="https://gitweb.torproject.org/atlas.git">Source code</a> - <a href="https://trac.torproject.org/projects/tor/newticket?component=Atlas">Report a bug</a> - <a href="mailto:art@torproject.org">Contact</a>