| 1 | {% extends "admin/base.html" %} |
| 2 | {% load i18n admin_tools_menu_tags %} |
| 3 | |
| 4 | {% block title %}{{ title }} | {% trans 'Django site admin' %}{% endblock %} |
| 5 | |
| 6 | {% block extrastyle %} |
| 7 | {{ block.super }} |
| 8 | {% if user.is_active and user.is_staff %} |
| 9 | {% if not is_popup %} |
| 10 | {% admin_tools_render_menu_css %} |
| 11 | {% endif %} |
| 12 | {% endif %} |
| 13 | <style> |
| 14 | .selector { |
| 15 | width: 840px!important; |
| 16 | } |
| 17 | |
| 18 | .selector select { |
| 19 | width: 400px!important; |
| 20 | } |
| 21 | |
| 22 | .selector-available, .selector-chosen { |
| 23 | width: 400px!important; |
| 24 | } |
| 25 | </style> |
| 26 | {% endblock %} |
| 27 | |
| 28 | {% block branding %} |
| 29 | <h1 id="site-name">{% trans 'Django administration' %}</h1> |
| 30 | {% endblock %} |
| 31 | |
| 32 | {% block nav-global %} |
| 33 | {% if user.is_active and user.is_staff %} |
| 34 | {% if not is_popup %} |
| 35 | {% admin_tools_render_menu %} |
| 36 | {% endif %} |
| 37 | {% endif %} |
| 38 | {% endblock %} |