aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/auth/grant_error.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2025-03-21 20:50:39 +0800
committerGitHub <noreply@github.com>2025-03-21 20:50:39 +0800
commit279473f467f6af558293c2147a08241f8b934eea (patch)
tree7a2a2c28559adc87d865061319b5b4a1f67051b7 /templates/user/auth/grant_error.tmpl
parent0da7318cf3b4933ec76ba7730daa1deacfcb0e78 (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Fix oauth2 auth and UI (#33961)HEADmain
Diffstat (limited to 'templates/user/auth/grant_error.tmpl')
-rw-r--r--templates/user/auth/grant_error.tmpl19
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>