Mercurial > wikked
view static/tpl/history-page.html @ 60:8250c977bc50
Moved static files to the root directory.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 05 Feb 2013 14:49:34 -0800 |
parents | wikked/static/tpl/history-page.html@884eb6c8edf0 |
children | 0b504b1b6790 |
line wrap: on
line source
<article class="row"> <div class="page span12"> <h1>{{meta.title}} <span class="decorator">History</span></h1> <p>Here's the revision log for <a href="{{url_read}}">{{meta.title}}</a>.</p> <form id="diff-page"> <table class="table table-hover"> <thead> <tr> <th>Rev.</th> <th>Date</th> <th>Author</th> <th>Comment</th> <th><button id="diff-revs" class="btn btn-primary">Show Diff.</button></th> </tr> </thead> <tbody> {{#eachr history}} <tr> <td><a href="{{../url_rev}}/{{rev_id}}">{{rev_id}}</a></td> <td>{{timestamp}}</td> <td>{{author}}</td> <td>{{description}}</td> <td> <input type="radio" name="rev1" value="{{rev_id}}" {{#ifeq @index to=0 }}checked="true" {{/ifeq}}/> <input type="radio" name="rev2" value="{{rev_id}}" {{#ifeq @index to=1 }}checked="true" {{/ifeq}}/> <small><a href="{{../url_diffc}}/{{rev_id}}">with previous</a></small> </td> </tr> {{/eachr}} </tbody> </table> </form> </div> </article>