new access token UI

This commit is contained in:
Unknwon 2015-08-19 03:36:16 +08:00
parent 2e8ffc2ffb
commit 4c7b6414eb
15 changed files with 234 additions and 201 deletions

View file

@ -226,13 +226,6 @@ function initRepository() {
});
}
// Settings
if ($('.repository.settings').length > 0) {
$('#add-deploy-key').click(function () {
$('#add-deploy-key-panel').show();
});
}
// Issues
if ($('.repository.view.issue').length > 0) {
var $status_btn = $('#status-button');
@ -351,6 +344,9 @@ $(document).ready(function () {
}).modal('show');
return false;
});
$('.show-panel.button').click(function () {
$($(this).data('panel')).show();
});
initCommentForm();
initInstall();