aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/oauth_authorize.tpl
blob: f5da11cdcc3634f0ba4f36135c60694f3a8cc3bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<h1>{{$title}}</h1>

<div class='oauthapp'>
	<img src='{{$app.icon}}'>
	<h4>{{$app.name}}</h4>
	<h3>{{$authorize}}</h3>
	<form method="POST">
	<div class="settings-submit-wrapper">
		<input type="hidden" name="client_id" value="{{$client_id}}" />
		<input type="hidden" name="redirect_uri" value="{{$redirect_uri}}" />
		<input type="hidden" name="state" value="{{$state}}" />
		<button class="btn btn-lg btn-danger" name="authorize" value="deny" type="submit">{{$no}}</button>
		<button class="btn btn-lg btn-success" name="authorize" value="allow" type="submit">{{$yes}}</button>
	</div>
	</form>
</div>