comparison static/tpl/nav.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/nav.html@30ae685b86df
children 130eccd396d8
comparison
equal deleted inserted replaced
59:59ecc742ab8e 60:8250c977bc50
1 <nav class="row">
2 <div class="span12">
3 {{#ifneq action to='read'}}<a href="{{url_read}}">Read</a>{{/ifneq}}
4 {{#ifneq action to='edit'}}<a href="{{url_edit}}">Edit</a>{{/ifneq}}
5 {{#ifneq action to='history'}}<a href="{{url_hist}}">History</a>{{/ifneq}}
6 <form id="search" class="search">
7 <input type="text" name="q" class="input-medium search-query" placeholder="Search...">
8 <button type="submit" class="btn">Search</button>
9 </form>
10 {{#if username}}
11 <a href="{{url_profile}}">{{username}}</a>
12 <a href="{{url_logout}}">Logout</a>
13 {{else}}
14 <a href="{{url_login}}">Login</a>
15 {{/if}}
16 </div>
17 </nav>