mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-23 13:11:04 -05:00
Working custom admin view.
This commit is contained in:
7
djrill/templates/djrill/base.html
Normal file
7
djrill/templates/djrill/base.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "admin/base_site.html" %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url admin:index %}">Home</a> › {{ title }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
18
djrill/templates/djrill/index.html
Normal file
18
djrill/templates/djrill/index.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{% extends "admin/index.html" %}
|
||||
|
||||
{% block sidebar %}
|
||||
{{ block.super }}
|
||||
|
||||
{% if custom_list %}
|
||||
<div class="module" style="float: left; width: 498px">
|
||||
<table style="width: 100%">
|
||||
<caption>Djrill</caption>
|
||||
<tbody>
|
||||
{% for path, name in custom_list %}
|
||||
<tr><td><a href="{{ path }}">{{ name }}</a></td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user