1
0
Fork 0
forgejo/templates
wxiaoguang 65e190ae8b
Refactor repo header/list (#29969)
1. Use general "mobile-only" and "not-mobile" CSS styles, remove some`@media (max-width: 767.98px)` tricks
2. Use `CountFmt` for repo list, just like the repo header (and it matches GitHub, to avoid big numbers bloat the page)

(cherry picked from commit bfa160fc98a23923b6ce1cd4d99e8970d937d6ec)

Conflicts:
	templates/explore/repo_list.tmpl
	templates/repo/header.tmpl
	web_src/css/repo/header.css

 Resolved the template conflicts by porting the changes to Forgejo (in
 case of `header.tmpl`, applying the changes in `header_fork.tmpl). In
 case of the CSS change, opted to take Gitea's version and drop the
 entire media query.
2024-03-27 09:22:24 +01:00
..
admin Refactor repo header/list (#29969) 2024-03-27 09:22:24 +01:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Refactor repo header/list (#29969) 2024-03-27 09:22:24 +01:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Replace all simple inline styles with tailwind (#30032) 2024-03-26 19:04:28 +01:00
explore Refactor repo header/list (#29969) 2024-03-27 09:22:24 +01:00
mail templates: remove superfluous SanitizeHTML 2024-03-11 23:36:58 +07:00
org Migrate gap helpers to tailwind (#30034) 2024-03-26 19:04:28 +01:00
package Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00
projects Fix incorrect tailwind migration (#30007) 2024-03-26 19:04:27 +01:00
repo Refactor repo header/list (#29969) 2024-03-27 09:22:24 +01:00
shared Migrate font-weight helpers to tailwind (#30027) 2024-03-26 19:04:28 +01:00
status Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00
swagger Allow users to hide all "Add more units..." hints 2024-03-21 08:15:51 +01:00
user Migrate gap helpers to tailwind (#30034) 2024-03-26 19:04:28 +01:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-26 19:04:27 +01:00
home.tmpl templates: remove superfluous SanitizeHTML 2024-03-11 23:36:58 +07:00
install.tmpl [I18N] Improve English names & consistency 2024-03-10 19:10:29 +05:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00