diff options
Diffstat (limited to 'web/template/authorize.tmpl')
-rw-r--r-- | web/template/authorize.tmpl | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/web/template/authorize.tmpl b/web/template/authorize.tmpl index 9be094137..2767c4efb 100644 --- a/web/template/authorize.tmpl +++ b/web/template/authorize.tmpl @@ -19,22 +19,25 @@ {{- with . }} <main> - <form action="/oauth/authorize" method="POST"> - <h1>Hi {{ .user -}}!</h1> - <p> - Application - {{- if .appwebsite }} - <a href="{{- .appwebsite -}}" rel="nofollow noreferrer noopener" target="_blank">{{- .appname -}}</a> - {{- else }} - <b>{{- .appname -}}</b> - {{- end }} - would like to perform actions on your behalf, with scope - <em>{{- .scope -}}</em>. - </p> - <p> - To continue, the application will redirect to: <code>{{- .redirect -}}</code> - </p> - <button type="submit" style="width:200px;">Allow</button> - </form> + <section class="with-form" aria-labelledby="authorize"> + <h2 id="authorize">Authorize app</h2> + <form action="/oauth/authorize" method="POST"> + <p>Hi <b>{{- .user -}}</b>!</p> + <p> + Application + {{- if .appwebsite }} + <a href="{{- .appwebsite -}}" rel="nofollow noreferrer noopener" target="_blank">{{- .appname -}}</a> + {{- else }} + <b>{{- .appname -}}</b> + {{- end }} + would like to perform actions on your behalf, with scope + <em>{{- .scope -}}</em>. + </p> + <p> + To continue, the application will redirect to: <code>{{- .redirect -}}</code> + </p> + <button type="submit" class="btn btn-success">Allow</button> + </form> + </section> </main> {{- end }}
\ No newline at end of file |