view src/ltpdarepo/templates/queries/view.html @ 78:8cf9fc08d43d

Rework named query support.
author Daniele Nicolodi <daniele@grinta.net>
date Sun, 21 Aug 2011 14:41:20 +0200
parents
children cd4a15072c97
line wrap: on
line source

{% extends "layout.html" %}
{% block title %}{{ query.title }}{% endblock %}
{% block body %}
<h2>Query &laquo;{{ query.title }}&raquo;</h2>
<p class="field"><span class="label">Database:</span> <tt>{{ query.db }}</tt></p>
<p class="field"><span class="label">Criteria:</span> <tt>{{ query.query }}</tt></p>
<ul class="actions">
  <li><a href="{{ url_for('manage.queries.edit', id=query.id) }}">Edit</a></li>
  <li><a href="{{ url_for('manage.queries.drop', id=query.id) }}">Drop</a></li>
</ul>
{% endblock %}