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 | |
parent | 3762c83be27095cb51d35efbcb334d214001bb81 (diff) | |
download | aur-d85ac0f6136389b64b94840f6efe683715b8c28d.tar.gz |
Update to 0.18-1
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | index.html | 39 |
3 files changed, 25 insertions, 18 deletions
@@ -1,6 +1,6 @@ pkgbase = kvmd-webterm pkgdesc = Pi-KVM Web Terminal (GoTTY) - pkgver = 0.17 + pkgver = 0.18 pkgrel = 1 url = https://github.com/pi-kvm/kvmd-webterm install = kvmd-webterm.install @@ -3,7 +3,7 @@ pkgname=kvmd-webterm -pkgver=0.17 +pkgver=0.18 pkgrel=1 pkgdesc="Pi-KVM Web Terminal (GoTTY)" url="https://github.com/pi-kvm/kvmd-webterm" 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> |