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/wiki
silverwind c61ed6fad4
Rework repo buttons (#20602, #20718) (#20719)
* 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

* Restore history button and hide add button when unable to add (#20718)

Fix two regressions from #20602:

- Restore the 'History' button that was previously unable to render
  because it's show condition was never hit
- Hide the 'Add File' button when there would be no items in the
  dropdown.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 years ago
..
new.tmpl Remove dependent on session auth for api/v1 routers (#19321) 3 years ago
pages.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 3 years ago
revision.tmpl Clean up and fix clone button script (#20415 & #20600) (#20599) 3 years ago
start.tmpl Multiple Escaping Improvements (#17551) 3 years ago
view.tmpl Rework repo buttons (#20602, #20718) (#20719) 3 years ago