mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-10-28 19:01:58 +08:00
* Fix typo for motion status of beam devices (#85) * Refactor auth/token generation and storage * Add some basic error handling to token web UI * Move config processing to a function * Move token refresh processing to a function
55 lines
1.0 KiB
HTML
55 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<style>
|
|
body {font-family: Arial, Helvetica, sans-serif;}
|
|
* {box-sizing: border-box;}
|
|
|
|
input[type=text], select, textarea {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
box-sizing: border-box;
|
|
margin-top: 6px;
|
|
margin-bottom: 16px;
|
|
resize: vertical;
|
|
}
|
|
|
|
input[type=submit] {
|
|
background-color: #47a9e6;
|
|
color: white;
|
|
padding: 12px 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type=submit]:hover {
|
|
background-color: #315b82;
|
|
}
|
|
|
|
.container {
|
|
max-width: 500px;
|
|
border-radius: 5px;
|
|
background-color: #f2f2f2;
|
|
padding: 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<h3>Enter 2FA Code</h3>
|
|
<p style="color:Red;">2FA code was not accepted. Verify code and try again.</p>
|
|
<div class="container">
|
|
<form action="/submit-code" method="post">
|
|
<label for="2facode">Code</label>
|
|
<input type="text" id="code" name="code">
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|