diff --git a/apps/files/css/upload.css b/apps/files/css/upload.css index cc383879fb..adf1e9d13f 100644 --- a/apps/files/css/upload.css +++ b/apps/files/css/upload.css @@ -9,7 +9,7 @@ overflow: hidden; vertical-align: top; } -#upload a { +#upload .icon-upload { position: relative; display: block; width: 100%; diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index 9ea8603c74..8b0753fc64 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -187,7 +187,7 @@ OC.Upload = { }, _hideProgressBar: function() { - $('#uploadprogresswrapper input.stop').fadeOut(); + $('#uploadprogresswrapper .stop').fadeOut(); $('#uploadprogressbar').fadeOut(function() { $('#file_upload_start').trigger(new $.Event('resized')); }); @@ -469,13 +469,13 @@ OC.Upload = { OC.Upload.log('progress handle fileuploadadd', e, data); //show cancel button //if (data.dataType !== 'iframe') { //FIXME when is iframe used? only for ie? - // $('#uploadprogresswrapper input.stop').show(); + // $('#uploadprogresswrapper .stop').show(); //} }); // add progress handlers fileupload.on('fileuploadstart', function(e, data) { OC.Upload.log('progress handle fileuploadstart', e, data); - $('#uploadprogresswrapper input.stop').show(); + $('#uploadprogresswrapper .stop').show(); $('#uploadprogressbar').progressbar({value: 0}); OC.Upload._showProgressBar(); }); @@ -589,10 +589,15 @@ OC.Upload = { var form = $('
'); var input = $(''); var newName = $(this).attr('data-newname') || ''; + var fileType = 'input-' + $(this).attr('data-type'); if (newName) { input.val(newName); + input.attr('id', fileType); } - form.append(input); + var label = $(''); + label.attr('for', fileType); + + form.append(label).append(input); $(this).append(form); var lastPos; var checkInput = function () { diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index faf2be39b0..8fd2b76f9c 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -11,8 +11,10 @@
-

t('WebDAV'));?>

-
+

+ +

+ t('Use this address to access your Files via WebDAV', array(link_to_docs('user-webdav'))));?>
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index 8ecec066a5..4224d9bc10 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -34,13 +34,17 @@ value="(max )"> - +
- +
@@ -68,7 +72,7 @@ t( 'Name' )); ?> - Download" /> t('Download'))?> @@ -82,7 +86,7 @@ t( 'Modified' )); ?> t('Delete'))?> - <?php p($l->t('Delete'))?>" /> diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 2ddcd84d4c..861da2065e 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -96,7 +96,7 @@ OCA.Sharing.PublicApp = { scalingup: 0 }; - var img = $(''); + var img = $(''); if (previewSupported === 'true' || mimetype.substr(0, mimetype.indexOf('/')) === 'image' && mimetype !== 'image/svg+xml') { img.attr('src', OC.filePath('files_sharing', 'ajax', 'publicpreview.php') + '?' + OC.buildQueryString(params)); img.appendTo('#imgframe'); diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 57c8707e96..0384d9a60a 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -45,7 +45,11 @@ $previewSupported = OC\Preview::isMimeSupported($_['mimetype']) ? 'true' : 'fals