Mercurial > wikked
view static/tpl/special-changes.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 | 05d0a7cd85e8 |
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>