28 lines
1.7 KiB
Cheetah
28 lines
1.7 KiB
Cheetah
{{define "consent_nl"}}
|
|
<div class="page-container" style="justify-content: center; align-items: center;">
|
|
<div class="page-card" style="padding: 48px; max-width: 440px; width: 100%;">
|
|
<div style="text-align: center; margin-bottom: 24px; font-size: 1.5rem;"><span class="inou">inou</span> <span style="font-weight: 400; color: var(--text-muted);">health</span></div>
|
|
<h1 style="font-size: 1.75rem; text-align: center;">Toegang autoriseren</h1>
|
|
<p class="intro" style="text-align: center; margin-bottom: 32px;">
|
|
<strong>{{.ClientName}}</strong> wil toegang tot jouw gezondheidsgegevens als <strong>{{.UserName}}</strong>.
|
|
</p>
|
|
|
|
<div style="background: var(--bg-secondary); border-radius: 8px; padding: 16px; margin-bottom: 24px;">
|
|
<p style="font-size: 0.9rem; color: var(--text); margin: 0;">Deze applicatie kan alle gezondheidsgegevens in jouw dossier lezen.</p>
|
|
</div>
|
|
|
|
<form action="/oauth/authorize" method="POST">
|
|
<input type="hidden" name="client_id" value="{{.ClientID}}">
|
|
<input type="hidden" name="redirect_uri" value="{{.RedirectURI}}">
|
|
<input type="hidden" name="response_type" value="{{.ResponseType}}">
|
|
<input type="hidden" name="state" value="{{.State}}">
|
|
<input type="hidden" name="code_challenge" value="{{.CodeChallenge}}">
|
|
<input type="hidden" name="code_challenge_method" value="{{.CodeChallengeMethod}}">
|
|
<button type="submit" name="action" value="allow" class="btn btn-primary btn-full" style="margin-bottom: 12px;">Toestaan</button>
|
|
<button type="submit" name="action" value="deny" class="btn btn-secondary btn-full">Weigeren</button>
|
|
</form>
|
|
</div>
|
|
|
|
{{template "footer"}}
|
|
</div>
|
|
{{end}} |