egroupware_official/api/templates/default/vfsSelectUI.xet

52 lines
2.6 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//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<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)/">
<textbox id="name" class="et2_fullWidth" blur="enter your file name"/>
2017-10-11 18:27:42 +02:00
</row>
<row class="nextmatch_header_row">
2022-08-15 17:38:43 +02:00
<vbox>
<box class="et2_toolbar">
<buttononly statustext="Go to your home directory" id="home" onclick="app.vfsSelectUI.do_action('home', widget)" image="filemanager/gohome" background_image="1"/>
<buttononly statustext="Up" id="up" onclick="app.vfsSelectUI.change_dir('..', widget);" image="filemanager/goup" background_image="1"/>
<buttononly statustext="Favorites" id="favorites" onclick="app.vfsSelectUI.change_dir('/apps/favorites', widget);" image="filemanager/fav_filter" background_image="1"/>
<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="filemanager/button_createdir" ro_image="filemanager/createdir_disabled" background_image="1"/>
<file id='upload_file' statustext="upload file" progress_dropdownlist = "true" multiple="true" onFinish="app.vfsSelectUI.storeFile"/>
<searchbox id="search" onchange="app.vfsSelectUI.search"/>
</box>
<vfs-path id="path" class="et2_fullWidth selectPath" align="left" onchange="app.vfsSelectUI.do_action('path', widget)" width="99.2%"/>
</vbox>
2017-10-11 18:27:42 +02:00
</row>
<row>
2017-10-11 18:27:42 +02:00
<hbox class="selectFiles">
<grid width="100%" id="dir">
<columns>
<column width="20"/>
<column/>
<column width="1%" disabled="!@mode=open-multiple"/>
</columns>
<rows>
<row class="row">
<vfs-mime align="center" id="$row" width="16px" class="selectIcon"/>
2017-10-11 18:27:42 +02:00
<vfs id="$row" onclick="app.vfsSelectUI.select_clicked"/>
2020-03-30 18:41:39 +02:00
<checkbox align="right" id="selected[]" selected_value="$row_cont[name]"/>
2017-10-11 18:27:42 +02:00
</row>
</rows>
</grid>
</hbox>
</row>
<row disabled="!@showmime">
<select id="mime" onchange="app.vfsSelectUI.do_action('mime', widget)" empty_label="All files" class="et2_fullWidth"/>
2017-10-11 18:27:42 +02:00
</row>
</rows>
</grid>
</template>
</overlay>