django-admin2/djadmin2/templates/admin2/bootstrap/index.html

29 lines
702 B
HTML
Raw Normal View History

{% extends "admin2/bootstrap/base.html" %}
2013-05-18 10:49:08 +00:00
{% block content %}
2013-05-19 11:03:25 +00:00
<h3>Site administration</h3>
{% for app, registry in apps.items %}
<table class="table">
<thead>
<tr>
<th>
<a href="TODO {{ app.get_index_url }}">{{ app|title }}</a>
</th>
</tr>
</thead>
<tbody>
{% for model_class, model_admin in registry.items %}
<tr>
<td>
<a href="{{ model_admin.get_index_url }}">
{{ model_admin.verbose_name_plural|title }}
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
2013-05-19 11:03:25 +00:00
{% endfor %}
2013-05-18 10:49:08 +00:00
{% endblock content %}