mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-03 02:18:07 -06:00
template formatting
This commit is contained in:
parent
7f4d9b689a
commit
4a2c712b3d
36 changed files with 1037 additions and 1039 deletions
|
|
@ -19,25 +19,25 @@
|
|||
|
||||
{{- with . }}
|
||||
<main>
|
||||
<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>
|
||||
<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 }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue