This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
dex/web/templates/approval.html

43 lines
1.1 KiB
HTML
Raw Normal View History

2016-08-25 20:03:41 +00:00
{{ template "header.html" . }}
<div class="panel">
<h2 class="heading">Grant Access</h2>
2016-08-25 20:03:41 +00:00
<hr>
<div class="list-with-title">
<div class="subtle-text">{{ .Client }} would like to:</div>
2016-08-25 20:03:41 +00:00
{{ range $scope := .Scopes }}
<li class="bullet-point">
<div class="subtle-text">
{{ $scope }}
</div>
</li>
2016-08-25 20:03:41 +00:00
{{ end }}
</div>
<hr>
2016-08-25 20:03:41 +00:00
<div>
<div class="form-row">
2016-08-25 20:03:41 +00:00
<form method="post">
<input type="hidden" name="req" value="{{ .AuthReqID }}"/>
2016-08-25 20:03:41 +00:00
<input type="hidden" name="approval" value="approve">
<button type="submit" class="btn btn-success">
<span class="btn-text">Grant Access</span>
2016-08-25 20:03:41 +00:00
</button>
</form>
</div>
<div class="form-row">
2016-08-25 20:03:41 +00:00
<form method="post">
<input type="hidden" name="req" value="{{ .AuthReqID }}"/>
2016-08-25 20:03:41 +00:00
<input type="hidden" name="approval" value="rejected">
<button type="submit" class="btn btn-provider">
<span class="btn-text">Cancel</span>
2016-08-25 20:03:41 +00:00
</button>
</form>
</div>
</div>
</div>
{{ template "footer.html" . }}