From: <hn...@us...> - 2016-02-11 11:19:42
|
Author: hnategh Date: Thu Feb 11 12:19:33 2016 New Revision: 54981 URL: http://svn.stylite.de/viewvc/egroupware?rev=54981&view=rev Log: Mobile theme W.I.P.: -Fix filemanager upload button and header toolbars Modified: trunk/filemanager/templates/mobile/index.xet trunk/filemanager/templates/pixelegg/app.css trunk/filemanager/templates/pixelegg/app.less Modified: trunk/filemanager/templates/mobile/index.xet URL: http://svn.stylite.de/viewvc/egroupware/trunk/filemanager/templates/mobile/index.xet?rev=54981&r1=54980&r2=54981&view=diff ============================================================================== --- trunk/filemanager/templates/mobile/index.xet (original) +++ trunk/filemanager/templates/mobile/index.xet Thu Feb 11 12:19:33 2016 @@ -35,10 +35,10 @@ <image label="Up" src="goup" onclick="app.filemanager.change_dir('..',widget);" id="up"/> <image label="Go to your home directory" src="gohome" onclick="app.filemanager.change_dir('~',widget);" id="home"/> <vfs-name label="Path" id="path" onchange="if(widget.getValue() == '') { app.filemanager.change_dir('~',widget);} return true;" size="80" class="address"/> - <hbox id="buttons"> + </hbox> + <hbox id="buttons"> <button label="Go to" id="button[go]" image="key_enter"/> <buttononly label="Tile view" id="button[change_view]" onclick="app.filemanager.change_view" options="list_tile"/> - <image id="tarp" src="buttonseparator"/> <buttononly statustext="Rename, change permissions or ownership" label="Edit settings" id="button[edit]" onclick="app.filemanager.editprefs();" options="edit"/> <buttononly label="Create directory" id="button[createdir]" onclick="app.filemanager.createdir();" options="button_createdir,createdir_disabled"/> <buttononly label="Create a link" id="button[symlink]" onclick="app.filemanager.symlink();" options="link,link_disabled"/> @@ -46,11 +46,13 @@ <buttononly label="Paste link" id="button[linkpaste]" onclick="app.filemanager.paste('linkpaste');" options="linkpaste,linkpaste_disabled"/> <buttononly label="Mail paste" id="button[mailpaste]" onclick="app.filemanager.paste('mailpaste');" options="mailpaste,mailpaste_disabled"/> <button label="File a file" onclick="window.open(egw::link('/index.php','menuaction=stylite.stylite_filemanager.upload'),'_blank','dependent=yes,width=550,height=350,scrollbars=yes,status=yes'); return false;" image="upload"/> - <file statustext="Select file to upload in current directory" 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" /> + <hbox> + <file 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 id="filemanager.index" template="" lang="" group="0" version="1.9.003"> - <nextmatch id="nm" template="filemanager.index.rows" header_left="filemanager.index.header_left"/> - </template> </overlay> Modified: trunk/filemanager/templates/pixelegg/app.css URL: http://svn.stylite.de/viewvc/egroupware/trunk/filemanager/templates/pixelegg/app.css?rev=54981&r1=54980&r2=54981&view=diff ============================================================================== --- trunk/filemanager/templates/pixelegg/app.css (original) +++ trunk/filemanager/templates/pixelegg/app.css Thu Feb 11 12:19:33 2016 @@ -558,6 +558,44 @@ #filemanager-index_nm table.egwGridView_outer tbody label[id^='filemanager-index'][id$='name]'] span { white-space: nowrap; } + #filemanager-index_nm #filemanager-index_buttons { + position: initial; + display: inline-block; + } + #filemanager-index_nm #filemanager-index_tarp { + display: none !important; + } + .et2_file.plus_button { + position: absolute !important; + right: 15px; + bottom: 15px; + border-radius: 50%; + width: 60px; + height: 60px; + background-position: center; + z-index: 100; + background-color: #0c5da5; + border: none; + box-shadow: 0px 1px 5px 3px silver; + background-image: none !important; + margin: 0; + padding: 0; + } + .et2_file.plus_button .et2_file_span { + display: none; + } + .et2_file.plus_button .et2_file_upload { + width: 60px; + height: 60px; + top: 0; + } + .et2_file.plus_button:after { + content: '+'; + font-weight: bold; + font-size: 34pt; + color: #fafafa; + margin-left: 10px; + } .previewImage img { max-width: 100%; } Modified: trunk/filemanager/templates/pixelegg/app.less URL: http://svn.stylite.de/viewvc/egroupware/trunk/filemanager/templates/pixelegg/app.less?rev=54981&r1=54980&r2=54981&view=diff ============================================================================== --- trunk/filemanager/templates/pixelegg/app.less (original) +++ trunk/filemanager/templates/pixelegg/app.less Thu Feb 11 12:19:33 2016 @@ -367,6 +367,40 @@ } } } + #filemanager-index_buttons { + position: initial; + display: inline-block; + } + #filemanager-index_tarp {display: none !important;} + } + .et2_file.plus_button { + position: absolute !important; + right: 15px; + bottom: 15px; + border-radius: 50%; + width: 60px; + height: 60px; + background-position: center; + z-index: 100; + background-color: #0c5da5; + border: none; + box-shadow: 0px 1px 5px 3px silver; + background-image: none !important; + margin: 0; + padding: 0; + .et2_file_span{display: none;} + .et2_file_upload { + width: 60px; + height: 60px; + top: 0; + } + &:after{ + content: '+'; + font-weight: bold; + font-size: 34pt; + color: #fafafa; + margin-left: 10px; + } } .previewImage img {max-width: 100%;} div#filemanager-file_tabs td.eaclAccount,td.eaclRights {display: block;} |