38 lines
1.7 KiB
HTML
38 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Confirm Device</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<style>
|
|
body { font-family: system-ui, sans-serif; margin-top: 25px; margin-bottom: 25px; }
|
|
h1, h1+p { font-weight: 100; text-align: center; }
|
|
.container { padding: 0 40px 10px; width: 274px; background-color: #f7f7f7; margin: 0 auto 10px; border-radius: 2px; box-shadow: 0 2px 2px rgba(0,0,0,.3); overflow: hidden; }
|
|
h1 { font-size: 2.3em; }
|
|
code { font-size: 2em; }
|
|
button[autofocus] { width: 100%; display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; height: 36px; padding: 0 8px; border: 0; color: #fff; background-color: #4d90fe; cursor: pointer; }
|
|
button[autofocus]:hover { background-color: #357ae8; }
|
|
button[name=abort] { background: none; border: none; padding: 0; font: inherit; cursor: pointer; color: #666; opacity: .6; }
|
|
.help { width: 100%; font-size: 12px; text-align: center; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Confirm Device</h1>
|
|
<p>
|
|
<strong><%= clientName %></strong>
|
|
<br/><br/>
|
|
The following code should be displayed on your device<br/><br/>
|
|
<code><%= userCode %></code>
|
|
<br/><br/>
|
|
<small>If you did not initiate this action or the code does not match, please close this window or click abort.</small>
|
|
</p>
|
|
<%- form %>
|
|
<button autofocus type="submit" form="op.deviceConfirmForm">Continue</button>
|
|
<div class="help">
|
|
<button type="submit" form="op.deviceConfirmForm" value="yes" name="abort">[ Abort ]</button>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|