egroupware/filemanager/templates/default/index.xet

86 lines
4.8 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="filemanager.index.rows" template="" lang="" group="0" version="1.7.002">
<grid width="100%">
<columns>
<column/>
<column width="30%"/>
<column/>
<column width="120"/>
2008-03-03 08:53:43 +01:00
<column width="120"/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column width="70"/>
</columns>
<rows>
<row class="th">
2011-06-30 15:07:55 +02:00
<nextmatch-sortheader align="center" label="Type" id="mime"/>
<nextmatch-sortheader label="Name" id="name"/>
<nextmatch-sortheader label="Size" id="size"/>
<nextmatch-sortheader label="Modified" id="mtime"/>
2008-03-03 08:53:43 +01:00
<nextmatch-sortheader label="Created" id="ctime"/>
<nextmatch-sortheader label="Permissions" id="mode"/>
2011-06-30 15:07:55 +02:00
<nextmatch-sortheader label="Owner" id="uid"/>
<nextmatch-sortheader label="Group" id="gid"/>
<nextmatch-header label="Comment" id="comment"/>
2011-06-30 15:07:55 +02:00
<nextmatch-customfields id="customfields" readonly="true"/>
<hbox options="0,0">
2011-06-30 15:07:55 +02:00
<nextmatch-header label="Actions" id="legacy_actions"/>
<button align="right" statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_globalObjectManager.getObjectById('filemanager.index.rows').toggleAllSelected(); return false;" image="check"/>
</hbox>
</row>
<row class="row $row_cont[class]">
2012-03-28 01:09:16 +02:00
<vfs-mime align="center" id="$row"/>
<vfs-name id="${row}[name]" no_lang="1" readonly="true"/>
2011-06-30 15:07:55 +02:00
<vfs-size align="right" id="${row}[size]"/>
<date-time id="${row}[mtime]" readonly="true"/>
2008-03-03 08:53:43 +01:00
<date-time id="${row}[ctime]" readonly="true"/>
<vfs-mode id="${row}[mode]"/>
<vfs-uid id="${row}[uid]" no_lang="1"/>
<vfs-gid id="${row}[gid]" no_lang="1"/>
<description id="${row}[comment]"/>
<customfields-list id="$row" class="customfields"/>
<hbox align="right">
2011-06-30 15:07:55 +02:00
<button statustext="Rename, change permissions or ownership" label="Edit settings" id="edit[$row_cont[path]]" onclick="window.open(egw::link('/index.php','menuaction=filemanager.filemanager_ui.file&amp;path=$row_cont[path]'),'fileprefs','dependent=yes,width=495,height=425,scrollbars=yes,status=yes'); return false;" image="edit"/>
<buttononly align="center" id="mail[$row_cont[path]]" onclick="open_mail('$row_cont[path]'); return false;" options="mail_post_to"/>
<button align="center" statustext="Delete this file or directory" label="Delete" id="delete[$row_cont[path]]" onclick="return confirm('Delete this file or directory');" image="delete"/>
<checkbox align="right" id="checked[]" options="&quot;$row_cont[path]&quot;"/>
</hbox>
</row>
</rows>
</grid>
</template>
2013-04-10 19:11:32 +02:00
<template id="filemanager.index.header_left" template="" lang="" group="0" version="1.9.002">
<hbox span="all">
<image label="Up" src="goup" onclick="app.filemanager.change_dir('..');"/>
<image label="Go to your home directory" src="gohome" onclick="app.filemanager.change_dir('~');"/>
<vfs-name label="Path" id="path" onchange="return true;" options="80" class="address"/>
<button label="Go to" id="button[go]" image="key_enter"/>
<image src="buttonseparator"/>
<button statustext="Rename, change permissions or ownership" label="Edit settings" id="edit[{$cont[nm][path]}]" onclick="window.open(egw::link('/index.php','menuaction=filemanager.filemanager_ui.file&amp;path={$cont[nm][path]}'),'fileprefs','dependent=yes,width=495,height=425,scrollbars=yes,status=yes'); return false;" image="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"/>
2013-04-10 19:11:32 +02:00
<buttononly id="button[paste]" onclick="app.filemanager.paste('paste');" options="editpaste,editpaste_disabled"/>
<buttononly id="button[linkpaste]" onclick="app.filemanager.paste('linkpaste');" options="linkpaste,linkpaste_disabled"/>
<buttononly 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"/>
</hbox>
</template>
<template id="filemanager.index" template="" lang="" group="0" version="1.9.003">
<description id="msg" class="redItalic"/>
2013-04-10 19:11:32 +02:00
<nextmatch id="nm" template="filemanager.index.rows" header_left="filemanager.index.header_left"/>
<hbox>
<file statustext="Select file to upload in current directory" id="upload[]" onchange="check_files(this);"/>
<button label="Upload" id="button[upload]"/>
</hbox>
2011-06-30 15:07:55 +02:00
<styles>
input[type='file'] {
width: 50ex
}
</styles>
</template>
2013-04-10 19:11:32 +02:00
</overlay>