mirror of https://github.com/jumpserver/jumpserver
修改移除bug
parent
8b50e5252f
commit
d84ff97019
|
@ -0,0 +1,11 @@
|
|||
pexpect==3.3
|
||||
sphinx-me==0.3
|
||||
django==1.6
|
||||
python-ldap==2.4.18
|
||||
paramiko==1.15.1
|
||||
pycrypto==2.6.1
|
||||
ecdsa>=0.11
|
||||
MySQL-python==1.2.5
|
||||
readline
|
||||
django-uuidfield
|
||||
psutil
|
|
@ -128,15 +128,16 @@
|
|||
var div_username = ' 鐢ㄦ埛鍚: '+'<span class="text-info">'+username+'' + '</span>';
|
||||
var div_ip = ' 涓绘満: '+'<span class="text-info">' + ip + '</span>';
|
||||
var div_time = ' 寮濮嬫椂闂: ' + '<span class="text-info">'+start_time +'</span>' + ' 缁撴潫鏃堕棿: ' +'<span class="text-info">' + end_time + '</span'
|
||||
var title = 'JumpServer鍛戒护缁熻 '+ div_username + div_ip + div_time
|
||||
var title = 'JumpServer鍛戒护缁熻 '+ div_username + div_ip + div_time;
|
||||
$.ajax({url:url,success:function(data){
|
||||
BootstrapDialog.show({title: title, message:data});
|
||||
var tag = $('<div style="height: 500px;overflow: auto;background-color: rgba(0, 0, 0, 0);"></div>').html(data.replace(/\n/g,"<b r />"));
|
||||
BootstrapDialog.show({title: title, message:tag[0]});
|
||||
}});
|
||||
return false;
|
||||
})
|
||||
});
|
||||
globalConfig = {
|
||||
SOCKET_HOST: "{{ web_socket_host }}"
|
||||
}
|
||||
};
|
||||
|
||||
function log_search(){
|
||||
$.ajax({
|
||||
|
|
|
@ -136,11 +136,11 @@
|
|||
BootstrapDialog.show({message:function(){
|
||||
var option, exsit_message;
|
||||
var escapeString = function (html){
|
||||
var elem = document.createElement('div')
|
||||
var txt = document.createTextNode(html)
|
||||
elem.appendChild(txt)
|
||||
var elem = document.createElement('div');
|
||||
var txt = document.createTextNode(html);
|
||||
elem.appendChild(txt);
|
||||
return elem.innerHTML;
|
||||
}
|
||||
};
|
||||
var tag = $('<div id="log" style="height: 500px;overflow: auto;background-color: rgba(0, 0, 0, 0);"></div>');
|
||||
//鍛婅瘔鏈嶅姟鍣ㄧ鏈夌敤鎴风櫥褰
|
||||
socket.emit('login', {userid:message.id, filename:message.filename});
|
||||
|
|
Loading鈥
Reference in New Issue