From 3a801af4e6067597c4744a135c4632c045442afe Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Tue, 26 Mar 2024 11:56:14 +0100 Subject: [PATCH] Add button to open LuCI --- web/index.html | 102 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 97 insertions(+), 5 deletions(-) diff --git a/web/index.html b/web/index.html index c81cb90..774eb84 100644 --- a/web/index.html +++ b/web/index.html @@ -11,20 +11,112 @@ text-align:center; } - html, body, div, iframe { height: 99%; } + html, body, iframe { height: 99%; } iframe { display:inline-block; - margin: 5px auto; border: solid; } + .grid-container { + display: grid; + grid-template-columns: 20% 79%; + grid-template-rows: 10% 89%; + gap: 10px; + height: 100% + } + + .grid-container > div { + text-align: center; + } + + .item3 { + grid-row: 1 / span 2; + grid-column: 2; + } + + .button { + background-color: #008CBA; /* Green */ + border: none; + color: white; + padding: 16px 32px; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 16px; + margin: 4px 2px; + transition-duration: 0.4s; + cursor: pointer; + } + + .button:hover { + background-color: #005a79; + color: white; + } + + .tooltip { + position: relative; + display: inline-block; + } + + .tooltip .tooltiptext { + visibility: hidden; + width: 300px; + background-color: black; + color: #fff; + text-align: center; + border-radius: 6px; + padding: 5px 0; + position: absolute; + z-index: 1; + top: 60px; + left: 25%; + margin-left: -60px; + } + + .tooltip .tooltiptext::after { + content: ""; + position: absolute; + bottom: 100%; + left: 50%; + margin-left: -5px; + border-width: 5px; + border-style: solid; + border-color: transparent transparent black transparent; + } + + .tooltip:hover .tooltiptext { + visibility: visible; + } + + ul { + text-align: left; + } + -
- - +
+
+ + + Requirements +
    +
  • LAN="veth"
  • +
  • FORWARD_LUCI="true"
  • +
  • Default OpenWrt DHCP LAN settings
  • +
  • Configured "veth-openwrt0" Ethernet interface in host system
  • +
+
+
+
+ +
+
+ +