Mercurial > hg > ltpdarepo
view src/ltpdarepo/templates/database.html @ 53:ea3867a3c634
Implement seearch of 'tsdata' objects by time spanned by contained data.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Sat, 13 Aug 2011 20:27:24 +0200 |
parents | ceb5df800c51 |
children | 018599af92f5 |
line wrap: on
line source
{% extends "layout.html" %} {% block title %}{{ database.id }}{% endblock %} {% block body %} <h2>Database «{{ database.id }}»</h2> <p class="discrete">{{ database.description|default('—'|safe, true) }}</p> <ul class="actions"> <li><a href="{{ url_for('browse.browse', database=database.id) }}">Browse</a></li> <li><a href="{{ url_for('browse.activity', database=database.id) }}">Show activity</a></li> <li><a href="{{ url_for('browse.query', database=database.id) }}">Advanced search</a></li> <li><a href="{{ url_for('browse.timeseries', database=database.id) }}">Timeseries search</a></li> </ul> <h2>Search database «{{ database.id }}»</h2> <p class="discrete">Search objects by name</p> <div class="wrapper"> <div class="search wrapper"> <form method="GET" action="{{ url_for('browse.search', database=database.id) }}"> <div class="left"><input type="text" name="q"></input></div> <div class="right"><input type="submit" value="»"></input></div> </form> </div> </div> {% if queries %} <p class="discrete">Saved queries</p> <ol> {% for query in queries %} <li><a href="{{ url_for('browse.query', database=database.id, name=query) }}">{{ query }}</a></li> {% endfor %} </ol> {% endif %} {% endblock %}