You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
silverwind 564102ce89
Rework and fix stopwatch (#30732)
Fixes https://github.com/go-gitea/gitea/issues/30721 and overhauls the
stopwatch. Time is now shown inside the "dot" icon and on both mobile
and desktop. All rendering is now done by `<relative-time>`, the
`pretty-ms` dependency is dropped.

Desktop:
<img width="557" alt="Screenshot 2024-04-29 at 22 33 27"
src="https://github.com/go-gitea/gitea/assets/115237/3a46cdbf-6af2-4bf9-b07f-021348badaac">

Mobile:
<img width="640" alt="Screenshot 2024-04-29 at 22 34 19"
src="https://github.com/go-gitea/gitea/assets/115237/8a2beea7-bd5d-473f-8fff-66f63fd50877">

Note for tippy:
Previously, tippy instances defaulted to "menu" theme, but that theme is
really only meant for `.ui.menu`, so it was not optimal for the
stopwatch popover.

This introduces a unopinionated `default` theme that has no padding and
should be suitable for all content. I reviewed all existing uses and
explicitely set the desired `theme` on all of them.
10 months ago
..
admin Don't show loading indicators when refreshing the system status (#30712) 10 months ago
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 10 months ago
base Rework and fix stopwatch (#30732) 10 months ago
custom Add footer extra links template (#9576) 5 years ago
devtest Fix issue comment form and quick-submit (#30623) 10 months ago
explore Refactor web routes (#30519) 10 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 12 months ago
org Right align the "Settings" menu item in overflow-menu (#30764) 10 months ago
package Add support for npm bundleDependencies (#30751) 10 months ago
projects Fix project name wrapping, remove horizontal margin on header (#30631) 10 months ago
repo Right align the "Settings" menu item in overflow-menu (#30764) 10 months ago
shared Rename CodeIndexerEnabled to IsRepoIndexerEnabled (#30762) 10 months ago
status Initial support for colorblindness-friendly themes (#30625) 10 months ago
swagger Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 10 months ago
user Fix all rounded borders, change affected tab menus to pills (#30707) 10 months ago
webhook Fix incorrect tailwind migration (#30007) 11 months ago
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
install.tmpl Correct locale string rendering (#30522) 10 months ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago