egroupware_official/api/templates/default/vfsSelectUI.xet

61 lines
3.2 KiB
Plaintext
Raw Normal View History

2017-10-11 18:27:42 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
2017-10-11 18:27:42 +02:00
<overlay>
<template id="api.vfsSelectUI" template="" lang="" group="0" version="1.9.002">
<grid width="100%" class="vfs-select-container" resize_ratio="0">
<columns>
2022-08-15 17:38:43 +02:00
<column width="100%"/>
2017-10-11 18:27:42 +02:00
</columns>
<rows >
<row class="et2_toolbar" disabled="@mode=/(open-multiple|select-dir)/">
<et2-textbox id="name" placeholder="enter your file name"></et2-textbox>
2017-10-11 18:27:42 +02:00
</row>
<row class="nextmatch_header_row">
<et2-vbox>
<et2-box class="et2_toolbar">
<et2-button statustext="Go to your home directory" id="home"
onclick="app.vfsSelectUI.do_action('home', widget)" image="filemanager/gohome"
noSubmit="true"></et2-button>
<et2-button statustext="Up" id="up" onclick="app.vfsSelectUI.change_dir('..', widget);"
image="filemanager/goup" noSubmit="true"></et2-button>
<et2-button statustext="Favorites" id="favorites"
onclick="app.vfsSelectUI.change_dir('/apps/favorites', widget);"
image="filemanager/fav_filter" noSubmit="true"></et2-button>
<et2-select width="175" id="app" onchange="app.vfsSelectUI.do_action('app', widget)"
emptyLabel="Applications" noLang="1"></et2-select>
<et2-button statustext="Create directory" id="createdir" class="createDir"
onclick="app.vfsSelectUI.createdir" image="filemanager/button_createdir"
noSubmit="true" roImage="filemanager/createdir_disabled"></et2-button>
<file id="upload_file" statustext="upload file" progress_dropdownlist="true" multiple="true"
onFinish="app.vfsSelectUI.storeFile"/>
<et2-searchbox id="search" onchange="app.vfsSelectUI.search"></et2-searchbox>
</et2-box>
<vfs-path id="path" class="et2_fullWidth selectPath" align="left"
onchange="app.vfsSelectUI.do_action" width="99.2%"/>
</et2-vbox>
2017-10-11 18:27:42 +02:00
</row>
<row>
<et2-hbox class="selectFiles">
2017-10-11 18:27:42 +02:00
<grid width="100%" id="dir">
<columns>
<column width="20"/>
<column/>
<column width="1%" disabled="!@mode=open-multiple"/>
</columns>
<rows>
<row class="row">
<et2-vfs-mime align="center" id="$row" width="16px" class="selectIcon"></et2-vfs-mime>
2017-10-11 18:27:42 +02:00
<vfs id="$row" onclick="app.vfsSelectUI.select_clicked"/>
<et2-checkbox align="right" id="selected[]" selectedValue="$row_cont[name]"></et2-checkbox>
2017-10-11 18:27:42 +02:00
</row>
</rows>
</grid>
</et2-hbox>
2017-10-11 18:27:42 +02:00
</row>
<row disabled="!@showmime">
<et2-select id="mime" onchange="app.vfsSelectUI.do_action('mime', widget)" emptyLabel="All files"></et2-select>
2017-10-11 18:27:42 +02:00
</row>
</rows>
</grid>
</template>
</overlay>