From 0ac559bf7f304717e546a48ddcc33b0ac29d5038 Mon Sep 17 00:00:00 2001 From: SteWers <42718143+SteWers@users.noreply.github.com> Date: Tue, 16 Jan 2024 16:35:19 +0100 Subject: [PATCH] [Shutter] Fix html table syntax (#20519) * [Shutter] Fix html table syntax The html code for the slider was placed in a `
` tags. So the browser placed it "randomly" outside of the table. * [Shutter] revert date --- tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino b/tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino index 7bf8b4563..dfba0caab 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino @@ -1,7 +1,7 @@ /* xdrv_27_Shutter.ino - Shutter/Blind support for Tasmota - Copyright (C) 2023 Stefan Bode + Copyright (C) 2023 Stefan Bode This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -54,8 +54,10 @@ int32_t current_real_position = 0; int32_t current_pwm_velocity = 0; const char HTTP_MSG_SLIDER_SHUTTER[] PROGMEM = + " | |
"
" %s%s "
- "";
+ ""
+ "{e}";
const uint8_t MAX_MODES = 8;
enum Shutterposition_mode {SHT_UNDEF, SHT_TIME, SHT_TIME_UP_DOWN, SHT_TIME_GARAGE, SHT_COUNTER, SHT_PWM_VALUE, SHT_PWM_TIME,SHT_AUTOCONFIG};
|