Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-02-04 19:32:39 +0400
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-02-04 19:32:39 +0400
commit37d2c0a4befb194c007ed20f3c82f9f298097d4e (patch)
tree04d4e5311ee007e2c9110b802f233ed579196811 /apps/files_sharing
parent3ccbc984f4f5cae6e518082d3a5fced44c03fc80 (diff)
remove unused js code and css rules
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/css/public.css49
-rw-r--r--apps/files_sharing/js/public.js12
2 files changed, 0 insertions, 61 deletions
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index b13efd30684..419f420f215 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -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;
}
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 4c0b0ad9d48..31572f5ccf5 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -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,16 +56,6 @@ $(document).ready(function() {
};
});
- // Add Uploadprogress Wrapper to controls bar
- $('#controls').append($('#controls .actions div#uploadprogresswrapper'));
- $('#uploadprogresswrapper').addClass('public_actions');
-
- // Cancel upload trigger
- $('#cancel_upload_button').click(function() {
- OC.Upload.cancelUploads();
- procesSelection();
- });
-
$('#directLink').focus();
});