summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-11 12:36:30 +0200
committerVincent Petry <pvince81@owncloud.com>2013-10-11 12:36:30 +0200
commitbced346c3b07fc6549f216f4db20c52e827d3cfa (patch)
treef47fb29eb56a4628177188e42c7a21a348300c81 /apps
parente88b493136f2378ff403d920217e9a5af1231ee3 (diff)
downloadnextcloud-server-bced346c3b07fc6549f216f4db20c52e827d3cfa.tar.gz
nextcloud-server-bced346c3b07fc6549f216f4db20c52e827d3cfa.zip
Now using smaller spinner image for status indicator
To make the status indicator appear smaller, even in IE8 that doesn't support background-size, there is no a smaller animated gif "loading-small" for that purpose.
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/css/settings.css3
-rw-r--r--apps/files_external/js/settings.js6
2 files changed, 3 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: {