mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-01 09:02:26 +00:00
41 lines
1.2 KiB
HTML
41 lines
1.2 KiB
HTML
|
{# Please keep this template in sync with django/contrib/admin one #}
|
||
|
{% extends "admin/base_site.html" %}
|
||
|
{% load i18n static %}
|
||
|
|
||
|
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />{% endblock %}
|
||
|
|
||
|
{% block coltype %}colMS{% endblock %}
|
||
|
|
||
|
{% block bodyclass %}{{ block.super }} dashboard{% endblock %}
|
||
|
|
||
|
{% block breadcrumbs %}{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<div id="content-main">
|
||
|
|
||
|
{% if app_list %}
|
||
|
{% for app in app_list %}
|
||
|
<div class="app-{{ app.app_label }} module">
|
||
|
<h3><a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">{{ app.name }}</a></h3>
|
||
|
<ul>
|
||
|
{% for model in app.models %}
|
||
|
<li class="model-{{ model.object_name|lower }}">
|
||
|
{% if model.admin_url %}
|
||
|
<a href="{{ model.admin_url }}">{{ model.name }}</a>
|
||
|
{% else %}
|
||
|
{{ model.name }}
|
||
|
{% endif %}
|
||
|
</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
{% else %}
|
||
|
<p>{% trans "You don't have permission to edit anything." %}</p>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block sidebar %}
|
||
|
{% endblock %}
|