Mercurial > wikked
comparison static/tpl/revision-page.html @ 69:0adac3bc079e
Client refactoring:
- Correctly clean-up Backbone views.
- Remove some coupling to the router.
- Remove duplication for view hosts.
- Added ability to revert a page to a previous revision.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 12 Feb 2013 20:55:13 -0800 |
parents | 8250c977bc50 |
children | b03f083c3a29 |
comparison
equal
deleted
inserted
replaced
68:4cb946982fca | 69:0adac3bc079e |
---|---|
1 <article class="row"> | 1 <article class="row"> |
2 <div class="page span12"> | 2 <div class="page span12"> |
3 <h1>{{meta.title}} <span class="decorator">Revision: <span class="rev_id">{{disp_rev}}</span></span></h1> | 3 <h1>{{meta.title}} <span class="decorator">Revision: <span class="rev_id">{{disp_rev}}</span></span></h1> |
4 <pre><code>{{text}}</code></pre> | 4 <pre><code>{{text}}</code></pre> |
5 <form id="page-revert" class="page-revert"> | |
6 <input type="hidden" name="rev" value="{{rev}}"/> | |
7 <button type="submit" class="btn">Revert</button> | |
8 <small>Revert the page to this revision</small> | |
9 </form> | |
5 </div> | 10 </div> |
6 </article> | 11 </article> |