1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/templates/repo
silverwind df9a78cd04
Tweak repo sidebar (#32847)
Before and after:

<img width="218" alt="Screenshot 2024-12-15 at 04 53 53"
src="https://github.com/user-attachments/assets/299b1f0a-ba72-47c6-b662-a9d540d4d741"
/>
<img width="222" alt="Screenshot 2024-12-15 at 04 53 41"
src="https://github.com/user-attachments/assets/5a2b5332-e324-4d20-82e9-21d1c850e826"
/>

Diff without whitespace:
https://github.com/go-gitea/gitea/pull/32847/files?diff=unified&w=1

The `tw-mt-2` is fine even if the element renders empty:

<img width="387" alt="image"
src="https://github.com/user-attachments/assets/76a976e4-ba2e-48a5-9248-c361552a937a"
/>

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-15 10:01:46 +00:00
..
actions Detect whether action view branch was deleted (#32764) 2024-12-12 19:28:23 +00:00
branch Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
cite Fix Citation modal responsiveness and clipboard copy (#29799) 2024-03-15 02:38:13 +00:00
code Support "merge upstream branch" (Sync fork) (#32741) 2024-12-06 21:10:35 +00:00
diff Fix "unicode escape" JS error (#32806) 2024-12-12 18:37:44 +00:00
editor Fix file editor & preview (#32706) 2024-12-04 09:26:54 +00:00
find Fix word overflow in file search page (#32695) 2024-12-03 16:52:25 +00:00
graph Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
issue Remove translation to issue add time because the format is fixed should not be translated (#32850) 2024-12-15 07:44:13 +00:00
migrate Fix javascript error when an anonymous user visiting migration page (#32144) 2024-10-02 04:37:16 +00:00
projects Fix incorrect project page CSS class (#32510) 2024-11-15 01:30:26 +00:00
pulls Fix fork page branch selection (#32711) 2024-12-05 00:57:32 +00:00
release Tweak repo sidebar (#32847) 2024-12-15 10:01:46 +00:00
settings Add priority to protected branch (#32286) 2024-11-27 05:41:06 +01:00
tag Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
wiki Fix "unicode escape" JS error (#32806) 2024-12-12 18:37:44 +00:00
activity.tmpl Implement recent commits graph (#29210) 2024-02-24 10:22:51 +00:00
blame.tmpl Fix the link for .git-blame-ignore-revs bypass (#31432) 2024-06-20 23:28:34 +00:00
branch_dropdown.tmpl Add "View all branches/tags" entry to Branch Selector (#32653) 2024-12-02 20:19:27 +00:00
clone_buttons.tmpl Rearrange Clone Panel (#31142) 2024-12-11 21:54:30 +08:00
clone_panel.tmpl Rearrange Clone Panel (#31142) 2024-12-11 21:54:30 +08:00
code_frequency.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
commit_load_branches_and_tags.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
commit_page.tmpl Refactor RepoBranchTagSelector (#32681) 2024-12-02 01:41:32 +00:00
commit_status.tmpl Restore warning commit status (#27504) 2023-10-08 22:16:06 +00:00
commit_statuses.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
commits_list_small.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
commits_list.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
commits_search_dropdown.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
commits_table.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
commits.tmpl fix: show tag name on branch/tag selector if repo shown from tag ref (#32689) 2024-12-02 13:34:16 +00:00
contributors.tmpl Add "n commits" link to contributors in contributors graph page (#32799) 2024-12-12 19:02:54 +00:00
create_helper.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-25 14:02:20 +00:00
create.tmpl Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
empty.tmpl Rearrange Clone Panel (#31142) 2024-12-11 21:54:30 +08:00
file_info.tmpl Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
forks.tmpl Refactor find forks and fix possible bugs that weak permissions check (#32528) 2024-11-18 03:06:25 +00:00
graph.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
header.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
home_sidebar_bottom.tmpl Tweak repo sidebar (#32847) 2024-12-15 10:01:46 +00:00
home_sidebar_top.tmpl Tweak repo sidebar (#32847) 2024-12-15 10:01:46 +00:00
home.tmpl Tweak repo sidebar (#32847) 2024-12-15 10:01:46 +00:00
icon.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
latest_commit.tmpl Fix repo home file list (#32788) 2024-12-11 23:54:42 +08:00
navbar.tmpl Implement recent commits graph (#29210) 2024-02-24 10:22:51 +00:00
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
pulse.tmpl Fix issue title rendering and refactor legacy function names (#32703) 2024-12-04 01:39:33 +00:00
recent_commits.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
release_tag_header.tmpl Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
search_name.tmpl Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
search.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
shabox_badge.tmpl Always use HTML attributes for avatar size (#31509) 2024-06-28 21:29:15 +00:00
star_unstar.tmpl code optimization (#31315) 2024-06-11 21:07:10 +08:00
sub_menu.tmpl GitHub like repo home page (#32213) 2024-12-06 14:29:04 +00:00
unicode_escape_prompt.tmpl Replace some gt- classes with tw- (#29570) 2024-03-04 03:33:20 +00:00
upload.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
user_cards.tmpl Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (#32570) 2024-11-22 18:51:51 +00:00
view_file.tmpl Optimize the styling of icon buttons within file-header-right (#32675) 2024-12-02 22:36:16 +08:00
view_list.tmpl Fix various UI bugs (#32821) 2024-12-13 01:45:32 -05:00
watch_unwatch.tmpl Tweak repo buttons on mobile and labeled button border-radius (#30503) 2024-04-16 17:46:12 +02:00
watchers.tmpl Fix user-cards format (#24428) 2023-04-29 15:43:01 -04:00