egroupware/filemanager/templates/default/index.xet

82 lines
5.4 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
<overlay>
<template id="filemanager.index.rows" template="" lang="" group="0" version="1.7.002">
<grid width="100%">
<columns>
<column width="150"/>
<column width="80"/>
<column width="50%"/>
<column width="80"/>
<column width="120"/>
2008-03-03 08:53:43 +01:00
<column width="120"/>
<column width="100"/>
<column width="100"/>
<column width="100"/>
<column width="30%"/>
<column width="20%"/>
2023-01-19 19:51:32 +01:00
<column width="120"/>
</columns>
<rows>
<row class="th">
2011-06-30 15:07:55 +02:00
<nextmatch-sortheader align="center" label="Type" id="mime"/>
<nextmatch-header align="center" label="Lock" id="lock"/>
<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"/>
2023-01-19 19:54:47 +01:00
<nextmatch-header label="Kanban" id="kanban"/>
</row>
2023-01-19 19:51:32 +01:00
<row class="row $row_cont[class]">
<et2-vfs-mime align="center" id="$row"></et2-vfs-mime>
<et2-image src="${row}[locked]" statustext="$row_cont[locked_status]"></et2-image>
<vfs id="$row" no_lang="1"/>
<vfs-size align="right" id="${row}[size]"/>
<et2-date-time id="${row}[mtime]" readonly="true"></et2-date-time>
<et2-date-time id="${row}[ctime]" readonly="true"></et2-date-time>
<vfs-mode id="${row}[mode]"/>
<et2-vfs-uid id="${row}[uid]" noLang="1"></et2-vfs-uid>
<et2-vfs-gid id="${row}[gid]" noLang="1"></et2-vfs-gid>
<et2-description id="${row}[comment]"></et2-description>
<customfields-list id="$row" class="customfields"/>
<et2-link-string entryId="${row_cont[path]}" application="filemanager"
onlyApp="kanban"></et2-link-string>
</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">
<!-- Anonymous view has some extras - logo & button -->
<et2-image src="logo" disabled="!@show_refresh" hideOnReadonly="true" width="150px"></et2-image>
<et2-button id="reload" statustext="Reload" onclick="app.filemanager.et2.getInstanceManager().refresh()" disabled="!@show_refresh" hideOnReadonly="true" image="reload" noSubmit="true"></et2-button>
<file label="Upload" statustext="Select file to upload in current directory" id="upload"
progress_dropdownlist="true" drop_target="filemanager-index" multiple="true"
onFinishOne="app.filemanager.uploadOnOne"/>
</template>
<template id="filemanager.index.header_row" template="" lang="" group="0" version="1.9.002">
<et2-button id="home" statustext="Go to your home directory" image="gohome" onclick="app.filemanager.change_dir('~',widget);" noSubmit="true"></et2-button>
<et2-button id="up" statustext="Up" image="goup" onclick="app.filemanager.change_dir('..',widget);" noSubmit="true"></et2-button>
<vfs-path id="path" onchange="if(widget.getValue() == '') { app.filemanager.change_dir('~',widget);} return true;" size="80" class="address"/>
<et2-button statustext="Tile view" id="button[change_view]" onclick="app.filemanager.change_view" image="list_tile" noSubmit="true"></et2-button>
</template>
<template id="filemanager.index.header_right" template="" lang="" group="0" version="1.9.003">
<et2-dropdown-button id="new" onchange="app.filemanager.create_new" label="New" onclick="app.filemanager.create_new"></et2-dropdown-button>
<et2-button statustext="Rename, change permissions or ownership" id="button[edit]" onclick="app.filemanager.editprefs();" image="edit" noSubmit="true"></et2-button>
<et2-button statustext="Create directory" id="button[createdir]" onclick="app.filemanager.createdir();" image="button_createdir" noSubmit="true"></et2-button>
<et2-button statustext="Create a link" id="button[symlink]" onclick="app.filemanager.symlink();" image="link" noSubmit="true"></et2-button>
<!--
<et2-button statustext="Paste" id="button[paste]" onclick="app.filemanager.paste('paste');" image="editpaste" noSubmit="true"></et2-button>
<et2-button statustext="Paste link" id="button[linkpaste]" onclick="app.filemanager.paste('linkpaste');" image="linkpaste" noSubmit="true"></et2-button>
<et2-button statustext="Mail paste" id="button[mailpaste]" onclick="app.filemanager.paste('mailpaste');" image="mailpaste" noSubmit="true"></et2-button>
-->
<et2-button statustext="File a file" onclick="app.filemanager.fileafile" image="upload" noSubmit="true"></et2-button>
2013-04-10 19:11:32 +02:00
</template>
<template id="filemanager.index" template="" lang="" group="0" version="1.9.003">
<nextmatch id="nm" template="filemanager.index.rows" header_left="filemanager.index.header_left" header_row="filemanager.index.header_row" header_right="filemanager.index.header_right"/>
</template>
</overlay>