Add API Management to admin CP
This commit is contained in:
parent
ade16e64c8
commit
3e595ca856
9 changed files with 395 additions and 4 deletions
|
@ -61,8 +61,10 @@ $(document).ready(function () {
|
|||
text: 'Once this API key is revoked any applications currently using it will stop working.',
|
||||
showCancelButton: true,
|
||||
allowOutsideClick: true,
|
||||
closeOnConfirm: false,
|
||||
confirmButtonText: 'Revoke',
|
||||
confirmButtonColor: '#d9534f',
|
||||
showLoaderOnConfirm: true
|
||||
}, function () {
|
||||
$.ajax({
|
||||
method: 'DELETE',
|
||||
|
@ -73,6 +75,8 @@ $(document).ready(function () {
|
|||
}).done(function (data) {
|
||||
swal({
|
||||
type: 'success',
|
||||
title: '',
|
||||
text: 'API Key has been revoked.'
|
||||
});
|
||||
self.parent().parent().slideUp();
|
||||
}).fail(function (jqXHR) {
|
||||
|
|
Reference in a new issue