Mercurial > wikked
view static/tpl/special-changes.html @ 99:58a1a7baca25
Added preliminary UI support for categories.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 21 Apr 2013 08:12:18 -0700 |
parents | b03f083c3a29 |
children | 74eb145eb839 |
line wrap: on
line source
<article> <header> <h1>Wiki History</h1> </header> <section> <p>Here are the recent changes on this wiki.</p> <form> <table class="table table-hover"> <thead> <tr> <th>Revision</th> <th>Information</th> </tr> </thead> <tbody> {{#eachr history}} <tr> <td>{{rev_name}}</td> <td> <dl class="dl-horizontal"> <dt>Date</dt> <dd>{{date_from_now timestamp}}</dd> <dt>Author</dt> <dd>{{author}}</dd> <dt>Pages</dt> <dd> <ul class="unstyled"> {{#each changes}} <li> <a href="/#/read/{{url}}">{{url}}</a> {{#if is_edit}}(edit) {{/if}} {{#if is_add}}(added) {{/if}} {{#if is_delete}}(deleted) {{/if}} </li> {{/each}} </ul> </dd> <dt>Comment</dt> <dd>{{description}}</dd> </dl> </td> </tr> {{/eachr}} </tbody> </table> </form> </section> </article>