Software /
code /
prosody-modules
Comparison
mod_http_oauth2/html/consent.html @ 5642:6109496a7ccc
mod_http_oauth2: Move site name into <header>
Because it's the site header
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 31 Jul 2023 02:05:49 +0200 |
parent | 5641:8de02381e80a |
child | 5643:e86a1018cdb3 |
comparison
equal
deleted
inserted
replaced
5641:8de02381e80a | 5642:6109496a7ccc |
---|---|
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.client_name}</title> | 6 <title>{site_name} - Authorize {client.client_name}</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> | |
11 {state.error&<div class="error"> | 10 {state.error&<div class="error"> |
12 <p>{state.error}</p> | 11 <p>{state.error}</p> |
13 </div>} | 12 </div>} |
14 | 13 |
14 <header> | |
15 <h1>{site_name}</h1> | 15 <h1>{site_name}</h1> |
16 </header> | |
17 <main> | |
16 <fieldset> | 18 <fieldset> |
17 <form method="post"> | |
18 <legend>Authorize new application</legend> | 19 <legend>Authorize new application</legend> |
19 <p>A new application wants to connect to your account.</p> | 20 <p>A new application wants to connect to your account.</p> |
21 <form method="post"> | |
20 <dl> | 22 <dl> |
21 <dt>Name</dt> | 23 <dt>Name</dt> |
22 <dd>{client.client_name}</dd> | 24 <dd>{client.client_name}</dd> |
23 <dt>Website</dt> | 25 <dt>Website</dt> |
24 <dd><a href="{client.client_uri}">{client.client_uri}</a></dd> | 26 <dd><a href="{client.client_uri}">{client.client_uri}</a></dd> |