* Filemanager: fix upload in mobile template does not work for hidden share link

This commit is contained in:
Hadi Nategh 2020-03-30 14:22:15 +02:00
parent 0314f87eee
commit 2e753d942a
3 changed files with 43 additions and 44 deletions

View File

@ -492,16 +492,15 @@ div#stylite-filemanager-upload .dialogFooterToolbar button:active {
height: auto;
position: relative !important;
}
.et2_file.plus_button {
position: absolute !important;
#filemanager-index_filemanager-index-header_left .et2_file.plus_button {
position: fixed !important;
right: 15px;
bottom: 15px;
border-radius: 50%;
width: 60px;
height: 60px;
width: 60px !important;
height: 60px !important;
background-position: center;
z-index: 100;
background-color: #0c5da5;
box-shadow: 0px 1px 5px 3px silver;
background-image: url(../../../pixelegg/images/topmenu_items/mobile/plus_white.svg) !important;
background-repeat: no-repeat;
@ -510,18 +509,18 @@ div#stylite-filemanager-upload .dialogFooterToolbar button:active {
padding: 0;
border: none;
}
.et2_file.plus_button .et2_file_span {
#filemanager-index_filemanager-index-header_left .et2_file.plus_button .et2_file_span {
width: 50px;
height: 50px;
border: none;
background: none;
}
.et2_file.plus_button .et2_file_upload {
#filemanager-index_filemanager-index-header_left .et2_file.plus_button .et2_file_upload {
width: 60px;
height: 60px;
top: 0;
}
.et2_file.plus_button div.progress {
#filemanager-index_filemanager-index-header_left .et2_file.plus_button div.progress {
position: fixed;
left: 0;
top: 0px;

View File

@ -98,16 +98,16 @@
select#filemanager-index_filter {width:100%;}
.nextmatch_header_row div.header_row_right {height:auto;position: relative !important;}
}
#filemanager-index_filemanager-index-header_left {
.et2_file.plus_button {
position: absolute !important;
position: fixed !important;
right: 15px;
bottom: 15px;
border-radius: 50%;
width: 60px;
height: 60px;
width: 60px !important;
height: 60px !important;
background-position: center;
z-index: 100;
background-color: #0c5da5;
box-shadow: 0px 1px 5px 3px silver;
background-image: url(../../../pixelegg/images/topmenu_items/mobile/plus_white.svg) !important;
background-repeat: no-repeat;
@ -134,6 +134,8 @@
width: 93%;
}
}
}
.previewImage img {max-width: 100%;}
div#filemanager-file_tabs td.eaclAccount,td.eaclRights {display: block;}
}

View File

@ -50,12 +50,10 @@
<image label="Up" src="goup" onclick="app.filemanager.change_dir('..',widget);" id="up"/>
</hbox>
<vfs-name id="path" onchange="if(widget.getValue() == '') { app.filemanager.change_dir('~',widget);} return true;" size="80" class="address"/>
<file label="" statustext="Select file to upload in current directory" class="plus_button" id="upload" progress_dropdownlist = "true" drop_target ="divAppbox" multiple="true" onFinishOne="app.filemanager.uploadOnOne"/>
</hbox>
</template>
<template id="filemanager.index" template="" lang="" group="0" version="1.9.003">
<nextmatch id="nm" template="filemanager.index.rows" header_left="filemanager.index.header_left" header_right="filemanager.index.header_right" />
<hbox>
<file label="" statustext="Select file to upload in current directory" value=" " class="plus_button" id="upload" progress_dropdownlist = "true" drop_target ="divAppbox" multiple="true" onFinishOne="app.filemanager.uploadOnOne"/>
</hbox>
</template>
</overlay>