diff --git a/jlog/views.py b/jlog/views.py index 0d49269b6..df726c1a7 100644 --- a/jlog/views.py +++ b/jlog/views.py @@ -9,7 +9,6 @@ from django.http import HttpResponseNotFound from jlog.log_api import renderTemplate from jlog.models import Log, ExecLog, FileLog -from jumpserver.settings import WEB_SOCKET_URL @require_role('admin') @@ -66,8 +65,6 @@ def log_list(request, offset): contact_list, p, contacts, page_range, current_page, show_first, show_end = pages(posts, request) - web_monitor_url = '%s/monitor' % WEB_SOCKET_URL - web_kill_url = '/kill' session_id = request.session.session_key return render_to_response('jlog/log_%s.html' % offset, locals(), context_instance=RequestContext(request)) diff --git a/templates/foot_script.html b/templates/foot_script.html index 7d0890e20..eb653ad8c 100644 --- a/templates/foot_script.html +++ b/templates/foot_script.html @@ -36,6 +36,5 @@ } else { $("#"+s1).addClass('active'); $('#'+s1+' .'+s2).addClass('active'); - console.log(s1) } diff --git a/templates/jlog/log_online.html b/templates/jlog/log_online.html index c17c92129..3e8898b79 100644 --- a/templates/jlog/log_online.html +++ b/templates/jlog/log_online.html @@ -128,17 +128,17 @@ -{##}