2016-09-14 07:19:27 +00:00
|
|
|
{% load i18n %}
|
2016-08-09 06:42:21 +00:00
|
|
|
{% load static %}
|
|
|
|
<!-- Mainly scripts -->
|
|
|
|
<script src="{% static "js/plugins/metisMenu/jquery.metisMenu.js" %}"></script>
|
|
|
|
|
|
|
|
<!-- Custom and plugin javascript -->
|
2016-09-06 13:03:51 +00:00
|
|
|
<script src="{% static "js/plugins/toastr/toastr.min.js" %}"></script>
|
2016-08-09 06:42:21 +00:00
|
|
|
<script src="{% static "js/inspinia.js" %}"></script>
|
2022-06-25 14:14:12 +00:00
|
|
|
<script src="{% static "js/jumpserver.js" %}?v=9"></script>
|
2019-12-05 07:09:25 +00:00
|
|
|
<script src="{% static 'js/plugins/select2/select2.full.min.js' %}"></script>
|
|
|
|
<script src="{% static 'js/plugins/select2/i18n/zh-CN.js' %}"></script>
|
2016-08-09 06:42:21 +00:00
|
|
|
<script>
|
2019-10-21 07:15:47 +00:00
|
|
|
activeNav("{{ FORCE_SCRIPT_NAME }}");
|
2016-09-30 12:50:40 +00:00
|
|
|
$(document).ready(function(){
|
|
|
|
setAjaxCSRFToken();
|
|
|
|
$('textarea').attr('rows', 5);
|
|
|
|
if ($('.tooltip')[0]) {
|
|
|
|
$('.tooltip').tooltip();
|
|
|
|
}
|
2020-01-06 10:21:05 +00:00
|
|
|
$.fn.select2.defaults.set('language', getUserLang())
|
2016-09-30 12:50:40 +00:00
|
|
|
});
|
2016-09-06 08:40:44 +00:00
|
|
|
</script>
|