gitea/templates/repo/settings
wxiaoguang 694441fec5
Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861)
* Remove customized (unmaintained) dropdown, improve aria a11y for dropdown

* fix repo permission

* use action instead of onChange

* re-order the CSS selector

* fix dropdown behavior for repo permissions, make elements inside menu item non-focusable

* use menu/menuitem instead of combobox/option. use tooltip(data-content) for aria-label, prevent from repeated attaching

* click menu item when pressing Enter

* code format

* fix repo permission

* repo setting: prevent from misleading users when error occurs

* fine tune the repo collaboration access mode dropdown (in case the access mode is undefined in the template)

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-06-03 17:38:26 -04:00
..
webhook Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
branches.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
collaboration.tmpl Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861) 2022-06-03 17:38:26 -04:00
deploy_keys.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
githook_edit.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
githooks.tmpl Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
lfs.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2022-02-08 11:02:30 +08:00
lfs_file.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
lfs_file_find.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
lfs_locks.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
lfs_pointers.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
nav.tmpl Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
navbar.tmpl Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
options.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
protected_branch.tmpl Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
tags.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00