Mercurial > prosody-modules
comparison mod_http_oauth2/html/consent.html @ 5631:f889ff779571
mod_http_oauth2: Improve templates
XML-ness by avoiding value-less attributes or whatever they're called
Plus some Aria label tweaks
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 08 Aug 2023 17:04:50 +0200 |
parents | e86a1018cdb3 |
children | 401356232e1b |
comparison
equal
deleted
inserted
replaced
5630:2a31ee81e816 | 5631:f889ff779571 |
---|---|
34 <dt>Policy</dt> | 34 <dt>Policy</dt> |
35 <dd><a href="{client.policy_uri}">View policy</a></dd>} | 35 <dd><a href="{client.policy_uri}">View policy</a></dd>} |
36 | 36 |
37 <dt>Requested permissions</dt> | 37 <dt>Requested permissions</dt> |
38 <dd>{scopes# | 38 <dd>{scopes# |
39 <input class="scope" type="checkbox" id="scope_{idx}" name="scope" value="{item}" checked><label class="scope" for="scope_{idx}">{item}</label>} | 39 <input class="scope" type="checkbox" id="scope_{idx}" name="scope" value="{item}" checked="" /><label class="scope" for="scope_{idx}">{item}</label>} |
40 </dd> | 40 </dd> |
41 </dl> | 41 </dl> |
42 | 42 |
43 <p>To allow <em>{client.client_name}</em> to access your account | 43 <p>To allow <em>{client.client_name}</em> to access your account |
44 <em>{state.user.username}@{state.user.host}</em> and associated data, | 44 <em>{state.user.username}@{state.user.host}</em> and associated data, |
45 select 'Allow'. Otherwise, select 'Deny'. | 45 select 'Allow'. Otherwise, select 'Deny'. |
46 </p> | 46 </p> |
47 | 47 |
48 <input type="hidden" name="user_token" value="{state.user.token}"> | 48 <input type="hidden" name="user_token" value="{state.user.token}"> |
49 <button type="submit" name="consent" value="denied">Deny</button> | 49 <button type="submit" name="consent" value="denied">Deny</button> |
50 <button type="submit" name="consent" value="granted">Allow</button> | 50 <button type="submit" name="consent" value="granted">Allow</button> |
51 </form> | 51 </form> |
52 </fieldset> | 52 </fieldset> |
53 </main> | 53 </main> |
54 </body> | 54 </body> |
55 </html> | 55 </html> |