forked from forgejo/forgejo
add personal access token panel #12
This commit is contained in:
parent
21b9d5fa1f
commit
8c9338a537
20 changed files with 311 additions and 62 deletions
|
@ -300,8 +300,11 @@ function initCore() {
|
|||
$.magnificPopup.close();
|
||||
});
|
||||
|
||||
// Collapse.
|
||||
// Plugins.
|
||||
$('.collapse').hide();
|
||||
$('.tipsy-tooltip').tipsy({
|
||||
fade: true
|
||||
});
|
||||
}
|
||||
|
||||
function initUserSetting() {
|
||||
|
@ -329,9 +332,9 @@ function initUserSetting() {
|
|||
$profile_form.submit();
|
||||
});
|
||||
|
||||
// Show add SSH key panel.
|
||||
$('#ssh-add').click(function () {
|
||||
$('#user-ssh-add-form').removeClass("hide");
|
||||
// Show panels.
|
||||
$('.show-form-btn').click(function () {
|
||||
$($(this).data('target-form')).removeClass("hide");
|
||||
});
|
||||
|
||||
// Confirmation of delete account.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue