mirror of https://github.com/arendst/Tasmota.git
Add emulation radio and hidden file checkbox labels (#22432)
This commit is contained in:
parent
1dff29f367
commit
aeceace546
|
@ -2620,7 +2620,7 @@ void HandleOtherConfiguration(void) {
|
||||||
if (i == EMUL_HUE) { i++; }
|
if (i == EMUL_HUE) { i++; }
|
||||||
#endif
|
#endif
|
||||||
if (i < EMUL_MAX) {
|
if (i < EMUL_MAX) {
|
||||||
WSContentSend_P(PSTR("<input id='r%d' name='b2' type='radio' value='%d'%s><b>%s</b> %s<br>"), // Different id only used for labels
|
WSContentSend_P(PSTR("<label><input id='r%d' name='b2' type='radio' value='%d'%s><b>%s</b> %s</label><br>"), // Different id only used for labels
|
||||||
i, i,
|
i, i,
|
||||||
(i == Settings->flag2.emulation) ? PSTR(" checked") : "",
|
(i == Settings->flag2.emulation) ? PSTR(" checked") : "",
|
||||||
GetTextIndexed(stemp, sizeof(stemp), i, kEmulationOptions),
|
GetTextIndexed(stemp, sizeof(stemp), i, kEmulationOptions),
|
||||||
|
|
|
@ -1117,7 +1117,7 @@ const char UFS_FORM_FILE_UPGb[] PROGMEM =
|
||||||
"<form method='get' action='ufse'><input type='hidden' name='file' value='%s/" D_NEW_FILE "'>"
|
"<form method='get' action='ufse'><input type='hidden' name='file' value='%s/" D_NEW_FILE "'>"
|
||||||
"<button type='submit'>" D_CREATE_NEW_FILE "</button></form>";
|
"<button type='submit'>" D_CREATE_NEW_FILE "</button></form>";
|
||||||
const char UFS_FORM_FILE_UPGb1[] PROGMEM =
|
const char UFS_FORM_FILE_UPGb1[] PROGMEM =
|
||||||
"<input type='checkbox' id='shf' onclick='sf(eb(\"shf\").checked);' name='shf'>" D_SHOW_HIDDEN_FILES "</input>";
|
"<label><input type='checkbox' id='shf' onclick='sf(eb(\"shf\").checked);' name='shf'>" D_SHOW_HIDDEN_FILES "</label>";
|
||||||
|
|
||||||
const char UFS_FORM_FILE_UPGb2[] PROGMEM =
|
const char UFS_FORM_FILE_UPGb2[] PROGMEM =
|
||||||
"</fieldset>"
|
"</fieldset>"
|
||||||
|
|
Loading…
Reference in New Issue