forgejo/templates/repo
silverwind 9dc264a2ee
Diff file tree tweaks (#21446)
- Left-align the diff stat line again like previously.
- Default the file tree to collapsed view, which means the tree will
rendered initially collapsed and it may "pop in" via JS if enabled. I
think this is more desirable than having the empty space for the tree
"pop out" like it currently does.
- Mute the icon, removing color unless hovered.
- Increase icon size and vertically center it.

Before:
<img width="1271" alt="image"
src="https://user-images.githubusercontent.com/115237/195666451-55771595-0525-42b8-be1b-d03cc1cb2961.png">


After:
<img width="1280" alt="image"
src="https://user-images.githubusercontent.com/115237/195666385-c91fd0de-6dcc-4d9c-89ff-7581828fcf14.png">

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-10-14 17:43:25 +08:00
..
branch
diff Diff file tree tweaks (#21446) 2022-10-14 17:43:25 +08:00
editor
find
graph
issue Fix calls to i18n in templates (#21394) 2022-10-10 15:05:32 +01:00
migrate
projects
pulls Add filetree on left of diff view (#21012) 2022-09-27 13:22:19 +08:00
release Tag list should include draft releases with existing tags (#21263) 2022-10-03 20:05:53 +08:00
settings Fix calls to i18n in templates (#21394) 2022-10-10 15:05:32 +01:00
wiki
activity.tmpl Respect user's locale when rendering the date range in the repo activity page (#21410) 2022-10-13 00:14:14 +03:00
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl
commit_page.tmpl Add filetree on left of diff view (#21012) 2022-09-27 13:22:19 +08:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl
create.tmpl Remove cancel button in repo creation page (#21381) 2022-10-11 22:47:35 +08:00
empty.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl Fix #21406: Hide repo information from file view/blame mode (#21420) 2022-10-13 11:31:10 +03:00
icon.tmpl
packages.tmpl
search.tmpl Add user/organization code search (#19977) 2022-10-11 00:12:03 +01:00
shabox_badge.tmpl
sub_menu.tmpl Fix #21406: Hide repo information from file view/blame mode (#21420) 2022-10-13 11:31:10 +03:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl
watchers.tmpl