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.
forgejo/templates
wxiaoguang d1527dac3d
Improve file history UI and fix URL escaping bug (#27531)
Follow #27354

Major changes:

1. The `right aligned` in `<th class="one wide right aligned">` is a
no-op because it doesn't have any content
2. The `gt-df` in `<td class="sha gt-df">` was wrong, it causes UI
misalignment, a table cell shouldn't be "flex"
3. Use `gt-py-0` for `gt-pt-0 gt-pb-0`
4. Simplify the layout for buttons, because the `text right aligned` is
widely used and good enough, it doesn't make sense to introduce the
`<div class="gt-df gt-je">`
5. Escape the `$.FileName` correctly


Before:


![image](https://github.com/go-gitea/gitea/assets/2114189/eb2ced3f-1dad-4149-9ed2-aee4c0663621)

After:


![image](https://github.com/go-gitea/gitea/assets/2114189/08244b61-416b-4279-b495-029bc0a96f67)
9 months ago
..
admin Remove unnecessary desc for openssh key cron task (#27515) 9 months ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 1 year ago
base Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 9 months ago
code Fix more "locale" usages (#27259) 9 months ago
custom Add footer extra links template (#9576) 5 years ago
devtest Fix more "locale" usages (#27259) 9 months ago
explore Fix more "locale" usages (#27259) 9 months ago
mail Update team invitation email link (#26550) 10 months ago
org Use flex-container for repo and org settings (#27418) 9 months ago
package Cargo package - Fix missing domain in cargo sparse url (#27370) 9 months ago
projects More `db.DefaultContext` refactor (#27265) 9 months ago
repo Improve file history UI and fix URL escaping bug (#27531) 9 months ago
shared add a shortcut to user's profile page to admin user details (#27299) 9 months ago
status Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 9 months ago
swagger Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago
user Improve feed icons and feed merge text color (#27498) 9 months ago
webhook Extract common code to new template (#26933) 10 months ago
home.tmpl Fix more "locale" usages (#27259) 9 months ago
install.tmpl Fix more "locale" usages (#27259) 9 months ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 9 months ago