diff static/tpl/history-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 0b504b1b6790
children
line wrap: on
line diff
--- a/static/tpl/history-page.html	Fri Apr 05 08:08:12 2013 -0700
+++ b/static/tpl/history-page.html	Sat Apr 06 18:07:31 2013 -0700
@@ -1,6 +1,8 @@
-<article class="row">
-    <div class="page span12">
+<article>
+    <header>
         <h1>{{meta.title}} <span class="decorator">History</span></h1>
+    </header>
+    <section>
         {{#if history}}
         <p>Here's the revision log for <a href="{{url_read}}">{{meta.title}}</a>.</p>
         <form id="diff-page">
@@ -32,7 +34,9 @@
             </table>
         </form>
         {{else}}
-        <p><i class="icon-warning-sign large big"></i> This page has not been committed to the repository yet. <a href="{{url_edit}}">Edit it</a> to do that now.</p>
+        <p><i class="icon-warning-sign large big"></i>
+            This page has not been committed to the repository yet.
+            <a href="{{url_edit}}">Edit it</a> to do that now.</p>
         {{/if}}
-    </div>
+    </section>
 </article>