{% load admin_static bootstrapped_goodies_tags %} {% load i18n %} {% load menus %} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}> <head> <title>{% block title %}{% endblock %}</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> {% block extrastyle %}{% endblock %} <!-- Le styles, placed after extrastyle to correctly override default styling --> <link href="{% static "bootstrap/css/bootstrap.min.css" %}" rel="stylesheet"/> <style type="text/css"> body { padding: 10px 20px 40px; } </style> <link href="{% static "bootstrap/css/bootstrap-theme.min.css" %}" rel="stylesheet"/> <link rel="stylesheet" type="text/css" href="{% static "admin/css/overrides.css" %}" /> <!-- <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "admin/css/base.css" %}{% endblock %}" /> --> <script type="text/javascript"> //<![CDATA[ window.__admin_media_prefix__ = "{% filter escapejs %}{% static "admin/" %}{% endfilter %}"; //]]> </script> {% block default_javascript %} {# We should be able to turn this off, to avoid conflict in integrated pages like petaho's dashboards #} <script src="{% static "admin/js/jquery-1.9.1.min.js" %}"></script> <script src="{% static "admin/js/jquery-migrate-1.2.1.min.js" %}"></script> <script src="{% static "bootstrap/js/bootstrap.min.js" %}"></script> {% endblock %} {% block extrahead %}{% endblock %} {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %} <script type="text/javascript"> //<![CDATA[ (function($) { $(document).ready(function() { $('input[type="submit"]').addClass('btn'); $('[title]').tooltip(); }); }(jQuery)); //]]> </script> </head> <body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"> <!-- Container --> <div class="container-fluid"> {% if not is_popup %} {% block container-top %}{% endblock %} <!-- Header --> <div id="navbar-title-tools" class="navbar navbar-static-top"> <div class="navbar-inner"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> {% block branding %}{% endblock %} </div> <div class="navbar-collapse collapse navbar-right"> <ul class="nav navbar-nav"> {% if user.is_active and user.is_staff %} <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans 'Welcome,' %} <strong>{% filter force_escape %}{% firstof user.get_short_name user.get_username user.first_name user.username %}{% endfilter %}</strong> <span class="caret"></span></a> <ul class="dropdown-menu"> {% if user.has_usable_password %} <li><a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a></li> {% endif %} <li><a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a></li> </ul> </li> {% block languages %} <li class="divider-vertical"></li> {% language_selector %} {% endblock languages %} {% block logs %} <li class="dropdown" id="recent-actions-module"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans 'Recent Actions' %} <b class="caret"></b></a> {% load log %} {% get_admin_log 10 as admin_log for_user user %} <ul class="dropdown-menu"> {% for entry in admin_log %} <li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}"> <a href="{% if entry.is_deletion or not entry.get_admin_url %}#{% else %}{{ entry.get_admin_url }}{% endif %}"> <i class="icon-{% if entry.is_addition %}plus{% endif %}{% if entry.is_change %}edit{% endif %}{% if entry.is_deletion %}remove{% endif %}"></i> {{ entry.object_repr }} {% if entry.content_type %} <span class="mini quiet">({% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %})</span> {% else %} <span class="mini quiet">({% trans 'Unknown content' %})</span> {% endif %} </a> </li> {% empty %} <li class="disabled"><a href="#">{% trans 'None available' %}</a></li> {% endfor %} </ul> </li> {% endblock %} {% block userlinks %} {% url 'django-admindocs-docroot' as docsroot %} {% if docsroot %} <li class="divider-vertical"></li> <li><a href="{{ docsroot }}">{% trans 'Documentation' %}</a></li> {% endif %} {% endblock %} {% endif %} {% block nav-global %}{% endblock %} </ul> </div><!--/.nav-collapse --> </div> </div> </div> <!-- END Header --> {% block menu-principal %} <div role="navigation" class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle collapsed" type="button"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="navbar-collapse collapse"> {% show_menu "main_menu" %} </div><!--/.nav-collapse --> </div><!--/.container-fluid --> </div> {% endblock %} {% endif %} <!-- Content --> {% comment %} <div id="content" class="{% block coltype %}colM{% endblock %}"> {% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %} {% block navbar %} <div id="navbar-object-tools" class="nav"> {% block object-tools %} <ul class="object-tools pull-left nav nav-pills"> {% block object-tools-items %}{% endblock %} </ul> {% endblock %} </div> {% endblock navbar %} {% block messages %} {% if messages %} <div class="row"> <div class="col-sm-12"> {% for message in messages %} <div class="alert alert-info {% if message.tags %}{{ message.tags }}{% endif %}"> {{ message }} </div> {% endfor %} </div> </div> {% endif %} {% endblock messages %} {% block content %}{{ content }}{% endblock %} {% block sidebar %}{% endblock %} </div> {% endcomment %} <!-- END Content --> {% block footer %}<footer id="footer"></footer>{% endblock %} </div> <!-- END Container --> </body> </html>