first working version
This commit is contained in:
parent
261ebed165
commit
c9dfecc519
21 changed files with 296 additions and 178 deletions
|
|
@ -1,15 +1,19 @@
|
|||
{{define "body"}}
|
||||
{{if .Data}}
|
||||
<div class="row">
|
||||
<div class="col-xs-4 offset-4">
|
||||
<div class="col-xs-4 offset-3">
|
||||
<div class="card border-primary mx-auto">
|
||||
<div class="card-header">
|
||||
<strong>{{.BodyTitle}}</strong>
|
||||
<strong>{{.BodyTitle}} - {{.Data.Info.Client.ClientName}}</strong>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<pre>
|
||||
{{.Data.Info}}
|
||||
</pre>
|
||||
The client <code>{{.Data.Info.Client.ClientName}}</code> is requesting access to your data.<br>
|
||||
Requested Scopes:
|
||||
<ul>
|
||||
{{range $item := .Data.Info.RequestedScope}}
|
||||
<li>{{$item}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
<form class="form-horizontal" action="/consent" method="post">
|
||||
<input type="hidden" name="token" value="{{.Token}}">
|
||||
<input type="hidden" name="consent_challenge" value="{{.Data.ConsentChallenge}}">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue