|
34 | 34 | <title>{% block title %}{{ SITE_NAME }}{% endblock %}</title> |
35 | 35 |
|
36 | 36 | <link rel="shortcut icon" href="{% static 'geonode/img/favicon.ico' %}" /> |
37 | | - <link href="{% static "lib/css/ol.css" %}" rel="stylesheet" /> |
38 | | - <script src="{% static "lib/js/ol.js" %}"></script> |
39 | 37 | <link rel="preload" as="style" href="{% static "geonode/css/font-awesome.min.css" %}" /> |
40 | 38 | <link rel="preload" as="font" href="{% static "geonode/fonts/lato_regular.ttf" %}" crossorigin="" /> |
41 | 39 | <link rel="preload" as="font" href="{% static "geonode/fonts/lato_bold.ttf" %}" crossorigin="" /> |
42 | 40 | <link rel="preload" as="font" href="{% static "geonode/fonts/lato_light.ttf" %}" crossorigin="" /> |
43 | 41 |
|
44 | 42 | {% block head %} |
45 | | - |
46 | | - {% if DEBUG_STATIC %} |
47 | | - <link href="{% static "lib/css/jquery.dataTables.css" %}" rel="stylesheet" /> |
48 | | - <link href="{% static "lib/css/select2.css" %}" rel="stylesheet"/> |
49 | | - <link href="{% static "lib/css/bootstrap.css" %}" rel="stylesheet"/> |
50 | | - <link href="{% static "lib/css/bootstrap-treeview.css" %}" rel="stylesheet"/> |
51 | | - <link href="{% static "lib/css/jquery-ui.theme.min.css" %}" rel="stylesheet"/> |
52 | | - <link href="{% static "lib/css/jquery-ui.structure.min.css" %}" rel="stylesheet"/> |
53 | | - <link href="{% static "lib/css/bootstrap-treeview.css" %}" rel="stylesheet"/> |
54 | | - {% else %} |
55 | | - <link href="{% static "lib/css/assets.min.css" %}" rel="stylesheet"/> |
56 | | - {% endif %} |
57 | 43 | <link href="{% static "geonode/css/base.css" %}" rel="stylesheet"/> |
58 | 44 | <link rel='stylesheet' id='cookie-law-info-css' href="{% static "geonode/css/cookie-law-info/cookie-law-info-public.css" %}" type='text/css' media='all' /> |
59 | 45 | <link rel='stylesheet' id='cookie-law-info-gdpr-css' href="{% static "geonode/css/cookie-law-info/cookie-law-info-gdpr.css" %}" type='text/css' media='all' /> |
|
77 | 63 | {% get_current_language_bidi as LANGUAGE_BIDI %} |
78 | 64 | {% if LANGUAGE_BIDI %} |
79 | 65 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-rtl/3.3.4/css/bootstrap-rtl.min.css"> |
80 | | - {% if DEBUG_STATIC %} |
81 | | - <link rel="stylesheet" type="text/css" href="{% static "geonode/css/geonode-rtl.css" %}"> |
82 | | - {% else %} |
83 | | - <link rel="stylesheet" type="text/css" href="{% static "geonode/css/geonode-rtl.min.css" %}"> |
84 | | - {% endif %} |
| 66 | + <link rel="stylesheet" type="text/css" href="{% static "geonode/css/geonode-rtl.min.css" %}"> |
85 | 67 | {% endif %} |
86 | 68 | </head> |
87 | 69 |
|
|
115 | 97 |
|
116 | 98 | {% block footer %}{% endblock footer %} |
117 | 99 |
|
118 | | - {% if DEBUG_STATIC %} |
119 | | - <script src="{% static "lib/js/jquery.js" %}"></script> |
120 | | - <script src="{% static "lib/js/jquery.dataTables.js" %}"></script> |
| 100 | + <script src="{% static "lib/js/jquery.min.js" %}"></script> |
| 101 | + <script src="{% static "lib/js/jquery-ui.min.js" %}"></script> |
| 102 | + <script src="{% static "lib/js/bootstrap.min.js" %}"></script> |
121 | 103 | <script src="{% static "lib/js/bootstrap-treeview.js" %}"></script> |
122 | | - <script src="{% static "lib/js/bootstrap-tokenfield.js" %}"></script> |
123 | | - <script src="{% static "lib/js/fastselect.standalone.js" %}"></script> |
124 | | - <script src="{% static "lib/js/select2.full.js" %}"></script> |
125 | | - <script src="{% static "lib/js/jquery.timeago.js" %}"></script> |
126 | | - <script src="{% static "lib/js/jq-ajax-progress.js" %}"></script> |
127 | | - <script src="{% static "lib/js/jquery-ui.js" %}"></script> |
128 | | - <script src="{% static "lib/js/jquery.raty.js" %}"></script> |
129 | | - <script src="{% static "lib/js/bootstrap.js" %}"></script> |
130 | | - <script src="{% static "lib/js/moment-with-locales.js" %}"></script> |
131 | | - <script src="{% static "lib/js/bootstrap-datetimepicker.js" %}"></script> |
132 | | - <script src="{% static "lib/js/json2.js" %}"></script> |
133 | | - <script src="{% static "lib/js/waypoints.js" %}"></script> |
134 | | - <script src="{% static "lib/js/underscore.js" %}"></script> |
135 | | - {% else %} |
136 | | - <script src="{% static "lib/js/assets.min.js" %}"></script> |
137 | | - {% endif %} |
| 104 | + |
| 105 | + |
138 | 106 | <script src="{% static "geonode/js/utils/utils.js" %}"></script> |
139 | 107 | <script src="{% static "geonode/js/base/base.js" %}"></script> |
140 | 108 | <script type="text/javascript" src="{% url "javascript-catalog" %}"></script> |
|
0 commit comments