egroupware_official/resources/templates/default/showdetails.xet

93 lines
3.1 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
2008-10-20 15:57:08 +02:00
<template id="resources.showdetails" template="" lang="" group="0" version="1.5.001">
<grid width="750" height="480">
<columns>
<column width="43%"/>
<column width="100%"/>
</columns>
<rows>
<row class="nmh" height="240px">
<image src="resource_picture" align="center"/>
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
<description options="b" value="Name:"/>
<description options="b" no_lang="1" id="name"/>
</row>
<row>
<description value="Inventory number:"/>
<description no_lang="1" id="inventory_number"/>
</row>
<row>
<description value="Category:"/>
<menulist>
<menupopup type="select-cat" id="cat_id" readonly="true"/>
</menulist>
</row>
<row>
<description value="Responsible: "/>
<menulist>
<menupopup type="select-account" id="cat_admin" readonly="true"/>
</menulist>
</row>
<row valign="top">
<description value="Quantity: "/>
<description id="quantity"/>
</row>
<row>
<description value="Useable:"/>
<description id="useable"/>
</row>
<row>
<description value="Location:"/>
<description no_lang="1" id="location"/>
</row>
<row>
<description value="Storage information:"/>
<description id="storage_info"/>
</row>
</rows>
</grid>
</row>
<row>
<description/>
<description/>
</row>
<row height="1%">
<html span="2" id="description" readonly="true"/>
</row>
<row>
<description/>
<description/>
</row>
<row class="th" disabled="@!link_to">
2008-10-20 15:57:08 +02:00
<description span="2" rows="1" cols="4" value="Related links"/>
</row>
<row class="row_off" valign="top">
<link-list span="all" id="link_to" readonly="true"/>
</row>
<row>
2008-10-20 15:57:08 +02:00
<hbox label="Cancel" span="2">
<hbox label="Edit" span="2" id="btn_edit">
<button label="Edit" span="2" id="btn_edit" statustext="Buy this article"/>
<button label="Cancel" onclick="window.close()"/>
2008-10-20 15:57:08 +02:00
<button label="Calendar" span="2" id="btn_calendar" statustext="Show calendar of resource" onclick="opener.location=egw::link('/index.php','menuaction=calendar.calendar_uiviews.month&amp;owner=r$cont[res_id]'); return false;"/>
<button label="Book" onclick="window.open(egw::link('/index.php','menuaction=calendar.calendar_uiforms.edit&amp;participants=r$cont[res_id]'),'','dependent=yes,width=750,height=400,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes');" id="btn_book" statustext="Book this resource"/>
</hbox>
<hbox align="right">
2021-06-23 16:53:24 +02:00
<button label="Delete" onclick="return confirm('Do you really want to delete this resource?');" id="btn_delete"/>
</hbox>
</hbox>
</row>
</rows>
</grid>
</template>
</overlay>