egroupware_official/api/templates/default/vfsSelectUI.xet
2022-08-15 17:38:56 +02:00

52 lines
2.6 KiB
XML

<?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>
<column width="100%"/>
</columns>
<rows >
<row class="et2_toolbar" disabled="@mode=/(open-multiple|select-dir)/">
<textbox id="name" class="et2_fullWidth" blur="enter your file name"/>
</row>
<row class="nextmatch_header_row">
<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>
</row>
<row>
<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"/>
<vfs id="$row" onclick="app.vfsSelectUI.select_clicked"/>
<checkbox align="right" id="selected[]" selected_value="$row_cont[name]"/>
</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"/>
</row>
</rows>
</grid>
</template>
</overlay>