summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_external/css/settings.css3
-rw-r--r--apps/files_external/js/settings.js6
-rw-r--r--core/css/styles.css1
-rw-r--r--core/img/loading-small.gifbin0 -> 1294 bytes
4 files changed, 4 insertions, 6 deletions
diff --git a/apps/files_external/css/settings.css b/apps/files_external/css/settings.css
index 74b14028468..0ebae9d82be 100644
--- a/apps/files_external/css/settings.css
+++ b/apps/files_external/css/settings.css
@@ -4,9 +4,6 @@ td.status > span {
width: 16px;
vertical-align: text-bottom;
}
-span.loading{
- background-size: 16px 16px;
-}
span.success {
background: #37ce02;
border-radius: 8px;
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 3e92bc87e85..886c324e338 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -1,7 +1,7 @@
(function(){
function updateStatus(statusEl, result){
- statusEl.removeClass('success error loading');
+ statusEl.removeClass('success error loading-small');
if (result && result.status == 'success' && result.data.message) {
statusEl.addClass('success');
return true;
@@ -71,7 +71,7 @@ OC.MountConfig={
}
users.push(applicable);
}
- statusSpan.addClass('loading').removeClass('error success');
+ statusSpan.addClass('loading-small').removeClass('error success');
$.ajax({type: 'POST',
url: OC.filePath('files_external', 'ajax', 'addMountPoint.php'),
data: {
@@ -124,7 +124,7 @@ OC.MountConfig={
var isPersonal = true;
var mountType = 'user';
var applicable = OC.currentUser;
- statusSpan.addClass('loading').removeClass('error success');
+ statusSpan.addClass('loading-small').removeClass('error success');
$.ajax({type: 'POST',
url: OC.filePath('files_external', 'ajax', 'addMountPoint.php'),
data: {
diff --git a/core/css/styles.css b/core/css/styles.css
index be53b67c858..a0de21f3ac6 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -745,6 +745,7 @@ a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;paddin
span.ui-icon {float: left; margin: 3px 7px 30px 0;}
.loading { background: url('../img/loading.gif') no-repeat center; cursor: wait; }
+.loading-small { background: url('../img/loading-small.gif') no-repeat center; cursor: wait; }
.move2trash { /* decrease spinner size */
width: 16px;
height: 16px;
diff --git a/core/img/loading-small.gif b/core/img/loading-small.gif
new file mode 100644
index 00000000000..5025f0bedeb
--- /dev/null
+++ b/core/img/loading-small.gif
Binary files differ