diff static/tpl/nav.html @ 89:b03f083c3a29

Lots of HTML/JS/Less changes: - more semantic and simple markup, no useless grid. - simpler colour schemes (TODO: colours are ugly, tune them). - better error handling in Backbone views. - fixed some view bugs. - changed new/modified page alert to a ribbon with tooltip.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 06 Apr 2013 18:07:31 -0700
parents 130eccd396d8
children e4eba42e1678
line wrap: on
line diff
--- a/static/tpl/nav.html	Fri Apr 05 08:08:12 2013 -0700
+++ b/static/tpl/nav.html	Sat Apr 06 18:07:31 2013 -0700
@@ -1,17 +1,15 @@
-<nav class="row">
-    <div class="span12">
-        {{#ifneq action to='read'}}<a href="{{url_read}}">Read</a>{{/ifneq}}
-        {{#ifneq action to='edit'}}<a href="{{url_edit}}">Edit</a>{{/ifneq}}
-        {{#ifneq action to='history'}}<a href="{{url_hist}}">History</a>{{/ifneq}}
-        <form id="search" class="form-search">
-            <input type="text" name="q" class="input-medium search-query" placeholder="Search...">
-            <button type="submit" class="btn btn-small">Search</button>
-        </form>
-        {{#if username}}
-        <a href="{{url_profile}}">{{username}}</a>
-        <a href="{{url_logout}}">Logout</a>
-        {{else}}
-        <a href="{{url_login}}">Login</a>
-        {{/if}}
-    </div>
-</nav>
+<section>
+    {{#ifneq action to='read'}}<a href="{{url_read}}">Read</a>{{/ifneq}}
+    {{#ifneq action to='edit'}}<a href="{{url_edit}}">Edit</a>{{/ifneq}}
+    {{#ifneq action to='history'}}<a href="{{url_hist}}">History</a>{{/ifneq}}
+    <form id="search" class="form-search">
+        <input type="text" name="q" class="input-medium search-query" placeholder="Search...">
+        <button type="submit" class="btn btn-small">Search</button>
+    </form>
+    {{#if username}}
+    <a href="{{url_profile}}">{{username}}</a>
+    <a href="{{url_logout}}">Logout</a>
+    {{else}}
+    <a href="{{url_login}}">Login</a>
+    {{/if}}
+</section>