summaryrefslogtreecommitdiff
path: root/lib/grappelli/templates/admin_doc/model_detail.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
commitefb623af0bcb47d510501c282e1326b11343a29c (patch)
tree3a35fb19f5eba3b219c65277a5fb712cbe9604ac /lib/grappelli/templates/admin_doc/model_detail.html
parent0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff)
site reorg
Diffstat (limited to 'lib/grappelli/templates/admin_doc/model_detail.html')
-rw-r--r--lib/grappelli/templates/admin_doc/model_detail.html51
1 files changed, 0 insertions, 51 deletions
diff --git a/lib/grappelli/templates/admin_doc/model_detail.html b/lib/grappelli/templates/admin_doc/model_detail.html
deleted file mode 100644
index 85593f0..0000000
--- a/lib/grappelli/templates/admin_doc/model_detail.html
+++ /dev/null
@@ -1,51 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load adminmedia %}
-{% load i18n %}
-{% block javascripts %}
- {{ block.super }}
- <script type="text/javascript">
- (function($) {
- $(document).ready(function(){
- $('.rte .module').each(function(){
- var childWidth = $('.rte .module').children("table").outerWidth();
- $('.rte .module').css("width", childWidth);
- });
- });
- })(django.jQuery);
- </script>
-{% endblock %}
-{% block bodyclass %}documentation{% endblock %}
-{% block content-class %}content-grid{% endblock %}
-{% block breadcrumbs %}<div id="breadcrumbs"><a href="../../../">Home</a> &rsaquo; <a href="../../">Documentation</a> &rsaquo; <a href="../">Models</a> &rsaquo; {{ name }}</div>{% endblock %}
-
-{% block title %}Model: {{ name }}{% endblock %}
-
-{% block content %}
- <h1>{{ summary }}</h1>
- <div class="container-grid rte">
- {% if description %}
- <p>{% filter linebreaksbr %}{% trans description %}{% endfilter %}</p>
- {% endif %}
- <div class="module model">
- <table class="model" style="width: auto">
- <thead>
- <tr>
- <th>Field</th>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- {% for field in fields|dictsort:"name" %}
- <tr>
- <td class="nowrap focus">{{ field.name }}</td>
- <td class="nowrap">{{ field.data_type }}</td>
- <td>{{ field.verbose }}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}</td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
- <a href="../" class="back">&lsaquo; Back to Models Documentation</a>
- </div>
-{% endblock %}