diff options
author | Devaev Maxim | 2019-04-14 08:57:11 +0300 |
---|---|---|
committer | Devaev Maxim | 2019-04-14 08:57:11 +0300 |
commit | d85ac0f6136389b64b94840f6efe683715b8c28d (patch) | |
tree | 7b485044e34c088a8f8d8490a3c10f0beb985944 /index.html | |
parent | 3762c83be27095cb51d35efbcb334d214001bb81 (diff) | |
download | aur-d85ac0f6136389b64b94840f6efe683715b8c28d.tar.gz |
Update to 0.18-1
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/index.html b/index.html index a3701e31aff0..03a709b92e35 100644 --- a/index.html +++ b/index.html @@ -1,19 +1,26 @@ <!DOCTYPE html> <html> - <head> - <title>{{ .title }}</title> - <link rel="icon" type="image/png" href="favicon.png"> - <link rel="stylesheet" href="./css/index.css" /> - <link rel="stylesheet" href="./css/xterm.css" /> - <link rel="stylesheet" href="./css/xterm_customize.css" /> - </head> - <body> - <a style="display: inline-block; margin-top: 4px; color:#5c90bc; text-decoration: none;" href="/"> - ← [ Pi-KVM Index ] - </a> - <div id="terminal" style="height: 95%; height: calc(100% - 30px);"></div> - <script src="./auth_token.js"></script> - <script src="./config.js"></script> - <script src="./js/gotty-bundle.js"></script> - </body> +<head> + <title>{{ .title }}</title> + <link rel="icon" type="image/png" href="favicon.png"> + <link rel="stylesheet" href="./css/index.css" /> + <link rel="stylesheet" href="./css/xterm.css" /> + <link rel="stylesheet" href="./css/xterm_customize.css" /> +</head> +<body> + <a style="display: inline-block; margin-top: 4px; color:#5c90bc; text-decoration: none;" href="/"> + ← [ Pi-KVM Index ] + </a> + <div id="terminal" style="height: 95%; height: calc(100% - 30px);"></div> + <script src="./auth_token.js"></script> + <script src="./config.js"></script> + <script src="./js/gotty-bundle.js"></script> + <script type="text/javascript"> + window.onbeforeunload = function(event) { + var text = "Are you sure you want to close terminal session?"; + event.returnValue = text; + return text; + }; + </script> +</body> </html> |