comparison mod_http_oauth2/html/consent.html @ 5625:e86a1018cdb3

mod_http_oauth2: Present errors in HTML <dialog> Nice semantic things that don't require JavaScript
author Kim Alvefur <zash@zash.se>
date Mon, 31 Jul 2023 02:07:24 +0200
parents 6109496a7ccc
children f889ff779571
comparison
equal deleted inserted replaced
5624:6109496a7ccc 5625:e86a1018cdb3
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 {state.error&<div class="error"> 10 {state.error&
11 <dialog open="" class="error">
11 <p>{state.error}</p> 12 <p>{state.error}</p>
12 </div>} 13 <form method="dialog"><button>dismiss</button></form>
13 14 </dialog>}
14 <header> 15 <header>
15 <h1>{site_name}</h1> 16 <h1>{site_name}</h1>
16 </header> 17 </header>
17 <main> 18 <main>
18 <fieldset> 19 <fieldset>