WLED/wled00/data/settings_pin.htm

24 lines
783 B
HTML
Raw Permalink Normal View History

2022-03-01 23:37:28 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<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">
2022-05-01 10:27:26 +02:00
<title>PIN required</title>
2022-03-01 23:37:28 +01:00
<script>
var d = document;
function B() { window.open("/settings","_self"); }
</script>
<style>
@import url("style.css");
</style>
</head>
2022-05-01 10:27:26 +02:00
<body onload="d.getElementsByName('PIN')[0].focus()">
2022-03-01 23:37:28 +01:00
<form id="form_s" name="Sf" method="post">
<h2>Please enter settings PIN code</h2>
2022-05-01 10:27:26 +02:00
<input type="password" name="PIN" size="4" maxlength="4" minlength="4" pattern="[0-9]*" inputmode="numeric" autofocus>
2022-03-01 23:37:28 +01:00
<hr>
<button type="button" onclick="B()">Back</button><button type="submit">Submit</button>
</form>
</body>
</html>