]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unused js code and css rules
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 15 Jan 2014 14:22:40 +0000 (15:22 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 15 Jan 2014 14:22:40 +0000 (15:22 +0100)
apps/files_sharing/css/public.css
apps/files_sharing/js/public.js

index 060d4dfedc7ab99d7c41f3dabf08887baaba8822..16d115f6e9aa15da97c337ebe2e18ffb6c3878e9 100644 (file)
@@ -19,16 +19,6 @@ body {
        float: left;
 }
 
-#public_upload,
-#download {
-       font-weight:700;
-       margin: 0 0 0 .4em;
-       padding: 0 5px;
-       height: 32px;
-       float: left;
-
-}
-
 .header-right #details {
        margin-right: 28px;
 }
@@ -38,17 +28,6 @@ body {
        height: 32px;
 }
 
-#public_upload {
-       margin-left: 0.3em;
-}
-
-#public_upload img,
-#download img {
-       padding-left:.1em;
-       padding-right:.3em;
-       vertical-align:text-bottom;
-}
-
 #controls {
        left: 0;
 }
@@ -110,34 +89,6 @@ thead{
        margin: 0;
 }
 
-#file_upload_start {
-       -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-       filter: alpha(opacity=0);
-       opacity: 0;
-       z-index: 20;
-       position: absolute !important;
-       top: 0;
-       left: 0;
-       width: 100% !important;
-}
-
-#publicUploadButtonMock {
-       position:relative;
-       display:block;
-       width:100%;
-       height:32px;
-       cursor:pointer;
-       z-index:10;
-       background-image:url('%webroot%/core/img/actions/upload.svg');
-       background-repeat:no-repeat;
-       background-position:7px 8px;
-}
-
-#publicUploadButtonMock span {
-       margin: 0 5px 0 28px;
-       color: #555;
-}
-
 .directLink {
        margin-bottom: 20px;
 }
index eacd4096ed8b1334e6d5ff2747beb031e55907f8..63e1ccaadfaef249b93cbfed9a5dcfe6ed532ad7 100644 (file)
@@ -9,8 +9,6 @@ function fileDownloadPath(dir, file) {
 
 $(document).ready(function() {
 
-       $('#data-upload-form').tipsy({gravity:'ne', fade:true});
-
        if (typeof FileActions !== 'undefined') {
                var mimetype = $('#mimetype').val();
                // Show file preview if previewer is available, images are already handled by the template
@@ -58,15 +56,6 @@ $(document).ready(function() {
                };
        });
 
-       // Add Uploadprogress Wrapper to controls bar
-       $('#controls').append($('#additional_controls div#uploadprogresswrapper'));
-
-       // Cancel upload trigger
-       $('#cancel_upload_button').click(function() {
-               OC.Upload.cancelUploads();
-               procesSelection();
-       });
-
        $('#directLink').focus();
 
 });