mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 18:19:14 -05:00
Allow multiple instances of web terminal
This commit is contained in:
@@ -17,10 +17,11 @@ Code="f120"
|
||||
?>
|
||||
<script>
|
||||
function TerminalButton() {
|
||||
var d = new Date();
|
||||
var height = 600;
|
||||
var width = 900;
|
||||
var top = (screen.height-height)/2;
|
||||
var left = (screen.width-width)/2;
|
||||
window.open('/webterminal/', 'Web Terminal', 'resizeable=yes,scrollbars=yes,height='+height+',width='+width+',top='+top+',left='+left).focus();
|
||||
window.open('/webterminal/', 'Web Terminal '+d.getTime(), 'resizeable=yes,scrollbars=yes,height='+height+',width='+width+',top='+top+',left='+left).focus();
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user