mirror of
1
Fork 0
forgejo/templates/repo
silverwind abdebd2641
Rework repo buttons (#20602)
* Rework repo buttons

- Replace "New PR" and "Go to File" button with Icon Button
- Move all "Add File" actions into a dropdown button
- Remove most custom styling of clone buttons
- Margin and wiki tweaks

Buttons are now all equal height, mobile layout wraps gracefully.

Fixes: https://github.com/go-gitea/gitea/issues/13671
Replaces: https://github.com/go-gitea/gitea/pull/20375

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-08 02:15:11 +03:00
..
branch Add disable download source configuration (#20548) 2022-07-31 18:57:02 +02:00
diff Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
editor Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
find Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
graph Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
issue Add default commit messages to PR for squash merge (#20618) 2022-08-03 12:56:59 +08:00
migrate Remove blue text on migrate page (#20273) 2022-07-12 17:04:15 +08:00
projects Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
pulls Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
release Add disable download source configuration (#20548) 2022-07-31 18:57:02 +02:00
settings Implement sync push mirror on commit (#19411) 2022-07-08 20:45:12 +01:00
wiki Rework repo buttons (#20602) 2022-08-08 02:15:11 +03:00
activity.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
blame.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
branch_dropdown.tmpl Rework repo buttons (#20602) 2022-08-08 02:15:11 +03:00
clone_buttons.tmpl Rework repo buttons (#20602) 2022-08-08 02:15:11 +03:00
clone_script.tmpl Clean up and fix clone button script (#20415) 2022-07-31 20:29:55 +02:00
commit_page.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
commit_status.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commit_statuses.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
commits.tmpl Rework repo buttons (#20602) 2022-08-08 02:15:11 +03:00
commits_list.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
commits_list_small.tmpl Fix a broken link in `commits_list_small.tmpl` (#18763) 2022-02-14 19:19:07 +08:00
commits_table.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
create.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
empty.tmpl Add default value for clone URLs (#20600) 2022-08-02 10:52:05 +08:00
forks.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
graph.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
header.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
home.tmpl Rework repo buttons (#20602) 2022-08-08 02:15:11 +03:00
icon.tmpl Do not display org avatar near icon for internal repos (#13957) 2020-12-13 16:51:15 -05:00
packages.tmpl Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
search.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
shabox_badge.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
sub_menu.tmpl Rework repo buttons (#20602) 2022-08-08 02:15:11 +03:00
unicode_escape_prompt.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
upload.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
user_cards.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
view_file.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
view_list.tmpl Rework repo buttons (#20602) 2022-08-08 02:15:11 +03:00
watchers.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00