Commit 0d33a5b8 authored by ale's avatar ale
Browse files

Change the consent page to use the signin style

parent 4958f006
{{define "title"}}Consent{{end}}
{{define "head"}}
<link rel="stylesheet" href="/static/css/signin.css" integrity="sha384-zxlIX2SfN6SpDKbrkQNcrn07kaD/iSlYdEKRCab8ZAcTEvpWshVV4xqTpoQaeyPq">
{{end}}
{{define "content"}}
<h1>Consent</h1>
<form class="form-signin" action="/auth/idp/consent" method="post">
{{.CSRF}}
<h1 class="form-signin-heading">Consent</h1>
<p>
The application {{.Challenge.Client}} would like to get access to:
<ul>
{{range .Challenge.Scopes}}
<li>{{.}}</li>
{{end}}
</ul>
</p>
<p>
The application <i>{{.Challenge.Client.Name}}</i>
({{.Challenge.Client.ID}}) would like to get access to:
<ul>
{{range .Challenge.Scopes}}
<li>{{.}}</li>
{{end}}
</ul>
</p>
<form action="/auth/idp/consent" method="post">
{{.CSRF}}
<input type="hidden" name="answer" value="y">
<button type="submit" class="btn btn-primary">Agree</button>
<button type="submit" class="btn btn-lg btn-primary btn-block">Agree</button>
</form>
{{end}}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment