File tree Expand file tree Collapse file tree 7 files changed +17
-28
lines changed Expand file tree Collapse file tree 7 files changed +17
-28
lines changed Original file line number Diff line number Diff line change 66< script type ="text/javascript " src ="{% url 'admin:jsi18n' %} "> </ script >
77{% endblock %}
88
9- {% block custom_style %}{{ block.super }}
9+ {% block extrastyle %}
10+ {{ block.super }}
1011< link rel ="stylesheet " type ="text/css " href ="{% static "admin /dist/css/app.css" %}">
11- < script type ="text/javascript " src ="{% url 'admin:jsi18n' %} "> </ script >
1212{% endblock %}
1313
14- {% block extrastyle %}{{ block.super }}< link rel ="stylesheet " type ="text/css " href ="{% static "admin /css/forms.css" %}"> {% endblock %}
1514{% block bodyclass %}{{ block.super }} {{ opts.app_label }}-{{ opts.model_name }} change-form{% endblock %}
1615{% if not is_popup %}
1716{% block breadcrumbs %}
@@ -105,7 +104,7 @@ <h4 class="box-title">
105104
106105{% endblock %}
107106
108- {% block custom_js %}
107+ {% block extrajs %}
109108< script >
110109 $ ( '[required]' ) . before ( '<span class="text-red" style="margin-left: -10px;">* </span>' ) ;
111110</ script >
Original file line number Diff line number Diff line change 1919 folder instead of downloading all of them to reduce the load. -->
2020 < link rel ="stylesheet " href ={% static "admin/dist/css/skins/_all-skins.min.css" %}>
2121
22- {% block custom_style %} {% endblock %}
22+ {% block extrastyle %} {% endblock %}
2323 <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
2424 <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
2525 <!--[if lt IE 9]>
@@ -452,7 +452,7 @@ <h3 class="control-sidebar-heading">Chat Settings</h3>
452452} )
453453</ script >
454454
455- {% block custom_js %}{% endblock %}
455+ {% block extrajs %}{% endblock %}
456456
457457</ body >
458458</ html >
Original file line number Diff line number Diff line change @@ -50,4 +50,4 @@ <h5><i class="icon fa fa-check"></i>{{ message|capfirst }}</h5>
5050reserved.
5151{% endblock %}
5252
53- {% block custom_js %} {% endblock %}
53+ {% block extrajs %} {% endblock %}
Original file line number Diff line number Diff line change 66{{ media }}
77{% endblock %}
88
9- {% block extrastyle %}{{ block.super }}< link rel ="stylesheet " type ="text/css " href ="{% static "admin /css/forms.css" %}"> {% endblock %}
10-
11- {% block custom_style %}
9+ {% block extrastyle %}
10+ {{ block.super }}
1211< link rel ="stylesheet " href ="{% static "admin /dist/css/app.css" %}">
1312{% endblock %}
13+
1414{% block coltype %}colM{% endblock %}
1515
1616{% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %}
@@ -124,7 +124,7 @@ <h4 class="box-title">
124124
125125{% endblock %}
126126
127- {% block custom_js %}
127+ {% block extrajs %}
128128< script src ="{% static "admin /plugins/datatables/jquery.dataTables.min.js" %}"> </ script >
129129< script src ="{% static "admin /plugins/datatables/dataTables.bootstrap.min.js" %}"> </ script >
130130< script >
Original file line number Diff line number Diff line change 33
44{% block extrastyle %}
55{{ block.super }}
6- < link rel ="stylesheet " type ="text/css " href ="{% static "admin /css/changelists.css" %}">
7- {% if cl.formset %}
8- < link rel ="stylesheet " type ="text/css " href ="{% static "admin /css/forms.css" %}">
9- {% endif %}
6+ < link rel ="stylesheet " href ="{% static "admin /plugins/datatables/dataTables.bootstrap.css" %}">
107{% if cl.formset or action_form %}
118< script type ="text/javascript " src ="{% url 'admin:jsi18n' %} "> </ script >
129{% endif %}
1815{% endif %}
1916{% endblock %}
2017
21- {% block custom_style %}
22- < link rel ="stylesheet " href ="{% static "admin /plugins/datatables/dataTables.bootstrap.css" %}">
23- {% if cl.formset or action_form %}
24- < script type ="text/javascript " src ="{% url 'admin:jsi18n' %} "> </ script >
25- {% endif %}
26- {% endblock %}
27-
2818{% block extrahead %}
2919{{ block.super }}
3020{{ media.js }}
@@ -111,7 +101,7 @@ <h4 class="box-title">
111101
112102{% endblock %}
113103
114- {% block custom_js %}
104+ {% block extrajs %}
115105< script src ="{% static "admin /plugins/datatables/jquery.dataTables.min.js" %}"> </ script >
116106< script src ="{% static "admin /plugins/datatables/dataTables.bootstrap.min.js" %}"> </ script >
117107
Original file line number Diff line number Diff line change 11{% extends "admin/base_site.html" %}
22{% load i18n static %}
33
4- {% block extrastyle %}{{ block.super }}< link rel ="stylesheet " type ="text/css " href ="{% static "admin /css/dashboard .css" %}"> {% endblock %}
4+ {% block extrastyle %}{{ block.super }}< link rel ="stylesheet " type ="text/css " href ="{% static "admin /dist/ css/app .css" %}"> {% endblock %}
55
66{% block coltype %}colMS{% endblock %}
77
Original file line number Diff line number Diff line change 11{% extends "admin/base_site.html" %}
22{% load i18n static %}
3- {% block extrastyle %}{{ block.super }}< link rel ="stylesheet " type ="text/css " href ="{% static "admin /css/forms.css" %}"> {% endblock %}
4- {% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}< a href ="{{ docsroot }} "> {% trans 'Documentation' %}</ a > / {% endif %} {% trans 'Change password' %} / < a href ="{% url 'admin:logout' %} "> {% trans 'Log out' %}</ a > {% endblock %}
5- {% block custom_style %}
3+ {% block extrastyle %}
4+ {{ block.super }}
65< link rel ="stylesheet " href ="{% static "admin /dist/css/app.css" %}">
76{% endblock %}
7+ {% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}< a href ="{{ docsroot }} "> {% trans 'Documentation' %}</ a > / {% endif %} {% trans 'Change password' %} / < a href ="{% url 'admin:logout' %} "> {% trans 'Log out' %}</ a > {% endblock %}
88
99{% block breadcrumbs %}
1010< ol class ="breadcrumb ">
@@ -113,7 +113,7 @@ <h4 class="box-title">
113113{% endblock %}
114114
115115
116- {% block custom_js %}
116+ {% block extrajs %}
117117< script >
118118 $ ( '[required]' ) . before ( '<span class="text-red" style="margin-left: -10px;">* </span>' ) ;
119119</ script >
You can’t perform that action at this time.
0 commit comments