diff options
| author | 2024-04-11 11:45:53 +0200 | |
|---|---|---|
| committer | 2024-04-11 11:45:53 +0200 | |
| commit | 9fb8a78f91adffd5f4d28df1270e407c25a7a16e (patch) | |
| tree | d68200744e28d07e75a52bb0c9f6593c86a38a91 /web/template/authorize.tmpl | |
| parent | [performance] massively improved ActivityPub delivery worker efficiency (#2812) (diff) | |
| download | gotosocial-9fb8a78f91adffd5f4d28df1270e407c25a7a16e.tar.xz | |
[feature] New user sign-up via web page (#2796)
* [feature] User sign-up form and admin notifs
* add chosen + filtered languages to migration
* remove stray comment
* chosen languages schmosen schmanguages
* proper error on local account missing
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 |
