update authorize template with main wrapper

This commit is contained in:
f0x 2021-09-10 23:06:08 +02:00
commit 1c8e847b3d

View file

@ -1,15 +1,17 @@
{{ template "header.tmpl" .}} {{ template "header.tmpl" .}}
<form action="/oauth/authorize" method="POST"> <main>
<h1>Hi {{.user}}!</h1> <form action="/oauth/authorize" method="POST">
<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> <h1>Hi {{.user}}!</h1>
<p>The application will redirect to {{.redirect}} to continue.</p> <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> <p>The application will redirect to {{.redirect}} to continue.</p>
<button <p>
type="submit" <button
style="width:200px;" type="submit"
> style="width:200px;"
Allow >
</button> Allow
</p> </button>
</form> </p>
</form>
</main>
{{ template "footer.tmpl" .}} {{ template "footer.tmpl" .}}