mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-14 14:25:52 +01:00
WebClient: improve readability of upload progress
Fixes #1773 Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
6626c8846b
commit
3b2f709aeb
17 changed files with 64 additions and 58 deletions
|
|
@ -125,7 +125,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.AdminURL}}' + "/" + encodeURIComponent(username);
|
||||
|
||||
|
|
@ -187,7 +187,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.AdminURL}}' + "/" + encodeURIComponent(username)+"/2fa/disable";
|
||||
|
||||
|
|
|
|||
|
|
@ -647,7 +647,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
return;
|
||||
}
|
||||
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
|
||||
let data = {"base_redirect_url": getCurrentURI(), "provider": parseInt($('#idSMTPOAuth2Provider').val()),
|
||||
|
|
@ -744,7 +744,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}
|
||||
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let debug = 0;
|
||||
if ($('#idSMTPDebug').is(':checked')){
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.ConnectionsURL}}' + "/" + encodeURIComponent(connectionID);
|
||||
if (node) {
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.DefenderHostsURL}}' + "/" + encodeURIComponent(id);
|
||||
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.EventActionURL}}' + "/" + encodeURIComponent(name);
|
||||
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.EventRuleURL}}' + "/" + encodeURIComponent(name);
|
||||
|
||||
|
|
@ -135,7 +135,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.EventRuleURL}}' + "/run/" + encodeURIComponent(name);
|
||||
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.FolderURL}}' + "/" + encodeURIComponent(name);
|
||||
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.GroupURL}}' + "/" + encodeURIComponent(name);
|
||||
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.IPListURL}}' + "/" + encodeURIComponent(listType)+ "/" + encodeURIComponent(ipNet);
|
||||
axios.delete(path, {
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.RoleURL}}' + "/" + encodeURIComponent(name);
|
||||
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.UserURL}}' + "/" + encodeURIComponent(username);
|
||||
|
||||
|
|
@ -200,7 +200,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed){
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.UserURL}}' + "/" + encodeURIComponent(username)+"/2fa/disable";
|
||||
|
||||
|
|
@ -230,7 +230,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
|
||||
function quotaScanAction(username) {
|
||||
$('#loading_message').text("");
|
||||
clearLoading();
|
||||
KTApp.showPageLoading();
|
||||
let path = '{{.QuotaScanURL}}' + "/" + encodeURIComponent(username);
|
||||
axios.post(path, null, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue