mirror of https://github.com/jumpserver/jumpserver
				
				
				
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			786 B
		
	
	
	
		
			Python
		
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			786 B
		
	
	
	
		
			Python
		
	
	
{% 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 src="{% static "js/jumpserver.js" %}?v=9"></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>
 |