/templates/admin/list-post.mustache
http://github.com/TheOnly92/bloody.go · Mustache · 34 lines · 34 code · 0 blank · 0 comment · 0 complexity · 5f850961cfb206b2e7d8148fadf8de61 MD5 · raw file
- <!--<p>[ <a href="/admin/post/new{{#markdown}}?markdown=1{{/markdown}}">New Post</a> <a href="/admin/preferences">Preferences</a> <a href="/admin/bloody/restart">Restart Bloody</a> ]</p>-->
- <article class="module width_full">
- <header><h3>Posts</h3></header>
- <form method="post">
- <table cellpadding="0" cellspacing="0" border="0" style="width: 100%; font-size: 13px;" class="tablesorter">
- <thead>
- <tr>
- <th style="width: 25px;"></th>
- <th>Created On</th>
- <th>Title</th>
- <th width="100px;">Actions</th>
- </tr>
- </thead>
- {{#posts}}
- <tr>
- <td><input type="checkbox" name="posts[]" value="{{Id}}" /></td>
- <td style="width: 130px">{{Date}}</td>
- <td><a href="/admin/post/edit/{{Id}}">{{Title}}</a>{{#Draft}} - Draft{{/Draft}}</td>
- <td><a href="/admin/post/edit/{{Id}}"><input type="image" src="/admin/images/icn_edit.png" title="Edit"></a><a href="/admin/post/del/{{Id}}"><input type="image" src="/admin/images/icn_trash.png" title="Trash"></a></td>
- </tr>
- {{/posts}}
- </table>
- <footer>
- <div class="submit_link">
- <select name="action">
- <option value=""></option>
- <option value="delete">Delete</option>
- <option value="publish">Publish</option>
- </select>
- <input type="submit" value="Go!" />
- </div>
- </footer>
- </form>
- </article>