PIN code field focus on load.
This commit is contained in:
parent
2e6ce0481c
commit
e088f7a552
@ -4,26 +4,19 @@
|
||||
<meta name="viewport" content="width=500">
|
||||
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
|
||||
<meta charset="utf-8">
|
||||
<title>Misc Settings</title>
|
||||
<title>PIN required</title>
|
||||
<script>
|
||||
var d = document;
|
||||
function H() { window.open("https://kno.wled.ge/features/settings/#security-settings"); }
|
||||
function B() { window.open("/settings","_self"); }
|
||||
function gId(s) { return d.getElementById(s); }
|
||||
function isObj(item) { return (item && typeof item === 'object' && !Array.isArray(item)); }
|
||||
</script>
|
||||
<style>
|
||||
@import url("style.css");
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<body onload="d.getElementsByName('PIN')[0].focus()">
|
||||
<form id="form_s" name="Sf" method="post">
|
||||
<div class="toprow">
|
||||
<div class="helpB"><button type="button" onclick="H()">?</button></div>
|
||||
<button type="button" onclick="B()">Back</button><button type="submit">Submit</button><hr>
|
||||
</div>
|
||||
<h2>Please enter settings PIN code</h2>
|
||||
<input type="password" name="PIN" size="4" maxlength="4" minlength="4" pattern="[0-9]*" inputmode="numeric"><br>
|
||||
<input type="password" name="PIN" size="4" maxlength="4" minlength="4" pattern="[0-9]*" inputmode="numeric" autofocus>
|
||||
<hr>
|
||||
<button type="button" onclick="B()">Back</button><button type="submit">Submit</button>
|
||||
</form>
|
||||
|
@ -1549,44 +1549,37 @@ const uint8_t PAGE_settings_um[] PROGMEM = {
|
||||
|
||||
|
||||
// Autogenerated from wled00/data/settings_pin.htm, do not edit!!
|
||||
const uint16_t PAGE_settings_pin_length = 577;
|
||||
const uint16_t PAGE_settings_pin_length = 471;
|
||||
const uint8_t PAGE_settings_pin[] PROGMEM = {
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x13, 0x95, 0x54, 0x5b, 0x6f, 0xd3, 0x30,
|
||||
0x14, 0x7e, 0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c, 0xd1, 0xa6, 0x06, 0xa3, 0x52,
|
||||
0xab, 0xc2, 0x48, 0x71, 0xa4, 0x9b, 0xfd, 0xb3, 0xfc, 0xff, 0xaf, 0x9e, 0x56, 0x23, 0x0d, 0x95,
|
||||
0x3a, 0x30, 0x8e, 0x3a, 0x1f, 0xfe, 0x08, 0x7f, 0x00, 0x9e, 0x95, 0x90, 0x17, 0x21, 0x04, 0x00,
|
||||
0x00
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x13, 0x5d, 0x52, 0x4d, 0x6f, 0x13, 0x31,
|
||||
0x10, 0xbd, 0xef, 0xaf, 0x30, 0x73, 0x69, 0x82, 0x92, 0x6c, 0xa8, 0xa8, 0x04, 0xaa, 0xbd, 0x42,
|
||||
0x81, 0x1e, 0xb8, 0x94, 0x48, 0xe5, 0x52, 0x55, 0x55, 0xe5, 0xd8, 0xb3, 0x89, 0x55, 0x7f, 0x2c,
|
||||
0xb6, 0x37, 0x21, 0x54, 0xfc, 0x77, 0xc6, 0xbb, 0xa1, 0xa0, 0x5c, 0xd6, 0x7e, 0x33, 0xe3, 0x37,
|
||||
0x6f, 0xde, 0x2c, 0x7f, 0xf3, 0xe5, 0xdb, 0xe7, 0xef, 0xf7, 0xeb, 0x1b, 0xb6, 0xcb, 0xce, 0x36,
|
||||
0xbc, 0x7c, 0x99, 0x95, 0x7e, 0x2b, 0x00, 0x3d, 0x10, 0x46, 0xa9, 0x1b, 0xee, 0x30, 0x4b, 0xe6,
|
||||
0xa5, 0x43, 0x01, 0x7b, 0x83, 0x87, 0x2e, 0xc4, 0x0c, 0x4c, 0x05, 0x9f, 0xd1, 0x67, 0x01, 0x07,
|
||||
0xa3, 0xf3, 0x4e, 0x5c, 0x2d, 0x97, 0xd0, 0x54, 0x63, 0x69, 0x75, 0x96, 0xd3, 0xb8, 0x37, 0x0a,
|
||||
0xe7, 0x03, 0x98, 0x19, 0x6f, 0xb2, 0x91, 0x76, 0x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xe5, 0xf2, 0x94, 0xe0, 0xb4, 0x82, 0xbb, 0x96, 0x2c, 0x21,
|
||||
0x07, 0x76, 0x81, 0x52, 0x5d, 0x48, 0xc5, 0x90, 0xdd, 0x65, 0xb3, 0xb6, 0x28, 0x13, 0x32, 0xe2,
|
||||
0xc4, 0xc8, 0xfe, 0xaa, 0x67, 0xc5, 0x0d, 0x15, 0x34, 0x92, 0x92, 0xcb, 0x86, 0x1b, 0xdf, 0xf5,
|
||||
0x99, 0xe5, 0x63, 0x47, 0x34, 0x9d, 0x4c, 0xe9, 0x10, 0xa2, 0x7e, 0xf5, 0xb7, 0x28, 0x60, 0xc9,
|
||||
0xfc, 0xa2, 0xeb, 0x7b, 0x60, 0xb4, 0x16, 0x8b, 0x7e, 0x4b, 0xdb, 0x1b, 0x90, 0xf1, 0xff, 0xa1,
|
||||
0x4e, 0x66, 0x6a, 0xe2, 0x05, 0x3c, 0x2c, 0xe7, 0x1f, 0x1f, 0xdf, 0x12, 0xc3, 0x40, 0xec, 0xa8,
|
||||
0x8f, 0x00, 0x4f, 0xd6, 0x46, 0xa3, 0x80, 0xc9, 0x3e, 0x87, 0x61, 0x18, 0x92, 0x17, 0xc9, 0x83,
|
||||
0x3e, 0x67, 0x72, 0x7a, 0x6c, 0x3e, 0x02, 0x60, 0xc1, 0x2b, 0x6b, 0xd4, 0xb3, 0x00, 0x5a, 0x00,
|
||||
0x34, 0x2b, 0xa9, 0x9e, 0x2b, 0x5e, 0x8f, 0xc9, 0xb3, 0x17, 0xa9, 0xdf, 0x38, 0x43, 0xa3, 0xde,
|
||||
0x0d, 0xe7, 0xbf, 0xa2, 0xba, 0x98, 0x43, 0x47, 0xb1, 0xb8, 0xf8, 0x5d, 0x7e, 0xe3, 0x3f, 0x6d,
|
||||
0x09, 0x82, 0x33, 0xd6, 0x02, 0x00, 0x00
|
||||
};
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
// version code in format yymmddb (b = daily build)
|
||||
#define VERSION 2204301
|
||||
#define VERSION 2205011
|
||||
|
||||
//uncomment this if you have a "my_config.h" file you'd like to use
|
||||
//#define WLED_USE_MY_CONFIG
|
||||
|
Loading…
Reference in New Issue
Block a user