PageRenderTime 29ms CodeModel.GetById 26ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://code.google.com/p/mango-py/
HTML | 43 lines | 34 code | 9 blank | 0 comment | 0 complexity | d6f4be228c189acef7a55f26faddf716 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; Views</div>{% endblock %}
 5{% block title %}Views{% endblock %}
 6
 7{% block content %}
 8
 9<h1>View documentation</h1>
10
11{% regroup views|dictsort:"site_id" by site as views_by_site %}
12
13<div id="content-related" class="sidebar">
14<div class="module">
15<h2>Jump to site</h2>
16<ul>
17    {% for site_views in views_by_site %}
18    <li><a href="#site{{ site_views.grouper.id }}">{{ site_views.grouper.name }}</a></li>
19    {% endfor %}
20</ul>
21</div>
22</div>
23
24<div id="content-main">
25
26{% for site_views in views_by_site %}
27<div class="module">
28<h2 id="site{{ site_views.grouper.id }}">Views by URL on {{ site_views.grouper.name }}</h2>
29
30{% for view in site_views.list|dictsort:"url" %}
31{% ifchanged %}
32<h3><a href="{{ view.module }}.{{ view.name }}/">{{ view.url }}</a></h3>
33<p class="small quiet">View function: {{ view.module }}.{{ view.name }}</p>
34<p>{{ view.title }}</p>
35<hr />
36{% endifchanged %}
37{% endfor %}
38</div>
39{% endfor %}
40</div>
41{% endblock %}
42
43