|
|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
{{template "base/head" .}}
|
|
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content ui one column stackable tw-text-center page grid oauth2-authorize-application-box">
|
|
|
|
|
<div class="column seven wide">
|
|
|
|
|
<div class="ui middle centered raised segments">
|
|
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content oauth2-authorize-application-box">
|
|
|
|
|
<div class="ui container tw-max-w-[500px]">
|
|
|
|
|
<h3 class="ui top attached header">
|
|
|
|
|
{{ctx.Locale.Tr "auth.authorize_title" .Application.Name}}
|
|
|
|
|
</h3>
|
|
|
|
|
@ -18,7 +17,7 @@
|
|
|
|
|
<div class="ui attached segment">
|
|
|
|
|
<p>{{ctx.Locale.Tr "auth.authorize_redirect_notice" .ApplicationRedirectDomainHTML}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="ui attached segment">
|
|
|
|
|
<div class="ui attached segment tw-text-center">
|
|
|
|
|
<form method="post" action="{{AppSubUrl}}/login/oauth/grant">
|
|
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
|
<input type="hidden" name="client_id" value="{{.Application.ClientID}}">
|
|
|
|
|
@ -31,6 +30,5 @@
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{template "base/footer" .}}
|
|
|
|
|
|