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.
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>
2 months ago
..
actions Detect whether action view branch was deleted (#32764) 2 months ago
branch Refactor template ctx and render utils (#32422) 3 months ago
cite Fix Citation modal responsiveness and clipboard copy (#29799) 11 months ago
code Support "merge upstream branch" (Sync fork) (#32741) 2 months ago
diff Fix "unicode escape" JS error (#32806) 2 months ago
editor Fix file editor & preview (#32706) 2 months ago
find Fix word overflow in file search page (#32695) 2 months ago
graph Fix milestone deadline and date related problems (#32339) 3 months ago
issue Remove translation to issue add time because the format is fixed should not be translated (#32850) 2 months ago
migrate Fix javascript error when an anonymous user visiting migration page (#32144) 4 months ago
projects Fix incorrect project page CSS class (#32510) 3 months ago
pulls Fix fork page branch selection (#32711) 2 months ago
release Tweak repo sidebar (#32847) 2 months ago
settings Add priority to protected branch (#32286) 2 months ago
tag Refactor DateUtils and merge TimeSince (#32409) 3 months ago
wiki Fix "unicode escape" JS error (#32806) 2 months ago
activity.tmpl Implement recent commits graph (#29210) 11 months ago
blame.tmpl Fix the link for .git-blame-ignore-revs bypass (#31432) 7 months ago
branch_dropdown.tmpl Add "View all branches/tags" entry to Branch Selector (#32653) 2 months ago
clone_buttons.tmpl Rearrange Clone Panel (#31142) 2 months ago
clone_panel.tmpl Rearrange Clone Panel (#31142) 2 months ago
code_frequency.tmpl Refactor web routes (#30519) 10 months ago
commit_load_branches_and_tags.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
commit_page.tmpl Refactor RepoBranchTagSelector (#32681) 2 months ago
commit_status.tmpl Restore warning commit status (#27504) 1 year ago
commit_statuses.tmpl Replace 10 more gt- classes with tw- (#29945) 10 months ago
commits.tmpl fix: show tag name on branch/tag selector if repo shown from tag ref (#32689) 2 months ago
commits_list.tmpl Refactor template ctx and render utils (#32422) 3 months ago
commits_list_small.tmpl Refactor template ctx and render utils (#32422) 3 months ago
commits_search_dropdown.tmpl Unify search boxes (#29530) 11 months ago
commits_table.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
contributors.tmpl Add "n commits" link to contributors in contributors graph page (#32799) 2 months ago
create.tmpl Fix "force private" logic (#31012) 9 months ago
create_helper.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 11 months ago
empty.tmpl Rearrange Clone Panel (#31142) 2 months ago
file_info.tmpl Improve detecting empty files (#31332) 8 months ago
forks.tmpl Refactor find forks and fix possible bugs that weak permissions check (#32528) 2 months ago
graph.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
header.tmpl Refactor template ctx and render utils (#32422) 3 months ago
home.tmpl Tweak repo sidebar (#32847) 2 months ago
home_sidebar_bottom.tmpl Tweak repo sidebar (#32847) 2 months ago
home_sidebar_top.tmpl Tweak repo sidebar (#32847) 2 months ago
icon.tmpl Replace 10 more gt- classes with tw- (#29945) 10 months ago
latest_commit.tmpl Fix repo home file list (#32788) 2 months ago
navbar.tmpl Implement recent commits graph (#29210) 11 months ago
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 2 years ago
pulse.tmpl Fix issue title rendering and refactor legacy function names (#32703) 2 months ago
recent_commits.tmpl Refactor web routes (#30519) 10 months ago
release_tag_header.tmpl Refactor web routes (#30519) 10 months ago
search.tmpl Unify search boxes (#29530) 11 months ago
search_name.tmpl Clean template/helper.go (#23922) 2 years ago
shabox_badge.tmpl Always use HTML attributes for avatar size (#31509) 7 months ago
star_unstar.tmpl code optimization (#31315) 8 months ago
sub_menu.tmpl GitHub like repo home page (#32213) 2 months ago
unicode_escape_prompt.tmpl Replace some `gt-` classes with `tw-` (#29570) 11 months ago
upload.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
user_cards.tmpl Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (#32570) 2 months ago
view_file.tmpl Optimize the styling of icon buttons within file-header-right (#32675) 2 months ago
view_list.tmpl Fix various UI bugs (#32821) 2 months ago
watch_unwatch.tmpl Tweak repo buttons on mobile and labeled button border-radius (#30503) 10 months ago
watchers.tmpl Fix user-cards format (#24428) 2 years ago