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

View File

@ -98,42 +98,44 @@
select#filemanager-index_filter {width:100%;} select#filemanager-index_filter {width:100%;}
.nextmatch_header_row div.header_row_right {height:auto;position: relative !important;} .nextmatch_header_row div.header_row_right {height:auto;position: relative !important;}
} }
.et2_file.plus_button { #filemanager-index_filemanager-index-header_left {
position: absolute !important; .et2_file.plus_button {
right: 15px; position: fixed !important;
bottom: 15px; right: 15px;
border-radius: 50%; bottom: 15px;
width: 60px; border-radius: 50%;
height: 60px; width: 60px !important;
background-position: center; height: 60px !important;
z-index: 100; background-position: center;
background-color: #0c5da5; z-index: 100;
box-shadow: 0px 1px 5px 3px silver; box-shadow: 0px 1px 5px 3px silver;
background-image: url(../../../pixelegg/images/topmenu_items/mobile/plus_white.svg) !important; background-image: url(../../../pixelegg/images/topmenu_items/mobile/plus_white.svg) !important;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 24px 24px; background-size: 24px 24px;
border: none;
margin: 0;
padding: 0;
border: none;
.et2_file_span{
width:50px;
height: 50px;
border: none; border: none;
background: none; margin: 0;
} padding: 0;
.et2_file_upload { border: none;
width: 60px; .et2_file_span{
height: 60px; width:50px;
top: 0; height: 50px;
} border: none;
div.progress { background: none;
position: fixed; }
left: 0; .et2_file_upload {
top: 0px; width: 60px;
width: 93%; height: 60px;
top: 0;
}
div.progress {
position: fixed;
left: 0;
top: 0px;
width: 93%;
}
} }
} }
.previewImage img {max-width: 100%;} .previewImage img {max-width: 100%;}
div#filemanager-file_tabs td.eaclAccount,td.eaclRights {display: block;} 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"/> <image label="Up" src="goup" onclick="app.filemanager.change_dir('..',widget);" id="up"/>
</hbox> </hbox>
<vfs-name id="path" onchange="if(widget.getValue() == '') { app.filemanager.change_dir('~',widget);} return true;" size="80" class="address"/> <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> </hbox>
</template> </template>
<template id="filemanager.index" template="" lang="" group="0" version="1.9.003"> <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" /> <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> </template>
</overlay> </overlay>