diff --git a/web/base.pug b/web/base.pug index 4bb50099..004c849f 100644 --- a/web/base.pug +++ b/web/base.pug @@ -22,18 +22,21 @@ doctype html # # ============================================================================== -- var css_dir = "/share/css" -- var js_dir = "/share/js" -- var svg_dir = "/share/svg" -- var png_dir = "/share/png" +- + var css_dir = "/share/css" + var js_dir = "/share/js" + var svg_dir = "/share/svg" + var png_dir = "/share/png" + + title = "" + main_js = "" + body_class = "" + css_list = ["vars", "main"] -- var title = "" -- var main_js = "" -- var body_class = "" -- var css_list = ["vars", "main"] block vars + html(lang="en") head meta(charset="utf-8") diff --git a/web/index.pug b/web/index.pug index c84efb59..29de6da7 100644 --- a/web/index.pug +++ b/web/index.pug @@ -1,45 +1,48 @@ extends start.pug + append vars - - title = "PiKVM Index" - - main_js = "index/main" - - css_list = css_list.concat(["window", "modal", "index/index"]) + - + title = "PiKVM Index" + main_js = "index/main" + css_list = css_list.concat(["window", "modal", "index/index"]) + block start table tr - td(class="logo") + td.logo a(href="https://pikvm.org" target="_blank") - img(class="svg-gray" src=`${svg_dir}/logo.svg` alt="PiKVM" height="40") + img.svg-gray(src=`${svg_dir}/logo.svg` alt="PiKVM" height="40") td table - tr #[td(colspan="2" class="title") The Open Source KVM over IP] + tr #[td.title(colspan="2") The Open Source KVM over IP] tr - td(colspan="2" class="copyright") + td.copyright(colspan="2") | Copyright © 2018-2024 #[a(target="_blank" href="mailto:mdevaev@gmail.com") Maxim Devaev] hr table td(class="server") td Server: - td #[a(id="kvmd-meta-server-host" target="_blank" href="/api/info")] + td #[a#kvmd-meta-server-host(target="_blank" href="/api/info")] hr - div(id="apps-box") + #apps-box h4 Loading ... - div(id="app-keyboard-warning") + #app-keyboard-warning hr - p(class="text") + p.text | Please note that when you are working with a KVM session or another application that captures the keyboard, | you can't use some keyboard shortcuts such as Ctrl+Alt+Del (which will be caught by your OS) or Ctrl+W (caught by your browser). - p(class="text") + p.text | To override this limitation you can use #[a(target="_blank" href="https://google.com/chrome") Google Chrome] | or #[a(target="_blank" href="https://chromium.org/Home") Chromium] in application mode. - div(id="app-text" class="code") + .code#app-text hr - p(class="text credits") + p.text.credits a(target="_blank" href="https://pikvm.org") PiKVM Project | | a(target="_blank" href="https://docs.pikvm.org") Documentation diff --git a/web/ipmi/index.pug b/web/ipmi/index.pug index e567fe38..c7729dfe 100644 --- a/web/ipmi/index.pug +++ b/web/ipmi/index.pug @@ -1,20 +1,23 @@ extends ../start.pug + append vars - - title = "PiKVM IPMI Info" - - main_js = "ipmi/main" - - index_link = true + - + title = "PiKVM IPMI Info" + main_js = "ipmi/main" + index_link = true + block start - p(class="text") + p.text | This PiKVM device has running #[b kvmd-ipmi] daemon and provides IPMI 2.0 interface for some basic | BMC operations like on/off/reset the server. - p(class="text") + p.text | #[b WARNING!] We strongly don't recommend you to use IPMI in untrusted networks because | this protocol is completely unsafe by design. In short, the authentication process for IPMI mandates | that the server send a salted SHA1 or MD5 hash of the requested user's password to the client, | prior to the client authenticating. - p(class="text") + p.text | #[b NEVER] use the same passwords for KVMD and IPMI users. And even better not to use IPMI. | Instead, you can directly use KVMD API via curl. Here some examples: - div(id="ipmi-text" class="code" style="max-height:200px") + .code#ipmi-text(style="max-height:200px") diff --git a/web/kvm/index.html b/web/kvm/index.html index da762585..d9de518a 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -151,7 +151,7 @@
| Swap Left Ctrl and Caps keys: | -
-
-
-
-
+
+
- Keyboard & mouse (HID) settings+
+
-
+
-
-
+ Web UI settings-
-
-
| |||||||||||||||||||||||||||||||||||||||||||
| Cumulative scrolling: + | +
+
+
+
+
+ |
+ |||||||||||||||||||||||||||||||||||||||||||
| Scroll rate: + | ++ + | ++ | ||||||||||||||||||||||||||||||||||||||||||
| Show the blue dot: + | +
+
+
+
+
+ |
+
| Ask page close confirmation: + | +
+
+
+
+
+ |
+
| Expand for the entire tab by default: + | +
+
+
+
+
+ |
+
| Bad link mode (release keys immediately): | +Bad link mode (release keys immediately): + |
@@ -420,7 +440,8 @@
|
||||
| Connect HID to Server: | +Connect HID to Server: + |
@@ -429,7 +450,8 @@
|
||||
| Mouse jiggler: | +Mouse jiggler: + |
@@ -438,7 +460,8 @@
|
||||
| Mute all input HID events: | +Mute all input HID events: + |
@@ -447,7 +470,8 @@
|
||||
| Connect main USB to Server: | +Connect main USB to Server: + |
@@ -456,7 +480,8 @@
|
||||
| Enable locator LED: | +Enable locator LED: + |
@@ -468,7 +493,7 @@
@@ -478,7 +503,8 @@
@@ -519,7 +545,7 @@ | Current image is broken! | |||
| Perhaps uploading was interrupted |
+ Perhaps uploading was interrupted |
| Drive mode: | -
-
-
-
-
-
-
- |
+ Drive mode: + | +
+
+
+
+
+
+
+ |
- | Writable: | +Writable: + |
@@ -622,12 +650,12 @@
+
-
-
-
@@ -702,16 +730,16 @@ Record and play HID/ATX/GPIO actions
For security reasons, the record will not be saved on the PiKVM
- + @@ -749,7 +778,7 @@
| ||||||||||||||||||||||||||||||||||