Mercurial > prosody-modules
comparison mod_http_oauth2/html/consent.html @ 5270:7acf73d2ebb5
mod_http_oauth2: Use <fieldset> in templates because it looks nice
Removes some CSS as well
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 23 Mar 2023 16:19:09 +0100 |
parents | 0dcd956d7bc5 |
children | 3a1df3adad0c |
comparison
equal
deleted
inserted
replaced
5269:0e5a37f55440 | 5270:7acf73d2ebb5 |
---|---|
11 {state.error&<div class="error"> | 11 {state.error&<div class="error"> |
12 <p>{state.error}</p> | 12 <p>{state.error}</p> |
13 </div>} | 13 </div>} |
14 | 14 |
15 <h1>{site_name}</h1> | 15 <h1>{site_name}</h1> |
16 <h2>Authorize new application</h2> | 16 <fieldset> |
17 <legend>Authorize new application</legend> | |
17 <p>A new application wants to connect to your account.</p> | 18 <p>A new application wants to connect to your account.</p> |
18 <dl> | 19 <dl> |
19 <dt>Name</dt> | 20 <dt>Name</dt> |
20 <dd>{client.client_name}</dd> | 21 <dd>{client.client_name}</dd> |
21 <dt>Website</dt> | 22 <dt>Website</dt> |
38 <form method="post"> | 39 <form method="post"> |
39 <input type="hidden" name="user_token" value="{state.user.token}"> | 40 <input type="hidden" name="user_token" value="{state.user.token}"> |
40 <button type="submit" name="consent" value="denied">Deny</button> | 41 <button type="submit" name="consent" value="denied">Deny</button> |
41 <button type="submit" name="consent" value="granted">Allow</button> | 42 <button type="submit" name="consent" value="granted">Allow</button> |
42 </form> | 43 </form> |
44 </fieldset> | |
43 </main> | 45 </main> |
44 </body> | 46 </body> |
45 </html> | 47 </html> |