2016-08-26 01:33:41 +05:30
|
|
|
{{ template "header.html" . }}
|
|
|
|
|
2016-12-02 01:48:12 +05:30
|
|
|
<div class="theme-panel">
|
|
|
|
<h2 class="theme-heading">Grant Access</h2>
|
2016-08-26 01:33:41 +05:30
|
|
|
|
2016-12-02 01:48:12 +05:30
|
|
|
<hr class="dex-separator">
|
|
|
|
<div>
|
2021-02-11 22:45:46 +05:30
|
|
|
{{ if .Scopes }}
|
2016-12-02 01:48:12 +05:30
|
|
|
<div class="dex-subtle-text">{{ .Client }} would like to:</div>
|
|
|
|
<ul class="dex-list">
|
2016-08-26 01:33:41 +05:30
|
|
|
{{ range $scope := .Scopes }}
|
2016-12-02 01:48:12 +05:30
|
|
|
<li>{{ $scope }}</li>
|
2016-08-26 01:33:41 +05:30
|
|
|
{{ end }}
|
2016-12-02 01:48:12 +05:30
|
|
|
</ul>
|
2021-02-11 22:45:46 +05:30
|
|
|
{{ else }}
|
|
|
|
<div class="dex-subtle-text">{{ .Client }} has not requested any personal information</div>
|
|
|
|
{{ end }}
|
2016-08-26 01:33:41 +05:30
|
|
|
</div>
|
2016-12-02 01:48:12 +05:30
|
|
|
<hr class="dex-separator">
|
2016-08-26 01:33:41 +05:30
|
|
|
|
|
|
|
<div>
|
2016-12-02 01:48:12 +05:30
|
|
|
<div class="theme-form-row">
|
2016-08-26 01:33:41 +05:30
|
|
|
<form method="post">
|
2016-10-27 22:50:30 +05:30
|
|
|
<input type="hidden" name="req" value="{{ .AuthReqID }}"/>
|
2016-08-26 01:33:41 +05:30
|
|
|
<input type="hidden" name="approval" value="approve">
|
2016-12-02 01:48:12 +05:30
|
|
|
<button type="submit" class="dex-btn theme-btn--success">
|
|
|
|
<span class="dex-btn-text">Grant Access</span>
|
2016-08-26 01:33:41 +05:30
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2016-12-02 01:48:12 +05:30
|
|
|
<div class="theme-form-row">
|
2016-08-26 01:33:41 +05:30
|
|
|
<form method="post">
|
2016-10-27 22:50:30 +05:30
|
|
|
<input type="hidden" name="req" value="{{ .AuthReqID }}"/>
|
2016-08-26 01:33:41 +05:30
|
|
|
<input type="hidden" name="approval" value="rejected">
|
2016-12-02 03:36:08 +05:30
|
|
|
<button type="submit" class="dex-btn theme-btn-provider">
|
2016-12-02 01:48:12 +05:30
|
|
|
<span class="dex-btn-text">Cancel</span>
|
2016-08-26 01:33:41 +05:30
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ template "footer.html" . }}
|