mirror of
1
Fork 0
forgejo/templates/repo/settings
wxiaoguang 59eb660b1a
Fix incorrect `toggle` buttons (#23676)
Some of those are still Copy&Paste problems.

This PR:

* Only cleans the legacy incorrect code, doesn't change or improve the
"action" logic.
* Remove the redundant `$('.toggle.button').on('click')`, now
`$('.show-panel.button').on('click')` handles that kinds of buttons


Actually, there is only one correct "toggle button" in code, the one on
the webhook page.

No need to backport.
2023-03-26 20:06:11 +08:00
..
webhook Fix incorrect `toggle` buttons (#23676) 2023-03-26 20:06:11 +08:00
branches.tmpl Remove Fomantic-UI's `.hidden` CSS class for menu elements (#22895) 2023-02-14 19:53:54 +08:00
collaboration.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
deploy_keys.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
githook_edit.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00
githooks.tmpl Move helpers to be prefixed with `gt-` (#22879) 2023-02-13 17:59:59 +00:00
lfs.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
lfs_file.tmpl Fix incorrect `show-modal` and `show-panel` class (#23660) 2023-03-23 12:52:20 -04:00
lfs_file_find.tmpl Add context when rendering labels or emojis (#23281) 2023-03-05 22:59:05 +01:00
lfs_locks.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
lfs_pointers.tmpl Fix incorrect `show-modal` and `show-panel` class (#23660) 2023-03-23 12:52:20 -04:00
nav.tmpl Add user secrets (#22191) 2023-02-01 20:53:04 +08:00
navbar.tmpl Add user secrets (#22191) 2023-02-01 20:53:04 +08:00
options.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
protected_branch.tmpl Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463) 2023-03-16 11:32:25 -05:00
runner_edit.tmpl Implement actions (#21937) 2023-01-31 09:45:19 +08:00
runners.tmpl Implement actions (#21937) 2023-01-31 09:45:19 +08:00
secrets.tmpl Add user secrets (#22191) 2023-02-01 20:53:04 +08:00
tags.tmpl Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463) 2023-03-16 11:32:25 -05:00