cremcrem2devdev2diademsformagenericinstru_searchlamnlivemultiproductionrelease/1.4.4securitysocialstoragetestvideo
|
Last change
on this file since 3815c51 was
3815c51,
checked in by olivier <>, 6 years ago
|
- the media objects ID regex is now in the models, following DRY (see urls)
- media objects IDs are now validated at model level
- experimenting new logo by Julia
- trying some new layout + cleaned css
- renamed "dictionaries" to "enumerations"
- new PublishingStatus? enumerations model (you simply need to syncdb)
|
-
Property mode set to
100644
|
|
File size:
721 bytes
|
| Line | |
|---|
| 1 | {% extends "base.html" %} |
|---|
| 2 | |
|---|
| 3 | {% block extra_style %} |
|---|
| 4 | <link rel="stylesheet" type="text/css" href="/css/admin.css" /> |
|---|
| 5 | {% endblock %} |
|---|
| 6 | |
|---|
| 7 | {% block content %} |
|---|
| 8 | <h3>Administration</h3> |
|---|
| 9 | <div class="tabs"> |
|---|
| 10 | <ul> |
|---|
| 11 | <li>Users</li> |
|---|
| 12 | |
|---|
| 13 | {% if enumerations %} |
|---|
| 14 | <li>Enumerations |
|---|
| 15 | <ul> |
|---|
| 16 | {% for enum in enumerations %} |
|---|
| 17 | {%ifequal enum.id enumeration_id %} |
|---|
| 18 | <li class="active">{{ enum.name|capfirst }}</li> |
|---|
| 19 | {%else%} |
|---|
| 20 | <li><a href="{% url telemeta-enumeration-edit enum.id %}"> |
|---|
| 21 | {{ enum.name|capfirst }}</a></li> |
|---|
| 22 | {%endifequal%} |
|---|
| 23 | {% endfor %} |
|---|
| 24 | </ul> |
|---|
| 25 | </li> |
|---|
| 26 | {% endif %} |
|---|
| 27 | </ul> |
|---|
| 28 | </div> |
|---|
| 29 | <div class="tabcontents"> |
|---|
| 30 | {% block tabcontents %} |
|---|
| 31 | {% endblock %} |
|---|
| 32 | </div> |
|---|
| 33 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.