mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
864 B
24 lines
864 B
{% load i18n %}
|
|
{% load static %}
|
|
<!-- Mainly scripts -->
|
|
<script src="{% static "js/plugins/metisMenu/jquery.metisMenu.js" %}"></script>
|
|
|
|
<!-- Custom and plugin javascript -->
|
|
<script src="{% static "js/plugins/toastr/toastr.min.js" %}"></script>
|
|
<script src="{% static "js/inspinia.js" %}"></script>
|
|
<script type="text/javascript" src="{% url 'javascript-catalog' %}"></script>
|
|
<script src="{% static "js/jumpserver.js" %}?v=8"></script>
|
|
<script src="{% static 'js/plugins/select2/select2.full.min.js' %}"></script>
|
|
<script src="{% static 'js/plugins/select2/i18n/zh-CN.js' %}"></script>
|
|
<script>
|
|
activeNav("{{ FORCE_SCRIPT_NAME }}");
|
|
$(document).ready(function(){
|
|
setAjaxCSRFToken();
|
|
$('textarea').attr('rows', 5);
|
|
if ($('.tooltip')[0]) {
|
|
$('.tooltip').tooltip();
|
|
}
|
|
$.fn.select2.defaults.set('language', getUserLang())
|
|
});
|
|
</script>
|