mirror of https://github.com/django/django.git
Fixed #33994 -- Corrected position of extrastyle and extrahead blocks in admin base template.
This commit is contained in:
parent
cd11664066
commit
a69b0e9cfe
|
@ -12,15 +12,15 @@
|
||||||
<link rel="stylesheet" href="{% static "admin/css/nav_sidebar.css" %}">
|
<link rel="stylesheet" href="{% static "admin/css/nav_sidebar.css" %}">
|
||||||
<script src="{% static 'admin/js/nav_sidebar.js' %}" defer></script>
|
<script src="{% static 'admin/js/nav_sidebar.js' %}" defer></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% block extrastyle %}{% endblock %}
|
|
||||||
{% if LANGUAGE_BIDI %}<link rel="stylesheet" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}">{% endif %}
|
{% if LANGUAGE_BIDI %}<link rel="stylesheet" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}">{% endif %}
|
||||||
{% block extrahead %}{% endblock %}
|
|
||||||
{% block responsive %}
|
{% block responsive %}
|
||||||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||||
<link rel="stylesheet" href="{% static "admin/css/responsive.css" %}">
|
<link rel="stylesheet" href="{% static "admin/css/responsive.css" %}">
|
||||||
{% if LANGUAGE_BIDI %}<link rel="stylesheet" href="{% static "admin/css/responsive_rtl.css" %}">{% endif %}
|
{% if LANGUAGE_BIDI %}<link rel="stylesheet" href="{% static "admin/css/responsive_rtl.css" %}">{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE">{% endblock %}
|
{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE">{% endblock %}
|
||||||
|
{% block extrastyle %}{% endblock %}
|
||||||
|
{% block extrahead %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"
|
<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"
|
||||||
|
|
Loading…
Reference in New Issue