Mercurial > wikked
view static/tpl/nav.html @ 90:e4eba42e1678
Moved "Home" link to navigation section on top.
Added "JSON" link to history page.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 07 Apr 2013 13:31:20 -0700 |
parents | b03f083c3a29 |
children | d29e2f337b00 |
line wrap: on
line source
<section> <a href="/">Home</a> {{#ifneq action to='read'}}<a href="{{url_read}}">Read</a>{{/ifneq}} {{#ifneq action to='edit'}}<a href="{{url_edit}}">Edit</a>{{/ifneq}} {{#ifneq action to='history'}}<a href="{{url_hist}}">History</a>{{/ifneq}} <form id="search" class="form-search"> <input type="text" name="q" class="input-medium search-query" placeholder="Search..."> <button type="submit" class="btn btn-small">Search</button> </form> {{#if username}} <a href="{{url_profile}}">{{username}}</a> <a href="{{url_logout}}">Logout</a> {{else}} <a href="{{url_login}}">Login</a> {{/if}} </section>