Mercurial > prosody-modules
comparison mod_http_oauth2/html/device.html @ 5653:62c6e17a5e9d
Merge
| author | Stephen Paul Weber <singpolyma@singpolyma.net> |
|---|---|
| date | Mon, 18 Sep 2023 08:24:19 -0500 |
| parents | 401356232e1b |
| children |
comparison
equal
deleted
inserted
replaced
| 5652:eade7ff9f52c | 5653:62c6e17a5e9d |
|---|---|
| 1 <!DOCTYPE html> | |
| 2 <html lang="en"> | |
| 3 <head> | |
| 4 <meta charset="utf-8" /> | |
| 5 <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| 6 <title>{site_name} - Authorize{client&d} Device</title> | |
| 7 <link rel="stylesheet" href="style.css" /> | |
| 8 </head> | |
| 9 <body> | |
| 10 {error& | |
| 11 <dialog open="" class="error"> | |
| 12 <p>{error.text}</p> | |
| 13 <form method="dialog"><button>dismiss</button></form> | |
| 14 </dialog>} | |
| 15 <header> | |
| 16 <h1>{site_name}</h1> | |
| 17 </header> | |
| 18 <main> | |
| 19 <fieldset> | |
| 20 <legend>Device Authorization</legend> | |
| 21 {client& | |
| 22 <p>Authorization completed. You can go back to | |
| 23 <em>{client.client_name}</em>.</p>} | |
| 24 {client~ | |
| 25 <p>Enter the code to continue.</p> | |
| 26 <form method="get"> | |
| 27 <input type="text" name="user_code" placeholder="XXXX-XXXX" aria-label="Code" required="" /> | |
| 28 <button type="submit">Continue</button> | |
| 29 </form>} | |
| 30 </fieldset> | |
| 31 </main> | |
| 32 </body> | |
| 33 </html> |
