diff options
author | 2021-09-13 14:45:33 +0200 | |
---|---|---|
committer | 2021-09-13 14:45:33 +0200 | |
commit | 026674bc2c4eb5f53bcb38e7efce2fe2dfebe974 (patch) | |
tree | aeb8d5a884379b86597bc530f0375fc5dbe5357d /web/template/authorize.tmpl | |
parent | update my personal library versions (#220) (diff) | |
download | gotosocial-026674bc2c4eb5f53bcb38e7efce2fe2dfebe974.tar.xz |
Thread views on the web (#207)
* Webviews for status threads
* fix up templates
* add ForkAwesome and gotosocial-styling into repo
* clean up gotosocial-styling, old styling
* update CONTRIBUTING with new css building, and nodemon recommendation
* update Dockerfile with new css bundling
* those weren't supposed to make it in
* upgrade gotosocial-styling deps
* update authorize template with main wrapper
* update css pipeline
* abstract status from thread to avoid copy-pasting
* basic CW implementation
* fix PR review suggestions
* fix no-image-desc icon alignment
* remove template loading println
* remove println
* remove changes to testmodels
* reset changes to testmodels
Diffstat (limited to 'web/template/authorize.tmpl')
-rw-r--r-- | web/template/authorize.tmpl | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/web/template/authorize.tmpl b/web/template/authorize.tmpl index bc609ed66..b6eef9561 100644 --- a/web/template/authorize.tmpl +++ b/web/template/authorize.tmpl @@ -1,15 +1,17 @@ {{ template "header.tmpl" .}} - <form action="/oauth/authorize" method="POST"> - <h1>Hi {{.user}}!</h1> - <p>Application <b>{{.appname}}</b> {{if len .appwebsite | eq 0 | not}}({{.appwebsite}}) {{end}}would like to perform actions on your behalf, with scope <em>{{.scope}}</em>.</p> - <p>The application will redirect to {{.redirect}} to continue.</p> - <p> - <button - type="submit" - style="width:200px;" - > - Allow - </button> - </p> - </form> + <main> + <form action="/oauth/authorize" method="POST"> + <h1>Hi {{.user}}!</h1> + <p>Application <b>{{.appname}}</b> {{if len .appwebsite | eq 0 | not}}({{.appwebsite}}) {{end}}would like to perform actions on your behalf, with scope <em>{{.scope}}</em>.</p> + <p>The application will redirect to {{.redirect}} to continue.</p> + <p> + <button + type="submit" + style="width:200px;" + > + Allow + </button> + </p> + </form> + </main> {{ template "footer.tmpl" .}}
\ No newline at end of file |