diff --git a/dist/www/index.html b/dist/www/index.html
index f9409d1..d7982cc 100644
--- a/dist/www/index.html
+++ b/dist/www/index.html
@@ -5,7 +5,7 @@
-
+
@@ -22,6 +22,20 @@
height: 60%;
}
+ .toggle-collapse-closed::after {
+ font-family: 'FontAwesome';
+ content: "\f077";
+ float: right;
+ cursor: pointer;
+ }
+
+ .toggle-collapse-opened::after {
+ font-family: 'FontAwesome';
+ content: "\f078";
+ float: right;
+ cursor: pointer;
+ }
+
.modal-mask {
position: fixed;
z-index: 9998;
@@ -96,23 +110,24 @@
{{ state.title }}
{{ state.text }}
-
+
My header
Some body text
-
+
-
+
diff --git a/dist/www/p4wnp1.css b/dist/www/p4wnp1.css
index 1bac4e7..ecbd5c2 100644
--- a/dist/www/p4wnp1.css
+++ b/dist/www/p4wnp1.css
@@ -82,7 +82,7 @@ button {
.toggle-switch {
position: relative;
- display: block;
+ display: inline-block;
width: 80px;
height: 30px;
background-color: gray;
@@ -91,6 +91,7 @@ button {
/* box-shadow: h-offset v-offset blur spread color inset initial inherit */
box-shadow: 1px 1px 1px 0 #3f3f3f, -1px -1px 1px 0 #ffffff; /* 2px offset gray to top, white to bottom */
cursor: pointer;
+ vertical-align: middle;
}
diff --git a/web_client/hvueCompUSBSettings.go b/web_client/hvueCompUSBSettings.go
index 96ed6e5..51acd5e 100644
--- a/web_client/hvueCompUSBSettings.go
+++ b/web_client/hvueCompUSBSettings.go
@@ -61,7 +61,7 @@ func newCompUSBSettingsData(vm *hvue.VM) interface{} {
const (
compUSBSettingsTemplate = `