Move key forms before list and add cancel button (#17432)

* Move GPG form before list and add cancel button
* Move SSH form before list and add cancel button

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
authored and GitHub committed 2021-10-28 18:55:48 +08:00
1 parent 54243eed8d
commit f46e67b519
4 files changed
+80 -89

No files matched your search

+2 -1
View File
@@ -288,8 +288,9 @@ export function initGlobalButtons() {
$($(this).data('panel')).show();
});
$('.hide-panel.button').on('click', function () {
$('.hide-panel.button').on('click', function (event) {
$($(this).data('panel')).hide();
event.preventDefault();
});
$('.show-modal.button').on('click', function () {