mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-03 00:47:33 +01:00
26f941fbda
This patch: - Use `<button>` replace anchor link `<a>` in **_Delete/Restore Branch_** button to avoid unexpected page jump before restore branch actually done. - Also replace right side buttons with `<button>` in branch list, let some screen readers know they are buttons. ## Before click restore branch -> restore triggered -> page refreshed, but branch status not update -> manually refresh page <details> https://user-images.githubusercontent.com/76462613/197389108-5a0bd259-0455-40b2-92ac-4326900276f8.mp4 </details> ## After waiting restore done -> page refresh -> branch status update <details> https://user-images.githubusercontent.com/76462613/197428683-616fcbd2-70f9-4572-bf76-e0b7f77b6dd7.mp4 </details> Signed-off-by: baronbunny <its@baronbunny.cn> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv> |
||
---|---|---|
.. | ||
branch | ||
cite | ||
diff | ||
editor | ||
find | ||
graph | ||
issue | ||
migrate | ||
projects | ||
pulls | ||
release | ||
settings | ||
wiki | ||
activity.tmpl | ||
blame.tmpl | ||
branch_dropdown.tmpl | ||
clone_buttons.tmpl | ||
clone_script.tmpl | ||
commit_page.tmpl | ||
commit_status.tmpl | ||
commit_statuses.tmpl | ||
commits_list_small.tmpl | ||
commits_list.tmpl | ||
commits_table.tmpl | ||
commits.tmpl | ||
create.tmpl | ||
empty.tmpl | ||
file_info.tmpl | ||
forks.tmpl | ||
graph.tmpl | ||
header.tmpl | ||
home.tmpl | ||
icon.tmpl | ||
packages.tmpl | ||
search.tmpl | ||
shabox_badge.tmpl | ||
sub_menu.tmpl | ||
unicode_escape_prompt.tmpl | ||
upload.tmpl | ||
user_cards.tmpl | ||
view_file.tmpl | ||
view_list.tmpl | ||
watchers.tmpl |