Files
ring-mqtt/web/code-error.html
tsightler 3aae37391f Merge changes for 3.2.0 (#86)
* 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
2020-08-09 23:14:53 -04:00

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>