gitea/templates/devtest
wxiaoguang 8fcbdf05b0
Refactor flash message and remove SanitizeHTML template func (#37179)
1. Fix the "flash message" layout problem for different cases
* I am sure most of the users should have ever seen the ugly
center-aligned error message with multiple lines.
2. Fix inconsistent "Details" flash message EOL handling, sometimes
`\n`, sometimes `<br>`
   * Now, always use "\n" and use `<pre>` to render
3. Remove SanitizeHTML template func because it is not useful and can be
easily abused.
* But it is still kept for mail templates, for example:
https://github.com/go-gitea/gitea/issues/36049
4. Clarify PostProcessCommitMessage's behavior and add FIXME comment

By the way: cleaned up some devtest pages, move embedded style block to
CSS file
2026-04-12 10:17:25 +08:00
..
badge-actions-svg.tmpl Add flat-square action badge style (#34062) 2025-04-01 09:42:10 +00:00
badge-commit-sign.tmpl Update action status badge layout (#34018) 2025-03-28 15:12:47 +00:00
devtest-footer.tmpl Merge some standalone Vite entries into index.js (#37085) 2026-04-05 19:13:34 +00:00
devtest-header.tmpl Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
devtest-list.tmpl
fetch-action.tmpl Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
flex-list.tmpl Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
fomantic-dropdown.tmpl Refactor dropdown ellipsis (#34123) 2025-04-05 03:21:11 +00:00
fomantic-modal.tmpl Refactor time tracker UI (#34983) 2025-07-08 08:59:31 +00:00
form-fields.tmpl Indicate form field readonly via background (#37175) 2026-04-11 14:38:56 +00:00
gitea-ui.tmpl Clean up AppURL, remove legacy origin-url webcomponent (#37090) 2026-04-03 17:56:31 +00:00
global-button.tmpl
keyboard-shortcut.tmpl Add keyboard shortcuts for repository file and code search (#36416) 2026-02-23 17:20:56 +08:00
label.tmpl
mail-preview.tmpl Refactor mail template and support preview (#34990) 2025-07-09 10:25:25 +08:00
markup-render.tmpl markup: improve code block readability and isolate copy button (#34009) 2025-04-19 05:53:39 +00:00
relative-time.tmpl Fix relative-time RangeError (#37021) 2026-03-28 13:10:51 +00:00
repo-action-view.tmpl Add summary to action runs view (#36883) 2026-03-22 01:04:39 +00:00
severity-colors.tmpl Improve severity labels in Actions logs and tweak colors (#36993) 2026-03-26 10:18:50 +00:00
tmplerr-sub.tmpl
tmplerr.tmpl
toast-and-message.tmpl Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
unicode-escape.tmpl Improve control char rendering and escape button styling (#37094) 2026-04-06 11:07:33 +00:00