1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/templates
silverwind 4a58a8ca31
Make the 500 page load themes (#24953)
The 500 page was not loading theme CSS, so always appeared in light
theme. This extracts the stylesheets into a shared template used by all
pages.

<img width="1262" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/72222b8d-a523-40d0-aa91-b9db32e5625d">

Small related rant: I think there should only be one `<head>` in all of
the templates, but I see it was deliberatly done that the 500 page has
its own `<head>` because "it should only depend the minimal template
functions", but I disagree because we are missing a lot of things that
are in the regular `<head>`.
2023-05-27 12:06:08 +02:00
..
admin Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Make the 500 page load themes (#24953) 2023-05-27 12:06:08 +02:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve button-ghost, remove tertiary button (#24692) 2023-05-13 20:38:22 +00:00
explore Add Link to Stars and Forks Page to Repo List (#24931) 2023-05-25 16:57:49 +00:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
package Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
projects Use shared/issueicon template in projects (#24922) 2023-05-25 14:25:31 +02:00
repo Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
shared Show bot label next to username when rendering autor link if the user is a bot (#24943) 2023-05-26 18:58:11 +02:00
status Make the 500 page load themes (#24953) 2023-05-27 12:06:08 +02:00
swagger Add the ability to pin Issues (#24406) 2023-05-25 15:17:19 +02:00
user Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Unification of registration fields order (#24737) 2023-05-15 20:29:39 +02:00
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00