diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2025-03-21 20:50:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-21 20:50:39 +0800 |
commit | 279473f467f6af558293c2147a08241f8b934eea (patch) | |
tree | 7a2a2c28559adc87d865061319b5b4a1f67051b7 /templates/user/auth/grant_error.tmpl | |
parent | 0da7318cf3b4933ec76ba7730daa1deacfcb0e78 (diff) | |
download | gitea-main.tar.gz gitea-main.zip |
Diffstat (limited to 'templates/user/auth/grant_error.tmpl')
-rw-r--r-- | templates/user/auth/grant_error.tmpl | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/templates/user/auth/grant_error.tmpl b/templates/user/auth/grant_error.tmpl index e37c4f6544..7a4521d331 100644 --- a/templates/user/auth/grant_error.tmpl +++ b/templates/user/auth/grant_error.tmpl @@ -1,15 +1,12 @@ {{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 {{if .IsRepo}}repository{{end}}"> - {{if .IsRepo}}{{template "repo/header" .}}{{end}} - <div class="column seven wide"> - <div class="ui middle centered raised segments"> - <h1 class="ui top attached header"> - {{ctx.Locale.Tr "auth.authorization_failed"}} - </h1> - <h3 class="ui attached segment">{{.Error.ErrorDescription}}</h3> - <div class="ui attached segment"> - <p>{{ctx.Locale.Tr "auth.authorization_failed_desc"}}</p> - </div> +<div role="main" aria-label="{{.Title}}" class="page-content oauth2-authorize-application-box"> + <div class="ui container tw-max-w-[500px]"> + <h1 class="ui top attached header"> + {{ctx.Locale.Tr "auth.authorization_failed"}} + </h1> + <h3 class="ui attached segment">{{.Error.ErrorDescription}}</h3> + <div class="ui attached segment"> + <p>{{ctx.Locale.Tr "auth.authorization_failed_desc"}}</p> </div> </div> </div> |