2015-02-17 10:55:05 +01:00
<?xml version="1.0" encoding="UTF-8"?>
2023-01-04 18:28:10 +01:00
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
2005-11-14 22:40:50 +01:00
<overlay>
2012-11-14 19:00:02 +01:00
<template id="resources.edit_tabs.general" template="" lang="" group="0" version="">
2014-03-17 18:57:01 +01:00
<grid width="100%" height="245">
2005-11-14 22:40:50 +01:00
<columns>
2014-03-17 09:12:28 +01:00
<column width="80"/>
<column width="200"/>
<column width="75"/>
<column width="90"/>
2012-11-14 19:00:02 +01:00
<column width="10"/>
2014-03-17 09:12:28 +01:00
<column width="30"/>
<column width="50"/>
2005-11-14 22:40:50 +01:00
</columns>
<rows>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Inventory number"></et2-description>
<et2-textbox id="inventory_number"></et2-textbox>
<et2-description></et2-description>
<et2-description value="Accessory of"></et2-description>
<et2-vbox span="all">
<et2-select id="accessory_of" noLang="1"></et2-select>
<et2-description id="accessory_label"></et2-description>
</et2-vbox>
2012-11-14 19:00:02 +01:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Description (short)"></et2-description>
<et2-textbox statustext="Short description of resource" id="short_description" maxlength="100"></et2-textbox>
<et2-description></et2-description>
<et2-description value="Storage information"></et2-description>
<et2-textbox statustext="Information about storage" id="storage_info" maxlength="100" span="all"></et2-textbox>
2012-11-20 22:30:35 +01:00
</row>
2012-11-14 19:00:02 +01:00
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Location"></et2-description>
<et2-textbox statustext="Where to find this resource?" id="location" maxlength="100" ></et2-textbox>
<et2-description></et2-description>
<et2-description disabled="true" value="Buyable"></et2-description>
<et2-checkbox disabled="true" statustext="Is resource buyable?" id="buyable" span="all" ></et2-checkbox>
2012-11-14 19:00:02 +01:00
</row>
2014-03-17 09:12:28 +01:00
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Picture"></et2-description>
2014-03-17 09:12:28 +01:00
<grid width="100%">
<columns>
<column width="10%"/>
<column width="90%"/>
</columns>
<rows>
<row>
2023-01-04 18:28:10 +01:00
<radio id="picture_src" set_value="gen_src" />
<et2-description value="Use general resources icon"></et2-description>
2014-03-17 09:12:28 +01:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<radio id="picture_src" set_value="cat_src" />
<et2-description value="Use the category's icon"></et2-description>
2014-03-17 09:12:28 +01:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<radio id="picture_src" set_value="own_src" />
<et2-description value="Use own picture"></et2-description>
2014-03-17 09:12:28 +01:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description></et2-description>
2014-03-18 14:38:38 +01:00
<file id="own_file" class="resources_pictureFile et2_fullWidth" onchange="app.resources.select_picture_src"/>
2014-03-17 09:12:28 +01:00
</row>
</rows>
</grid>
2023-01-04 18:28:10 +01:00
<et2-description></et2-description>
<et2-image-expose src="resource_picture" href="$cont[picture_original]" align="center"></et2-image-expose>
2005-11-14 22:40:50 +01:00
</row>
</rows>
</grid>
</template>
2012-11-14 19:00:02 +01:00
<template id="resources.edit_tabs.page" template="" lang="" group="0" version="">
2014-03-17 09:12:28 +01:00
<grid width="100%" height="100%" overflow="auto">
2005-11-14 22:40:50 +01:00
<columns>
<column/>
</columns>
<rows>
2012-11-14 19:00:02 +01:00
<row valign="top">
2022-12-23 17:45:21 +01:00
<htmlarea statustext="Web-Site for this resource" id="long_description" height="200"
imageUpload="link_to"/>
2005-11-14 22:40:50 +01:00
</row>
</rows>
</grid>
</template>
2012-11-14 19:00:02 +01:00
<template id="resources.edit_tabs.links" template="" lang="" group="0" version="">
2014-03-17 09:12:28 +01:00
<grid width="100%" height="245" overflow="auto">
2005-11-14 22:40:50 +01:00
<columns>
2012-11-14 19:00:02 +01:00
<column width="100"/>
2005-11-14 22:40:50 +01:00
<column/>
</columns>
<rows>
2012-11-14 19:00:02 +01:00
<row class="row">
2023-01-04 18:28:10 +01:00
<et2-link-to id="link_to" span="all"></et2-link-to>
2012-11-14 19:00:02 +01:00
</row>
<row class="th">
2023-01-04 18:28:10 +01:00
<et2-description value="Existing links" span="all"></et2-description>
2012-11-14 19:00:02 +01:00
</row>
2014-03-17 09:12:28 +01:00
<row class="row_off" valign="top">
2023-01-04 18:28:10 +01:00
<et2-link-list id="link_to" span="all"></et2-link-list>
2012-11-14 19:00:02 +01:00
</row>
2005-11-14 22:40:50 +01:00
</rows>
</grid>
2015-08-07 16:18:07 +02:00
</template>
2012-11-14 19:00:02 +01:00
<template id="resources.edit_tabs.custom" template="" lang="" group="0" version="">
2014-03-17 09:12:28 +01:00
<grid width="100%" height="245" class="row_on" spacing="0" padding="0" overflow="auto">
2005-11-14 22:40:50 +01:00
<columns>
<column/>
</columns>
<rows>
2014-03-17 09:12:28 +01:00
<row class="th" height="20">
2023-01-04 18:28:10 +01:00
<et2-description value="Custom fields"></et2-description>
2014-03-17 09:12:28 +01:00
</row>
2012-11-14 19:00:02 +01:00
<row valign="top">
2022-11-16 22:10:34 +01:00
<customfields type_filter="@cat_id"/>
2012-11-14 19:00:02 +01:00
</row>
2005-11-14 22:40:50 +01:00
</rows>
</grid>
</template>
2012-12-17 23:14:32 +01:00
<template id="resources.edit_tabs.history" template="" lang="" group="0" version="">
2015-03-05 14:19:49 +01:00
<historylog id="history" width="100%"/>
2012-12-17 23:14:32 +01:00
</template>
2014-03-17 09:12:28 +01:00
<template id="resources.edit" template="" lang="" group="0" version="1.9.002">
<grid width="100%">
2005-11-14 22:40:50 +01:00
<columns>
2014-03-17 09:12:28 +01:00
<column width="90"/>
<column width="200"/>
<column width="80"/>
<column width="90"/>
<column width="120"/>
<column width="30"/>
<column width="50"/>
<column width="4"/>
2005-11-14 22:40:50 +01:00
</columns>
<rows>
2014-03-17 09:12:28 +01:00
<row class="dialogHeader">
2023-01-04 18:28:10 +01:00
<et2-description value="Name"></et2-description>
<et2-textbox statustext="Name of resource" id="name" class="et2_required" span="4" required="1"></et2-textbox>
<et2-number id="res_id" readonly="true" precision="0"></et2-number>
<et2-appicon></et2-appicon>
<et2-description></et2-description>
2014-03-17 09:12:28 +01:00
</row>
2022-11-16 22:10:34 +01:00
<row class="dialogHeader2">
2023-01-04 18:28:10 +01:00
<et2-description value="Quantity"></et2-description>
<et2-textbox statustext="Quantity of resource" id="quantity" maxlength="10"></et2-textbox>
<et2-description></et2-description>
<et2-description value="Category"></et2-description>
<et2-select span="3" tatustext="Which category does this resource belong to?" id="cat_id" onchange="1" required="1" noLang="1"></et2-select>
<et2-description></et2-description>
2022-11-16 22:10:34 +01:00
</row>
2014-03-17 09:12:28 +01:00
<row class="dialogHeader3">
2023-01-04 18:28:10 +01:00
<et2-description value="Useable"></et2-description>
<et2-textbox statustext="How many of them are useable?" id="useable" maxlength="10"></et2-textbox>
<et2-description></et2-description>
<et2-description value="Bookable"></et2-description>
<et2-checkbox statustext="Is resource bookable?" id="bookable" span="3"></et2-checkbox>
<et2-description></et2-description>
2014-03-17 09:12:28 +01:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-tabbox id="tabs" span="all" width="100%" tabHeight="250">
2005-11-14 22:40:50 +01:00
<tabs>
2012-11-14 19:00:02 +01:00
<tab id="page" label="Description" statustext="Informations about the location of resource"/>
2014-03-17 09:12:28 +01:00
<tab id="general" label="Details" statustext="General informations about resource"/>
2012-11-14 19:00:02 +01:00
<tab id="links" label="Links" statustext="Web-Page of resource"/>
<tab id="custom" label="Custom" statustext="Pictures or resource"/>
2012-12-17 23:14:32 +01:00
<tab id="history" label="History"/>
2005-11-14 22:40:50 +01:00
</tabs>
<tabpanels>
2012-11-14 19:00:02 +01:00
<template id="resources.edit_tabs.page"/>
2014-03-17 09:12:28 +01:00
<template id="resources.edit_tabs.general"/>
2012-11-14 19:00:02 +01:00
<template id="resources.edit_tabs.links"/>
<template id="resources.edit_tabs.custom"/>
2012-12-17 23:14:32 +01:00
<template id="resources.edit_tabs.history"/>
2005-11-14 22:40:50 +01:00
</tabpanels>
2023-01-04 18:28:10 +01:00
</et2-tabbox>
2005-11-14 22:40:50 +01:00
</row>
2014-03-17 09:12:28 +01:00
<row class="dialogOperators">
2023-01-04 18:28:10 +01:00
<et2-description value="Created by"></et2-description>
<et2-hbox>
<et2-select-account id="res_creator" readonly="true"></et2-select-account>
<et2-date-time id="res_created" readonly="true" align="right"></et2-date-time>
</et2-hbox>
<et2-description></et2-description>
<et2-description value="Last modified"></et2-description>
<et2-hbox>
<et2-select-account id="res_modifier" readonly="true"></et2-select-account>
<et2-date-time id="res_modified" readonly="true" align="right"></et2-date-time>
</et2-hbox>
2005-11-14 22:40:50 +01:00
</row>
2014-03-17 09:12:28 +01:00
<row class="dialogFooterToolbar">
2023-01-04 18:28:10 +01:00
<et2-hbox span="3">
<et2-button statustext="Saves entry and exits" label="Save" id="button[save]" image="save"></et2-button>
<et2-button label="Apply" id="button[apply]" image="apply"></et2-button>
<et2-button label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel"></et2-button>
</et2-hbox>
<et2-button align="right" label="Delete" id="button[delete]" onclick="et2_dialog.confirm(widget,'Do you really want to delete this resource?','Delete')" image="delete"></et2-button>
2005-11-14 22:40:50 +01:00
</row>
</rows>
</grid>
</template>
2023-01-04 18:28:10 +01:00
</overlay>