W.I.P vfsSelect Widget:

- Make the dialog bigger
This commit is contained in:
Hadi Nategh 2017-10-12 18:27:27 +02:00
parent 5b76210218
commit 08032dd776
2 changed files with 4 additions and 3 deletions

View File

@ -1049,6 +1049,7 @@ var et2_vfsSelect = (function(){ "use strict"; return et2_inputWidget.extend(
buttons: buttons, buttons: buttons,
minWidth: 500, minWidth: 500,
minHeight: 400, minHeight: 400,
width:400,
value: data, value: data,
template: egw.webserverUrl+'/api/templates/default/vfsSelectUI.xet?1', template: egw.webserverUrl+'/api/templates/default/vfsSelectUI.xet?1',
resizable: false resizable: false

View File

@ -5,20 +5,20 @@
<template id="api.vfsSelectUI" template="" lang="" group="0" version="1.9.002"> <template id="api.vfsSelectUI" template="" lang="" group="0" version="1.9.002">
<grid width="100%" class="vfs-select-container" resize_ratio="0"> <grid width="100%" class="vfs-select-container" resize_ratio="0">
<columns> <columns>
<column width="280"/> <column/>
</columns> </columns>
<rows > <rows >
<row class="et2_toolbar" disabled="@mode=/(open-multiple|select-dir)/"> <row class="et2_toolbar" disabled="@mode=/(open-multiple|select-dir)/">
<textbox id="name" class="et2_fullWidth" blur="enter your file name"/> <textbox id="name" class="et2_fullWidth" blur="enter your file name"/>
</row> </row>
<row class="nextmatch_header_row"> <row class="nextmatch_header_row">
<box class="et2_toolbar"> <box class="et2_toolbar et2_fullWidth">
<buttononly statustext="Go to your home directory" id="home" onclick="app.vfsSelectUI.do_action('home', widget)" image="gohome" background_image="1"/> <buttononly statustext="Go to your home directory" id="home" onclick="app.vfsSelectUI.do_action('home', widget)" image="gohome" background_image="1"/>
<buttononly statustext="Up" id="up" onclick="app.vfsSelectUI.change_dir('..', widget);" image="goup" background_image="1"/> <buttononly statustext="Up" id="up" onclick="app.vfsSelectUI.change_dir('..', widget);" image="goup" background_image="1"/>
<select width="175" id="app" empty_label="Applications" no_lang="1" onchange="app.vfsSelectUI.do_action('app', widget)"/> <select width="175" id="app" empty_label="Applications" no_lang="1" onchange="app.vfsSelectUI.do_action('app', widget)"/>
<buttononly statustext="Create directory" id="createdir" class="createDir" onclick="app.vfsSelectUI.createdir" image="button_createdir" ro_image="createdir_disabled" background_image="1"/> <buttononly statustext="Create directory" id="createdir" class="createDir" onclick="app.vfsSelectUI.createdir" image="button_createdir" ro_image="createdir_disabled" background_image="1"/>
<file id='upload_file' progress_dropdownlist = "true" onFinishOne="app.vfsSelectUI.uploadOnOne"/> <file id='upload_file' progress_dropdownlist = "true" onFinishOne="app.vfsSelectUI.uploadOnOne"/>
<vfs-name id="path" width="280" class="selectPath" align="left" onchange="app.vfsSelectUI.do_action('path', widget)"/> <vfs-name id="path" class="et2_fullWidth selectPath" align="left" onchange="app.vfsSelectUI.do_action('path', widget)"/>
</box> </box>
</row> </row>
<row> <row>