egroupware/filemanager/templates/default/tile.xet

30 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
<overlay>
<!--
This is used as a tiled template for nextmatch. Note only 1 column, and
the vbox has both width and height explicitly defined. These are for the vbox,
and any spacing between should be done using its margins.
Also important is the tile class on the row, to get the proper display and
the column width="100%" to take the whole width
-->
<template id="filemanager.tile" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="100%"/>
</columns>
<rows>
<row class="th">
<nextmatch-header/>
</row>
<row class="tile $row_cont[class]">
<et2-vbox class="file_tile" width="135px" height="100px" data="mime:$row_cont[mime]">
<et2-vfs-mime align="center" id="$row" thumbMimeSize="image,128"></et2-vfs-mime>
<vfs-name id="${row}[name]" no_lang="1" readonly="true"/>
<et2-description id="${row}[comment]"></et2-description>
</et2-vbox>
</row>
</rows>
</grid>
</template>
</overlay>