egroupware_official/resources/templates/default/show.xet

139 lines
5.2 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
2005-06-12 15:29:55 +02:00
<!-- $Id$ -->
<overlay>
<template id="resources.show.nm_right" template="" lang="" group="0" version="1.9.002">
<buttononly label="Add" id="add" onclick="window.open(egw::link('/index.php','menuaction=resources.resources_ui.edit'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false; return false;"/>
</template>
<template id="resources.show.rows" template="" lang="" group="0" version="1.9.003">
<grid width="100%">
2005-06-12 15:29:55 +02:00
<columns>
<column width="70"/>
<column width="50%"/>
<column width="50"/>
<column width="15%"/>
<column width="15%"/>
<column width="15%"/>
<column width="15%" disabled="@no_customfields"/>
2005-06-12 15:29:55 +02:00
</columns>
<rows>
<row class="th">
<nextmatch-header label="Image" id="image"/>
2005-06-12 15:29:55 +02:00
<vbox>
<nextmatch-sortheader label="Name" id="name"/>
<nextmatch-sortheader label="Short description" id="short_description"/>
</vbox>
<vbox>
<nextmatch-sortheader statustext="How many of this resource are usable" label="Useable" id="useable"/>
<nextmatch-sortheader statustext="How many of this resource exists" label="Quantity" id="quantity"/>
2005-06-12 15:29:55 +02:00
</vbox>
<vbox>
<nextmatch-sortheader label="Category" id="cat_id"/>
<description value="Administrator"/>
</vbox>
<vbox>
<nextmatch-sortheader label="Location" id="location"/>
2008-09-10 08:07:19 +02:00
<description value="Storage information"/>
2005-06-12 15:29:55 +02:00
</vbox>
<nextmatch-header label="Resource / Accessories"/>
<nextmatch-customfields id="customfields"/>
2005-06-12 15:29:55 +02:00
</row>
<row class="$row_cont[class]">
<image id="${row}[picture_thumb]" width="100%" expose_view="true" height="auto" extra_link_target="_blank" href="webdav.php/apps/resources/${row_cont[res_id]}/.picture.jpg" src="${row}[picture_thumb]" />
2005-06-12 15:29:55 +02:00
<vbox>
<description id="${row}[name]" no_lang="1"/>
<description id="${row}[short_description]" no_lang="1"/>
2005-06-12 15:29:55 +02:00
</vbox>
<vbox align="left">
<description align="left" id="${row}[useable]" no_lang="1"/>
<description align="left" id="${row}[quantity]" no_lang="1"/>
2005-06-12 15:29:55 +02:00
</vbox>
<vbox>
<menulist>
<menupopup type="select-cat" id="{$row}[cat_id]" no_lang="1" readonly="true"/>
2005-06-12 15:29:55 +02:00
</menulist>
<menulist>
<menupopup type="select-account" id="{$row}[admin]" no_lang="1" readonly="true"/>
2005-06-12 15:29:55 +02:00
</menulist>
</vbox>
<vbox>
<description id="${row}[location]" no_lang="1"/>
<description id="${row}[storage_info]" no_lang="1"/>
2005-06-12 15:29:55 +02:00
</vbox>
<vbox no_lang="1">
<description extra_link_popup="850x600" href="resources.resources_ui.edit&amp;res_id=$row_cont[accessory_of]" id="${row}[accessory_of_label]" no_lang="1"/>
<grid width="100%" id="${row}[accessories]">
<columns>
<column/>
</columns>
<rows>
<row>
2014-01-18 18:00:16 +01:00
<description extra_link_popup="850x600" href="resources.resources_ui.edit&amp;res_id=$row_cont[acc_id]" id="${row}[name]" no_lang="1"/>
</row>
</rows>
</grid>
</vbox>
<customfields-list id="$row"/>
2005-06-12 15:29:55 +02:00
</row>
</rows>
</grid>
</template>
<template id="resources.show" template="" lang="" group="0" version="1.9.003">
2005-06-12 15:29:55 +02:00
<grid width="100%">
<columns>
<column width="100%"/>
</columns>
<rows>
<row disabled="!@msg">
<description align="center" id="msg" span="all" class="message"/>
2005-06-12 15:29:55 +02:00
</row>
<row>
<nextmatch id="nm" no_lang="1" template="resources.show.rows"/>
</row>
<row>
<box id="delete_popup" class="action_popup prompt">
<vbox class="prompt">
<description value="Delete" class="promptheader"/>
<description value="Delete accessories of selected resources too?"/>
<hbox>
<button label="Yes - Delete accessories too" id="delete" onclick="nm_submit_popup(this); return false;"/>
<button label="No - Make them resources" id="delete_promote" onclick="nm_popup_action.id = 'delete_promote'; nm_submit_popup(this); return false;"/>
<buttononly label="Cancel" onclick="nm_hide_popup(this,'delete_popup');"/>
</hbox>
</vbox>
</box>
</row>
<row>
<box id="restore_popup" class="action_popup prompt">
<vbox class="prompt">
<description value="Un-delete" class="promptheader"/>
<description value="Un-delete accessories of selected resources too?"/>
<hbox>
<button label="Yes - Un-delete accessories too" id="restore_accessories" onclick="nm_popup_action.id = 'restore_accessories';nm_submit_popup(this); return false;"/>
<button label="No - Leave them" id="restore" onclick="nm_popup_action.id = 'restore'; nm_submit_popup(this); return false;"/>
<buttononly label="Cancel" onclick="nm_hide_popup(this,'restore_popup');"/>
</hbox>
</vbox>
</box>
</row>
2005-06-12 15:29:55 +02:00
</rows>
</grid>
<styles>
.image16 img {
max-width: 16px;
max-height: 16px;
}
div.action_popup[id] {
position: fixed;
top: 200px;
left: 450px;
width: 76ex;
z-index: 20000;
display: none;
border-collapse:collapse;
border-spacing:0px
}
</styles>
2005-06-12 15:29:55 +02:00
</template>
</overlay>