summaryrefslogtreecommitdiffstats
path: root/templates/status
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-09-12 11:08:46 +0200
committerGitHub <noreply@github.com>2022-09-12 17:08:46 +0800
commitafdab9d8d495590f215f9a2a54d925ed72ad75d0 (patch)
treedcb46abb69f22c1a85ba4d415c544f084e00f1ba /templates/status
parentfe73246cf93628cfc7abf096fb540b2f532b4507 (diff)
downloadgitea-afdab9d8d495590f215f9a2a54d925ed72ad75d0.tar.gz
gitea-afdab9d8d495590f215f9a2a54d925ed72ad75d0.zip
Remove fomantic image module (#21145)
Remove this small, but unnecessary [module](https://fomantic-ui.com/elements/image.html) and use `img` selector over previous `.image`. Did a few tests, could not notice any visual regression. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/status')
-rw-r--r--templates/status/404.tmpl2
-rw-r--r--templates/status/500.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl
index 571124016b..8dd4cfb8ae 100644
--- a/templates/status/404.tmpl
+++ b/templates/status/404.tmpl
@@ -2,7 +2,7 @@
<div class="page-content ui container center full-screen-width {{if .IsRepo}}repository{{end}}">
{{if .IsRepo}}{{template "repo/header" .}}{{end}}
<div class="ui container center">
- <p style="margin-top: 100px"><img class="ui centered image" src="{{AssetUrlPrefix}}/img/404.png" alt="404"/></p>
+ <p style="margin-top: 100px"><img src="{{AssetUrlPrefix}}/img/404.png" alt="404"/></p>
<div class="ui divider"></div>
<br>
<p>{{.locale.Tr "error404" | Safe}}
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index 4aaf8f50f0..cdedd947a0 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -1,6 +1,6 @@
{{template "base/head" .}}
<div class="page-content ui container full-screen-width center">
- <p style="margin-top: 100px"><img class="ui centered image" src="{{AssetUrlPrefix}}/img/500.png" alt="500"/></p>
+ <p style="margin-top: 100px"><img src="{{AssetUrlPrefix}}/img/500.png" alt="500"/></p>
<div class="ui divider"></div>
<br>
{{if .ErrorMsg}}