move login link and user name+email to the right on the navigation bar
authorChristian Weiske <cweiske@cweiske.de>
Tue, 18 Sep 2012 22:05:11 +0000 (00:05 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 18 Sep 2012 22:05:11 +0000 (00:05 +0200)
data/templates/base.htm

index 7722105..dc06566 100644 (file)
       <li>
        <a href="/list">List all</a>
       </li>
+      {% if db.adapter %}
+      <li>
+       <form class="navbar-search" action="/search" method="get">
+        <input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
+       </form>
+      </li>
+      {% endif %}
+     </ul>
+     <ul class="nav pull-right">
       {% if identity %}
       <li>
        <a href="/user">{{name}} ({{email}})</a>
        <a href="/login">Login</a>
       </li>
       {% endif %}
-      {% if db.adapter %}
-      <li>
-       <form class="navbar-search pull-left" action="/search" method="get">
-        <input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
-       </form>
-      </li>
-      {% endif %}
      </ul>
     </div>
    </div>