forgejo/templates/base
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
..
alert.tmpl Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
alert_details.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
disable_form_autofill.tmpl Disable form autofill (#17291) 2021-10-19 01:08:41 +03:00
footer.tmpl Add new captcha: cloudflare turnstile (#22369) 2023-02-05 15:29:03 +08:00
footer_content.tmpl Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2023-04-29 07:35:59 -04:00
head.tmpl Make the 500 page load themes (#24953) 2023-05-27 12:06:08 +02:00
head_navbar.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
head_script.tmpl Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
modal_actions_confirm.tmpl Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
paginate.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
stylesheets.tmpl Make the 500 page load themes (#24953) 2023-05-27 12:06:08 +02:00