2016-08-26 01:33:41 +05:30
|
|
|
{{ template "header.html" . }}
|
|
|
|
|
2016-12-02 02:48:32 +05:30
|
|
|
<div class="panel">
|
|
|
|
<h2 class="heading">Grant Access</h2>
|
2016-08-26 01:33:41 +05:30
|
|
|
|
2016-12-02 02:48:32 +05:30
|
|
|
<hr>
|
|
|
|
<div class="list-with-title">
|
|
|
|
<div class="subtle-text">{{ .Client }} would like to:</div>
|
2016-08-26 01:33:41 +05:30
|
|
|
{{ range $scope := .Scopes }}
|
2016-12-02 02:48:32 +05:30
|
|
|
<li class="bullet-point">
|
|
|
|
<div class="subtle-text">
|
|
|
|
{{ $scope }}
|
|
|
|
</div>
|
|
|
|
</li>
|
2016-08-26 01:33:41 +05:30
|
|
|
{{ end }}
|
|
|
|
</div>
|
2016-12-02 02:48:32 +05:30
|
|
|
<hr>
|
2016-08-26 01:33:41 +05:30
|
|
|
|
|
|
|
<div>
|
2016-12-02 02:48:32 +05:30
|
|
|
<div class="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 02:48:32 +05:30
|
|
|
<button type="submit" class="btn btn-success">
|
|
|
|
<span class="btn-text">Grant Access</span>
|
2016-08-26 01:33:41 +05:30
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2016-12-02 02:48:32 +05:30
|
|
|
<div class="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 02:48:32 +05:30
|
|
|
<button type="submit" class="btn btn-provider">
|
|
|
|
<span class="btn-text">Cancel</span>
|
2016-08-26 01:33:41 +05:30
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ template "footer.html" . }}
|