Mercurial > prosody-modules
comparison mod_http_oauth2/html/device.html @ 5623:8de02381e80a
mod_http_oauth2: Conform to XHTML in templates
Mostly because pedantic. Seems appropriate.
Nice to be able to use an XML parser.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 31 Jul 2023 02:04:05 +0200 |
parents | 1893ae742f66 |
children | 6109496a7ccc |
comparison
equal
deleted
inserted
replaced
5622:ae62d92506dc | 5623:8de02381e80a |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8" /> |
5 <meta name="viewport" content="width=device-width, initial-scale=1" /> | 5 <meta name="viewport" content="width=device-width, initial-scale=1" /> |
6 <title>{site_name} - Authorize{client&d} Device</title> | 6 <title>{site_name} - Authorize{client&d} Device</title> |
7 <link rel="stylesheet" href="style.css"> | 7 <link rel="stylesheet" href="style.css" /> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <main> | 10 <main> |
11 <h1>{site_name}</h1> | 11 <h1>{site_name}</h1> |
12 <fieldset> | 12 <fieldset> |
18 <p>Authorization completed. You can go back to | 18 <p>Authorization completed. You can go back to |
19 <em>{client.client_name}</em>.</p>} | 19 <em>{client.client_name}</em>.</p>} |
20 {client~ | 20 {client~ |
21 <p>Enter the code to continue.</p> | 21 <p>Enter the code to continue.</p> |
22 <form method="get"> | 22 <form method="get"> |
23 <input type="text" name="user_code" placeholder="XXXX-XXXX" aria-label="user-code" required > | 23 <input type="text" name="user_code" placeholder="XXXX-XXXX" aria-label="user-code" required="" /> |
24 <input type="submit" value="Continue"> | 24 <button type="submit">Continue</button> |
25 </form>} | 25 </form>} |
26 </fieldset> | 26 </fieldset> |
27 </main> | 27 </main> |
28 </body> | 28 </body> |
29 </html> | 29 </html> |
30 |