From 5c329adcf6369ca9e7e5b66ddcfe280aa66e0f4a Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Tue, 23 Sep 2025 18:49:59 +0200 Subject: [PATCH] remove extrapolated HTML fragments from doc --- .doc_for_ai/TASMOTA_WEBUI_CODING_GUIDE.md | 276 ++-------------------- 1 file changed, 17 insertions(+), 259 deletions(-) diff --git a/.doc_for_ai/TASMOTA_WEBUI_CODING_GUIDE.md b/.doc_for_ai/TASMOTA_WEBUI_CODING_GUIDE.md index 943cb047d..6594dfe5d 100644 --- a/.doc_for_ai/TASMOTA_WEBUI_CODING_GUIDE.md +++ b/.doc_for_ai/TASMOTA_WEBUI_CODING_GUIDE.md @@ -388,7 +388,7 @@ For configuration pages with forms:
 Template 

- +

- OFF -
- + ``` ### 2. Configuration Sections @@ -847,101 +656,50 @@ function toggleRelay(num) { ``` -### 7. Template Configuration +### 7. Template Configuration (from original source) ```html
 Template 

- +

``` -### 8. Status Display with Dynamic Updates +### 8. Color Control Sliders (from original source) ```html -
- OFF -
- - -``` - -### 9. Color Picker Sliders -```html - - - - - - - - -
-
- +
+
+
-
- +
+
+
- + -
- +
+
+
``` -## Mobile Optimization - -Based on the screenshots, the interface is optimized for mobile devices: - -### Touch-Friendly Design -- **Button height**: Minimum 44px for easy touch interaction -- **Slider handles**: Large enough for finger control -- **Spacing**: Adequate gaps between interactive elements -- **Text size**: Readable on small screens - -### Responsive Layout -```css -@media (max-width: 480px) { - .container { - min-width: 320px; - padding: 10px; - } - - button { - min-height: 44px; - font-size: 16px; /* Prevents zoom on iOS */ - } - - input[type="range"] { - height: 44px; - } -} -``` - This guide provides the foundation for creating Tasmota-compatible WebUI interfaces that are efficient, user-friendly, and consistent with the existing design system. The visual specifications are based on actual Tasmota WebUI screenshots showing the main control page, configuration forms, and navigation menus. \ No newline at end of file