BatteryMonitor
diff --git a/Software/MainBoard/rust/src_webpack/src/main.html b/Software/MainBoard/rust/src_webpack/src/main.html
index f8c2730..db17a21 100644
--- a/Software/MainBoard/rust/src_webpack/src/main.html
+++ b/Software/MainBoard/rust/src_webpack/src/main.html
@@ -137,11 +137,157 @@
font-weight: bold;
}
+ .mode-slider-container {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 12px;
+ padding: 8px 0;
+ flex-wrap: wrap;
+ }
+
+ .mode-label {
+ font-weight: bold;
+ font-size: 0.85em;
+ min-width: 55px;
+ text-align: center;
+ }
+
+ .mode-slider {
+ -webkit-appearance: none;
+ appearance: none;
+ width: 200px;
+ height: 8px;
+ border-radius: 4px;
+ outline: none;
+ cursor: pointer;
+ }
+
+ .mode-slider::-webkit-slider-thumb {
+ -webkit-appearance: none;
+ appearance: none;
+ width: 20px;
+ height: 20px;
+ border-radius: 50%;
+ cursor: pointer;
+ border: 2px solid white;
+ }
+
+ .mode-slider::-moz-range-thumb {
+ width: 20px;
+ height: 20px;
+ border-radius: 50%;
+ cursor: pointer;
+ border: 2px solid white;
+ }
+
+ .mode-simple .mode-slider {
+ background: linear-gradient(to right, #28a745, #28a745);
+ }
+ .mode-simple .mode-slider::-webkit-slider-thumb {
+ background: #28a745;
+ }
+ .mode-simple .mode-slider::-moz-range-thumb {
+ background: #28a745;
+ }
+
+ .mode-advanced .mode-slider {
+ background: linear-gradient(to right, #28a745, #ffc107);
+ }
+ .mode-advanced .mode-slider::-webkit-slider-thumb {
+ background: #ffc107;
+ }
+ .mode-advanced .mode-slider::-moz-range-thumb {
+ background: #ffc107;
+ }
+
+ .mode-expert .mode-slider {
+ background: linear-gradient(to right, #28a745, #ffc107, #dc3545);
+ }
+ .mode-expert .mode-slider::-webkit-slider-thumb {
+ background: #dc3545;
+ }
+ .mode-expert .mode-slider::-moz-range-thumb {
+ background: #dc3545;
+ }
+
+ .mode-simple .mode-label {
+ color: #28a745;
+ }
+ .mode-advanced .mode-label {
+ color: #ffc107;
+ }
+ .mode-expert .mode-label {
+ color: #dc3545;
+ }
+
+ .mode-label-mode {
+ font-size: 0.9em;
+ font-weight: bold;
+ min-width: 60px;
+ }
+
+ .mode-simple .mode-label-mode {
+ color: #28a745;
+ }
+ .mode-advanced .mode-label-mode {
+ color: #ffc107;
+ }
+ .mode-expert .mode-label-mode {
+ color: #dc3545;
+ }
+
+ .mode-dot {
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ display: inline-block;
+ margin-right: 4px;
+ vertical-align: middle;
+ }
+
+ .mode-simple .mode-dot {
+ background: #28a745;
+ }
+ .mode-advanced .mode-dot {
+ background: #ffc107;
+ }
+ .mode-expert .mode-dot {
+ background: #dc3545;
+ }
+
+ .hidden-mode {
+ display: none !important;
+ }
+
+ .mode-simple .hidden-mode-simple,
+ .mode-advanced .hidden-mode-simple,
+ .mode-expert .hidden-mode-simple {
+ display: none !important;
+ }
+
+ .mode-advanced .hidden-mode-advanced,
+ .mode-expert .hidden-mode-advanced {
+ display: none !important;
+ }
+
+ .mode-expert .hidden-mode-expert {
+ display: none !important;
+ }
+