This repository has been archived on 2022-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
hydra_oidc_poc/templates/idp/consent.gohtml

27 lines
1 KiB
Text
Raw Normal View History

2020-12-31 19:11:06 +01:00
{{ define "content" }}
2021-01-02 11:38:09 +01:00
<form class="form-consent" method="post">
<img src="/images/CAcert-logo.svg" width="300" height="68" alt="CAcert" class="mb-4">
<h1 class="h3 mb-3">{{ .Title }}</h1>
<p class="text-left">{{ .IntroConsentRequested }}</p>
{{ if .client.LogoURI }}
<p>
<img src="{{ .client.LogoURI }}" alt="{{ .client.ClientName }}"/>
</p>
{{ end }}
<ul class="list-group text-left small mb-3">
2020-12-31 19:11:06 +01:00
{{ range .requestedScope }}
2021-01-02 11:38:09 +01:00
<li class="list-group-item">{{ .Label }}</li>
2020-12-31 19:11:06 +01:00
{{ end }}
</ul>
2021-01-02 11:38:09 +01:00
<p class="text-left">{{ .IntroMoreInformation }}</p>
2020-12-31 19:11:06 +01:00
2021-01-02 11:38:09 +01:00
{{ .csrfField }}
<div class="checkbox mb-3">
<label>
<input type="checkbox" name="consent" id="consent" value="true"/>
{{ .LabelConsent }}</label>
</div>
2020-12-31 19:11:06 +01:00
2021-01-02 11:38:09 +01:00
<button class="btn btn-lg btn-primary btn-block" type="submit">{{ .LabelSubmit }}</button>
2020-12-31 19:11:06 +01:00
</form>
{{ end }}