view src/ltpdarepo/templates/index.html @ 171:f1cc11dc09b7

Reflect markup changes into doctests.
author Daniele Nicolodi <daniele@grinta.net>
date Sun, 06 Nov 2011 23:15:25 +0100
parents 8cf9fc08d43d
children
line wrap: on
line source

{% extends "layout.html" %}
{% block title %} LTPDA Repository {% endblock %}
{% block body %}
  <h2>Databases</h2>
  <p class="discrete">You have access to the following databases:</p>
  <ul class="databases">
  {% for db in databases %}
    <li><a href="{{ url_for('browse.database', database=db) }}">{{ db }}</a></li>
  {% endfor %}
  </ul>
  {% if 'admin' in g.identity.roles %}
  <h2>Manage</h2>
  <p class="discrete">LTPDA Repository management interface:</p>
  <ul class="actions">
    <li><a href="{{ url_for('manage.databases.index') }}">Databases</a></li>
    <li><a href="{{ url_for('manage.databases.create') }}">Create database</a></li>
    <li><a href="{{ url_for('manage.users.index') }}">Users</a></li>
    <li><a href="{{ url_for('manage.users.create') }}">New user</a></li>
    <li><a href="{{ url_for('manage.queries.index') }}">Named queries</a></li>
  </ul>
  {% endif %}
{% endblock %}