2015-02-17 10:55:05 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
2005-11-14 22:40:50 +01:00
<!-- $Id$ -->
<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>
2014-03-17 09:12:28 +01:00
<description value="Inventory number"/>
<textbox id="inventory_number" class="et2_fullWidth"/>
<description/>
<description value="Accessory of"/>
<vbox span="all" class="et2_fullWidth">
<menulist class="et2_fullWidth">
<menupopup id="accessory_of" no_lang="1" />
</menulist>
<description id="accessory_label"/>
</vbox>
2012-11-14 19:00:02 +01:00
</row>
<row>
2014-03-17 09:12:28 +01:00
<description value="Description (short)"/>
<textbox statustext="Short description of resource" id="short_description" size="50" maxlength="100" class="et2_fullWidth"/>
<description/>
2012-11-14 19:00:02 +01:00
<description value="Storage information"/>
2014-03-17 09:12:28 +01:00
<textbox statustext="Information about storage" id="storage_info" size="50" maxlength="100" class="et2_fullWidth" span="all"/>
2012-11-20 22:30:35 +01:00
</row>
2012-11-14 19:00:02 +01:00
<row>
2014-03-17 09:12:28 +01:00
<description value="Location"/>
<textbox statustext="Where to find this resource?" id="location" size="50" maxlength="100" class="et2_fullWidth" />
<description/>
2012-11-14 19:00:02 +01:00
<description disabled="true" value="Buyable"/>
2014-03-17 09:12:28 +01:00
<checkbox disabled="true" statustext="Is resource buyable?" id="buyable" span="all" class="et2_fullWidth" />
2012-11-14 19:00:02 +01:00
</row>
2014-03-17 09:12:28 +01:00
<row>
<description value="Picture"/>
<grid width="100%">
<columns>
<column width="10%"/>
<column width="90%"/>
</columns>
<rows>
<row>
<radio id="picture_src" options="gen_src"/>
<description value="Use general resources icon"/>
</row>
<row>
<radio id="picture_src" options="cat_src"/>
<description value="Use the category's icon"/>
</row>
<row>
<radio id="picture_src" options="own_src"/>
<description value="Use own picture"/>
</row>
<row>
<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>
2005-11-14 22:40:50 +01:00
<description/>
2015-04-09 12:48:45 +02:00
<image src="resource_picture" href="$cont[picture_original]" expose_view="true" align="center"/>
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">
2015-08-07 16:18:07 +02:00
<htmlarea statustext="Web-Site for this resource" id="long_description" height="200" toolbar="true" 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">
<link-to id="link_to" span="all"/>
</row>
<row class="th">
<description value="Existing links" span="all"/>
</row>
2014-03-17 09:12:28 +01:00
<row class="row_off" valign="top">
2012-11-14 19:00:02 +01:00
<link-list id="link_to" span="all"/>
</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">
<description value="Custom fields"/>
</row>
2012-11-14 19:00:02 +01:00
<row valign="top">
<customfields/>
</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">
<description value="Name"/>
<textbox statustext="Name of resource" id="name" needed="1" class="et2_fullWidth et2_required" span="4"/>
<textbox type="integer" id="res_id" readonly="true"/>
<appicon/>
<description/>
</row>
<row class="dialogHeader2">
<description value="Quantity"/>
<textbox statustext="Quantity of resource" id="quantity" size="5" maxlength="10" class="et2_fullWidth"/>
<description/>
<description value="Category"/>
<menulist span="3">
<menupopup align="right" statustext="Which category does this resource belong to?" id="cat_id" needed="1" no_lang="1" class="et2_fullWidth" />
</menulist>
<description/>
</row>
<row class="dialogHeader3">
<description value="Usable"/>
<textbox statustext="How many of them are useable?" id="useable" size="5" maxlength="10" class="et2_fullWidth"/>
<description/>
<description value="Bookable"/>
<checkbox statustext="Is resource bookable?" id="bookable" span="3"/>
<description/>
</row>
<row>
2015-03-05 14:19:49 +01:00
<tabbox id="tabs" span="all" width="100%" tab_height="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>
</tabbox>
</row>
2014-03-17 09:12:28 +01:00
<row class="dialogOperators">
<description value="Created by"/>
<hbox>
<menulist>
2014-03-18 10:39:30 +01:00
<menupopup type="select-account" id="res_owner" readonly="true"/>
2014-03-17 09:12:28 +01:00
</menulist>
2014-03-18 10:39:30 +01:00
<date-time id="res_created" readonly="true" align="right"/>
2012-12-03 21:20:42 +01:00
</hbox>
2014-03-17 09:12:28 +01:00
<description/>
<description value="Last modified"/>
2005-11-14 22:40:50 +01:00
<hbox>
<menulist>
2014-03-18 10:39:30 +01:00
<menupopup type="select-account" id="res_modifier" readonly="true"/>
2005-11-14 22:40:50 +01:00
</menulist>
2014-03-18 10:39:30 +01:00
<date-time id="res_modified" readonly="true" align="right"/>
2005-11-14 22:40:50 +01:00
</hbox>
</row>
2014-03-17 09:12:28 +01:00
<row class="dialogFooterToolbar">
<hbox span="3">
<button statustext="Saves entry and exits" label="Save" id="button[save]" image="save" background_image="1"/>
<button label="Apply" id="button[apply]" image="apply" background_image="1"/>
2016-06-15 17:27:06 +02:00
<button label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
2014-03-17 09:12:28 +01:00
</hbox>
<button align="right" label="Delete" id="button[delete]" onclick="et2_dialog.confirm(widget,'Do you really want do delte this resource?','Delete')" image="delete" background_image="1"/>
2005-11-14 22:40:50 +01:00
</row>
</rows>
</grid>
</template>
2015-02-17 10:55:05 +01:00
</overlay>