diff options
author | luxagraf <sng@luxagraf.net> | 2012-09-22 22:27:04 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2012-09-22 22:27:04 -0400 |
commit | efb623af0bcb47d510501c282e1326b11343a29c (patch) | |
tree | 3a35fb19f5eba3b219c65277a5fb712cbe9604ac /lib/grappelli/templates/admin/_grappelli/index.html | |
parent | 0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff) |
site reorg
Diffstat (limited to 'lib/grappelli/templates/admin/_grappelli/index.html')
-rw-r--r-- | lib/grappelli/templates/admin/_grappelli/index.html | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/lib/grappelli/templates/admin/_grappelli/index.html b/lib/grappelli/templates/admin/_grappelli/index.html deleted file mode 100644 index 8dedd3d..0000000 --- a/lib/grappelli/templates/admin/_grappelli/index.html +++ /dev/null @@ -1,61 +0,0 @@ -{% extends "admin/_grappelli/base_site.html" %} - -<!-- LOADING --> -{% load i18n adminmedia grp_tags %} - -<!-- STYLES & SCRIPTS --> -{% block javascripts %} - {{ block.super }} -{% endblock %} - -<!-- COLTYPE/BODYCLASS --> -{% block bodyclass %}dashboard{% endblock %} -{% block content-class %}content-grid{% endblock %} - -<!-- BREADCRUMBS --> -{% block breadcrumbs %}<div id="breadcrumbs">{% trans "Home" %}</div>{% endblock %} - -<!-- CONTENT --> -{% block content %} -<div class="container-grid"> - <div class="column span-12"> - {% if app_list %} - {% for app in app_list %} - <div class="module" id="app_{{ app.name|lower }}"> - <h2><a href="{{ app.app_url }}" class="section">{% trans app.name %}</a></h2> - {% for model in app.models %} - <div class="row"> - {% if model.perms.change %}<a href="{{ model.admin_url }}">{{ model.name }}</a>{% else %}<span>{{ model.name }}</span>{% endif %} - <ul class="actions"> - <li class="add-link">{% if model.perms.add %}<a href="{{ model.admin_url }}add/">{% trans 'Add' %}</a>{% else %} {% endif %}</li> - <li class="change-link"> {% if model.perms.change %}<a href="{{ model.admin_url }}">{% trans 'Change' %}</a>{% else %} {% endif %}</li> - </ul> - </div> - {% endfor %} - </div> - {% endfor %} - {% else %} - <p>{% trans "You donĀ“t have permission to edit anything." %}</p> - {% endif %} - </div> - <div class="column span-6 last"> - <div class="module actions" id="recent-actions-module"> - <h2>{% trans 'Recent Actions' %}</h2> - <div class="module"> - <h3>{% trans 'My Actions' %}</h3> - {% load log %} - {% get_admin_log 10 as admin_log for_user user %} - {% if not admin_log %} - <p>{% trans 'None available' %}</p> - {% else %} - <ul> - {% for entry in admin_log %} - <li class="{% if entry.is_addition %}add-link{% endif %}{% if entry.is_change %}change-link{% endif %}{% if entry.is_deletion %}delete-link{% endif %}">{% if not entry.is_deletion %}<a href="{{ entry.get_admin_url }}">{% endif %}{{ entry.object_repr }}{% if not entry.is_deletion %}</a>{% endif %}<br /><span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span></li> - {% endfor %} - </ul> - {% endif %} - </div> - </div> - </div> -</div> -{% endblock %} |