summaryrefslogtreecommitdiff
path: root/web/template/authorize.tmpl
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-04-11 11:45:53 +0200
committerLibravatar GitHub <noreply@github.com>2024-04-11 11:45:53 +0200
commit9fb8a78f91adffd5f4d28df1270e407c25a7a16e (patch)
treed68200744e28d07e75a52bb0c9f6593c86a38a91 /web/template/authorize.tmpl
parent[performance] massively improved ActivityPub delivery worker efficiency (#2812) (diff)
downloadgotosocial-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.tmpl37
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