2021-09-11 11:35:15 +00:00
|
|
|
{{ define "content" }}
|
2023-08-07 13:15:45 +00:00
|
|
|
<main role="main" class="container">
|
2021-09-11 11:35:15 +00:00
|
|
|
<h1 class="h3 mb-3">{{ .Title }}</h1>
|
2023-08-07 15:38:57 +00:00
|
|
|
{{ if .LogoURI }}
|
2023-08-07 15:58:45 +00:00
|
|
|
<p class="text-center">
|
|
|
|
<img src="{{ .LogoURI }}" alt="{{ .ClientName }}" width="240" height="240" />
|
2021-09-11 11:35:15 +00:00
|
|
|
</p>
|
|
|
|
{{ end }}
|
2023-08-07 15:38:57 +00:00
|
|
|
{{ .IntroConsentRequested }}
|
2023-08-07 13:15:45 +00:00
|
|
|
<form method="post">
|
2021-09-11 11:35:15 +00:00
|
|
|
<ul class="list-group text-left small mb-3">
|
2023-08-07 13:15:45 +00:00
|
|
|
{{ range $i, $scope := .requestedScope }}
|
2021-09-11 11:35:15 +00:00
|
|
|
<li class="list-group-item">
|
2023-08-07 13:15:45 +00:00
|
|
|
<input type="hidden" name="scope[{{ $i }}]" value="{{ $scope.Name }}">
|
|
|
|
{{ $scope.Label }}</li>
|
|
|
|
{{ end }}
|
2021-09-11 11:35:15 +00:00
|
|
|
</ul>
|
2023-08-07 13:15:45 +00:00
|
|
|
{{ if .requestedClaims }}
|
|
|
|
<p class="text-left">{{ .ClaimsInformation }}</p>
|
|
|
|
<ul class="list-group text-left small mb-3">
|
|
|
|
{{ range $i, $claim := .requestedClaims }}
|
|
|
|
<li class="list-group-item">
|
|
|
|
<input type="hidden" name="claims[{{ $i }}]" value="{{ $claim.Name }}">
|
|
|
|
{{ $claim.Label }}{{ if $claim.Essential }} *{{ end}}
|
|
|
|
</li>
|
|
|
|
{{ end}}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
2023-08-07 15:38:57 +00:00
|
|
|
{{ if .HasMoreInformation }}
|
|
|
|
{{ .IntroMoreInformation }}
|
|
|
|
{{ end }}
|
2021-09-11 11:35:15 +00:00
|
|
|
|
2023-08-07 13:15:45 +00:00
|
|
|
{{ .csrfField }}
|
2023-08-07 15:38:57 +00:00
|
|
|
{{ .LabelConsent }}
|
2021-09-11 11:35:15 +00:00
|
|
|
|
2023-08-07 15:38:57 +00:00
|
|
|
<button class="btn btn-primary" type="submit" name="consent"
|
|
|
|
value="consent">{{ .ButtonTitleConsent }}</button>
|
|
|
|
<button class="btn btn-outline-secondary" type="submit" name="consent" value="deny">{{ .ButtonTitleDeny }}</button>
|
2023-08-07 13:15:45 +00:00
|
|
|
</form>
|
|
|
|
</main>
|
2021-09-11 11:35:15 +00:00
|
|
|
{{ end }}
|