Mercurial > hg > toolbox
view toolbox/templates/main.html @ 0:b0942f44413f
import from git://github.com/mozilla/toolbox.git
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 11 May 2014 09:15:35 -0700 |
parents | |
children |
line wrap: on
line source
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{{title}}</title> <link rel="icon" href="{{link('img/favicon.ico')}}" /> {{for sheet in css}} <link href="{{link(sheet)}}" rel="stylesheet" type="text/css" /> {{endfor}} {{for sheet in less}} <link href="{{link(sheet)}}" rel="stylesheet/less" type="text/css" /> {{endfor}} {{for script in js}} <script src="{{link(script)}}"></script> {{endfor}} </head> <body> <!-- navigation menu --> <nav> <ul> <li><a href="{{link()}}" title="{{site_name}}">{{site_name}}</a></li> {{if hasAbout}} <li><a href="{{link('about')}}" title="about:{{site_name}}">about</a></li> {{endif}} <li><a href="{{link('new')}}" title="add a {{item_name}}">new</a></li> {{for field in fields}} <li> <a class="by-field" href="{{link(field)}}" title="{{item_plural}} by {{field}}">{{field}}</a> </li> {{endfor}} </ul> </nav> <div id="container"> <!-- text search form --> <form id="search" action="./"> <input id="search-text" type="text" name="q" value="{{request.GET.get('q', '')}}"/> <input id="search-submit" type="submit" title="search" value=""/> </form> <div id="content"> {{content | html}} </div> </div> </body> </html>