0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 11:31:13 +01:00
gitea/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)
2023-10-09 07:19:23 +00:00
..
admin Remove unnecessary desc for openssh key cron task (#27515) 2023-10-08 14:23:39 +00:00
api/packages/pypi
base Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
code Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
custom
devtest Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
explore Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
mail
org Use flex-container for repo and org settings (#27418) 2023-10-04 08:47:54 +02:00
package Cargo package - Fix missing domain in cargo sparse url (#27370) 2023-10-01 13:43:15 +00:00
projects More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
repo Improve file history UI and fix URL escaping bug (#27531) 2023-10-09 07:19:23 +00:00
shared add a shortcut to user's profile page to admin user details (#27299) 2023-10-08 02:48:32 +00:00
status Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
swagger
user Improve feed icons and feed merge text color (#27498) 2023-10-07 23:26:27 +00:00
webhook
home.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
install.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
post-install.tmpl