Mercurial > wikked
diff static/tpl/special-changes.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/special-changes.html@884eb6c8edf0 |
children | 05d0a7cd85e8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/static/tpl/special-changes.html Tue Feb 05 14:49:34 2013 -0800 @@ -0,0 +1,40 @@ +<article class="row"> + <div class="page special span12"> + <h1>Wiki History</h1> + <p>Here are the recent changes on this wiki.</p> + <form> + <table class="table table-hover"> + <thead> + <tr> + <th>Rev.</th> + <th>Date</th> + <th>Author</th> + <th>Changes</th> + <th>Comment</th> + <th><button id="diff-revs" class="btn btn-primary">Show Diff.</button></th> + </tr> + </thead> + <tbody> + {{#eachr history}} + <tr> + <td>{{rev_id}}</td> + <td>{{date timestamp}}</td> + <td>{{author}}</td> + <td> + {{#each changes}} + <a href="/#/read/{{url}}">{{url}}</a> + {{#if is_edit}}(edit) {{/if}} + {{#if is_add}}(added) {{/if}} + {{#if is_delete}}(deleted) {{/if}} + <br/> + {{/each}} + </td> + <td>{{description}}</td> + <td></td> + </tr> + {{/eachr}} + </tbody> + </table> + </form> + </div> +</article>