mirror of https://github.com/jumpserver/jumpserver
修改js位置
parent
795183c7ab
commit
7adbf52aeb
|
@ -23,7 +23,6 @@ def skin_config(request):
|
|||
return render_to_response('skin_config.html')
|
||||
|
||||
|
||||
<<<<<<< HEAD
|
||||
def jasset_group_add(name, comment, type):
|
||||
if BisGroup.objects.filter(name=name):
|
||||
emg = u'璇ヤ笟鍔$粍宸插瓨鍦!'
|
||||
|
@ -64,7 +63,8 @@ def jasset_host_edit(j_ip, j_idc, j_port, j_type, j_group, j_active, j_comment):
|
|||
a.save()
|
||||
a.bis_group = groups
|
||||
a.save()
|
||||
=======
|
||||
|
||||
|
||||
def login(request):
|
||||
"""鐧诲綍鐣岄潰"""
|
||||
if request.session.get('username'):
|
||||
|
@ -97,5 +97,3 @@ def logout(request):
|
|||
request.session.delete()
|
||||
return HttpResponseRedirect('/login/')
|
||||
|
||||
|
||||
>>>>>>> guanghongwei
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<link rel="shortcut icon" href="/static/img/facio.ico" type="image/x-icon">
|
||||
{% include 'link_css.html' %}
|
||||
{% include 'head_script.html' %}
|
||||
|
||||
|
||||
</head>
|
||||
|
@ -27,7 +28,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{# <!--{% include 'script.html' %}-->#}
|
||||
</body>
|
||||
{% include 'script.html' %}
|
||||
{% include 'foot_script.html' %}
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<!-- Mainly scripts -->
|
||||
|
||||
<script src="/static/js/plugins/metisMenu/jquery.metisMenu.js"></script>
|
||||
<script src="/static/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
|
||||
<script src="/static/js/bootstrap-dialog.js"></script>
|
||||
<script src="/static/js/mindmup-editabletable.js"></script>
|
||||
|
||||
<!-- Custom and plugin javascript -->
|
||||
<script src="/static/js/inspinia.js"></script>
|
||||
<script src="/static/js/plugins/pace/pace.min.js"></script>
|
||||
|
||||
<!-- iCheck box -->
|
||||
{#<script src="/static/js/plugins/iCheck/icheck.min.js"></script>#}
|
||||
|
||||
<!-- Peity -->
|
||||
<script src="/static/js/plugins/peity/jquery.peity.min.js"></script>
|
||||
|
||||
<!-- Peity -->
|
||||
<script src="/static/js/demo/peity-demo.js"></script>
|
||||
|
||||
<!-- active menu -->
|
||||
<script>
|
||||
var str = document.location.pathname.split("/")[1];
|
||||
var str1 = document.location.pathname.split("/")[2];
|
||||
$("#"+str).addClass('active');
|
||||
$("#"+str1).addClass('active');
|
||||
</script>
|
|
@ -1,25 +1,6 @@
|
|||
<!-- Mainly scripts -->
|
||||
<script src="/static/js/jquery-2.1.1.js"></script>
|
||||
<script src="/static/js/bootstrap.min.js"></script>
|
||||
<script src="/static/js/plugins/metisMenu/jquery.metisMenu.js"></script>
|
||||
<script src="/static/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
|
||||
<script src="/static/js/bootstrap-dialog.js"></script>
|
||||
<script src="/static/js/mindmup-editabletable.js"></script>
|
||||
<script src="/static/js/base.js"></script>
|
||||
|
||||
<!-- Custom and plugin javascript -->
|
||||
<script src="/static/js/inspinia.js"></script>
|
||||
<script src="/static/js/plugins/pace/pace.min.js"></script>
|
||||
|
||||
<!-- iCheck box -->
|
||||
<script src="/static/js/plugins/iCheck/icheck.min.js"></script>
|
||||
|
||||
<!-- Peity -->
|
||||
<script src="/static/js/plugins/peity/jquery.peity.min.js"></script>
|
||||
|
||||
<!-- Peity -->
|
||||
<script src="/static/js/demo/peity-demo.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('.i-checks').iCheck({
|
||||
|
@ -71,11 +52,3 @@
|
|||
<!-- validator js -->
|
||||
<script src="/static/js/validator/jquery.validator.js"></script>
|
||||
<script src="/static/js/validator/zh_CN.js"></script>
|
||||
|
||||
<!-- active menu -->
|
||||
<script>
|
||||
var str = document.location.pathname.split("/")[1];
|
||||
var str1 = document.location.pathname.split("/")[2];
|
||||
$("#"+str).addClass('active');
|
||||
$("#"+str1).addClass('active');
|
||||
</script>
|
Loading鈥
Reference in New Issue