bugfix(upload web) When download file, static file will unreachable. (#206)

* Update install.py

修改centos7支持

* Update install.py

* Support resize web terminal size

Support resize web terminal size.

Change new windows to a new tab.
May be more hommization

* Static bug (#204)

* 紧急修复下载文件后静态文件404问题

* 紧急修复监控白屏问题

* bugfix(upload web) When download file, static file will unreachable.

Didn't change dir

fixed
This commit is contained in:
ibuler
2016-04-20 15:20:11 +08:00
parent 9be13cf08f
commit cb58012a82
5 changed files with 24 additions and 16 deletions

View File

@@ -245,7 +245,7 @@
});
window.open(new_url+data, '_blank', 'toolbar=yes, location=yes, scrollbars=yes, resizable=yes, copyhistory=yes, width=628, height=400')
*/
window.open(new_url+data, '', 'width=628px, height=380px');
window.open(new_url+data, "_blank");
} else if (dataArray.length == 1 && data != 'error'){
/*layer.open({
type: 2,
@@ -256,8 +256,7 @@
content: new_url+data
});
*/
window.open(new_url+data, '_blank', 'toolbar=yes, location=yes, copyhistory=yes, scrollbars=yes, width=628, height=410');
window.open(new_url+data, '_blank');
}
else {
aUrl = '';
@@ -293,7 +292,7 @@
content: new_url
});
*/
window.open(new_url, '_blank', 'toolbar=yes, location=yes, copyhistory=yes, scrollbars=yes, width=628, height=380')
window.open(new_url, '_blank')
} else {
/*
@@ -306,7 +305,7 @@
content: new_url
});
*/
window.open(new_url, '_blank', 'toolbar=yes, location=yes, copyhistory=yes, scrollbars=yes, width=628, height=410');
window.open(new_url, '_blank');
}
return false

View File

@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title>Jumpserver Web Terminal: {{ hostname }}</title>
<title>{{ hostname }}</title>
<style>
body {