PageRenderTime 411ms CodeModel.GetById 156ms app.highlight 1ms RepoModel.GetById 190ms app.codeStats 0ms

/django/contrib/admindocs/templates/admin_doc/model_index.html

https://code.google.com/p/mango-py/
HTML | 44 lines | 36 code | 8 blank | 0 comment | 0 complexity | 04467d3daff4f78703031cc0bd30ad8e MD5 | raw file
 1{% extends "admin/base_site.html" %}
 2{% load i18n %}
 3{% block coltype %}colSM{% endblock %}
 4{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> &rsaquo; <a href="../">Documentation</a> &rsaquo; Models</div>{% endblock %}
 5
 6{% block title %}Models{% endblock %}
 7
 8{% block content %}
 9
10<h1>Model documentation</h1>
11
12{% regroup models by app_label as grouped_models %}
13
14<div id="content-main">
15{% for group in grouped_models %}
16<div class="module">
17<h2 id="app-{{ group.grouper }}">{{ group.grouper|capfirst }}</h2>
18
19<table class="xfull">
20{% for model in group.list %}
21<tr>
22<th><a href="{{ model.app_label }}.{{ model.object_name.lower }}/">{{ model.object_name }}</a></th>
23</tr>
24{% endfor %}
25</table>
26</div>
27{% endfor %}
28
29</div>
30{% endblock %}
31
32{% block sidebar %}
33<div id="content-related" class="sidebar">
34<div class="module">
35<h2>Model groups</h2>
36<ul>
37{% regroup models by app_label as grouped_models %}
38{% for group in grouped_models %}
39    <li><a href="#app-{{ group.grouper }}">{{ group.grouper|capfirst }}</a></li>
40{% endfor %}
41</ul>
42</div>
43</div>
44{% endblock %}