diff static/tpl/state-warning.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 d0be251663b5
children 827e236aa7c6
line wrap: on
line diff
--- a/static/tpl/state-warning.html	Fri Apr 05 08:08:12 2013 -0700
+++ b/static/tpl/state-warning.html	Sat Apr 06 18:07:31 2013 -0700
@@ -1,4 +1,5 @@
-<div class="alert">
-    <button type="button" class="close" data-dismiss="alert">&times;</button>
-    <span>This page is {{state}} in the repository. You can <a href="{{url_edit}}">edit it</a> now to commit.</span>
+<div class="ribbon">
+    <div class="ribbon-inner">
+        <span><a href="{{url_edit}}" rel="tooltip" title="This page is {{state}} in the repository. You can edit it now to commit." data-toggle="tooltip" data-placement="bottom">modified <i class="icon-info-sign icon-white"></i></a></span>
+    </div>
 </div>