Mercurial > prosody-modules
diff mod_http_oauth2/html/consent.html @ 5624: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 |
parents | 8de02381e80a |
children | e86a1018cdb3 |
line wrap: on
line diff
--- a/mod_http_oauth2/html/consent.html Mon Jul 31 02:04:05 2023 +0200 +++ b/mod_http_oauth2/html/consent.html Mon Jul 31 02:05:49 2023 +0200 @@ -7,16 +7,18 @@ <link rel="stylesheet" href="style.css" /> </head> <body> - <main> {state.error&<div class="error"> <p>{state.error}</p> </div>} + <header> <h1>{site_name}</h1> + </header> + <main> <fieldset> - <form method="post"> <legend>Authorize new application</legend> <p>A new application wants to connect to your account.</p> + <form method="post"> <dl> <dt>Name</dt> <dd>{client.client_name}</dd>