summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevaev Maxim2019-04-14 08:57:11 +0300
committerDevaev Maxim2019-04-14 08:57:11 +0300
commitd85ac0f6136389b64b94840f6efe683715b8c28d (patch)
tree7b485044e34c088a8f8d8490a3c10f0beb985944
parent3762c83be27095cb51d35efbcb334d214001bb81 (diff)
downloadaur-d85ac0f6136389b64b94840f6efe683715b8c28d.tar.gz
Update to 0.18-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--index.html39
3 files changed, 25 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1381664a20a3..59da9c24c900 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 8c0de2972cf8..da18036a05fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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="/">
- &nbsp;&nbsp;&larr;&nbsp;&nbsp; [ 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="/">
+ &nbsp;&nbsp;&larr;&nbsp;&nbsp; [ 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>