diff static/tpl/revision-page.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 0adac3bc079e
children
line wrap: on
line diff
--- a/static/tpl/revision-page.html	Fri Apr 05 08:08:12 2013 -0700
+++ b/static/tpl/revision-page.html	Sat Apr 06 18:07:31 2013 -0700
@@ -1,11 +1,14 @@
-<article class="row">
-    <div class="page span12">
+<article>
+    <header>
         <h1>{{meta.title}} <span class="decorator">Revision: <span class="rev_id">{{disp_rev}}</span></span></h1>
+    </header>
+    <section>
         <pre><code>{{text}}</code></pre>
         <form id="page-revert" class="page-revert">
             <input type="hidden" name="rev" value="{{rev}}"/>
             <button type="submit" class="btn">Revert</button>
             <small>Revert the page to this revision</small>
         </form>
-    </div>
+    </section>
+</div>
 </article>