forked from extern/egroupware
196 lines
7.0 KiB
XML
196 lines
7.0 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>
|
|
<template id="resources.edit_tabs.general" template="" lang="" group="0" version="">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width = "120"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<et2-description value="Inventory number"></et2-description>
|
|
<et2-textbox id="inventory_number"></et2-textbox>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Accessory of"></et2-description>
|
|
<et2-vbox >
|
|
<et2-select id="accessory_of" noLang="1"></et2-select>
|
|
<et2-description id="accessory_label"></et2-description>
|
|
</et2-vbox>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Description (short)"></et2-description>
|
|
<et2-textbox statustext="Short description of resource" id="short_description" maxlength="100"></et2-textbox>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Storage information"></et2-description>
|
|
<et2-textbox statustext="Information about storage" id="storage_info" maxlength="100" span="all"></et2-textbox>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Location"></et2-description>
|
|
<et2-textbox statustext="Where to find this resource?" id="location" maxlength="100" ></et2-textbox>
|
|
</row>
|
|
<row>
|
|
<et2-description disabled="true" value="Buyable"></et2-description>
|
|
<et2-checkbox disabled="true" statustext="Is resource buyable?" id="buyable" span="all" ></et2-checkbox>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Picture"></et2-description>
|
|
<grid>
|
|
<columns>
|
|
<column width="10%"/>
|
|
<column width="90%"/>
|
|
</columns>
|
|
<rows>
|
|
|
|
<row>
|
|
<radio id="picture_src" set_value="gen_src" />
|
|
<et2-description value="Use general resources icon"></et2-description>
|
|
</row>
|
|
<row>
|
|
<radio id="picture_src" set_value="cat_src" />
|
|
<et2-description value="Use the category's icon"></et2-description>
|
|
</row>
|
|
<row>
|
|
<radio id="picture_src" set_value="own_src" />
|
|
<et2-description value="Use own picture"></et2-description>
|
|
</row>
|
|
|
|
</rows>
|
|
</grid>
|
|
</row>
|
|
<row>
|
|
<file id="own_file" class="resources_pictureFile" onchange="app.resources.select_picture_src"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
<template id="resources.edit_tabs.page" template="" lang="" group="0" version="">
|
|
<htmlarea statustext="Web-Site for this resource" id="long_description" height="200" toolbar="true" imageUpload="link_to"/>
|
|
</template>
|
|
<template id="resources.edit_tabs.links" template="" lang="" group="0" version="">
|
|
<grid width="100%" height="245" overflow="auto">
|
|
<columns>
|
|
<column width="100"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row class="row">
|
|
<et2-link-to id="link_to" span="all"></et2-link-to>
|
|
</row>
|
|
<row class="th">
|
|
<et2-description value="Existing links" span="all"></et2-description>
|
|
</row>
|
|
<row class="row_off" valign="top">
|
|
<et2-link-list id="link_to" span="all"></et2-link-list>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
<template id="resources.edit_tabs.custom" template="" lang="" group="0" version="">
|
|
<grid width="100%" height="245" class="row_on" spacing="0" padding="0" overflow="auto">
|
|
<columns>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row class="th" height="20">
|
|
<et2-description value="Custom fields"></et2-description>
|
|
</row>
|
|
<row valign="top">
|
|
<customfields/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
<template id="resources.edit_tabs.ownership" template="" lang="" group="0" version="">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width = "120"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row class="dialogOperators">
|
|
<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>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
<template id="resources.edit" template="" lang="" group="0" version="1.9.002">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width = "120"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row class="dialogHeadbar" >
|
|
<et2-hbox>
|
|
<et2-button id="button[apply]" image="apply"></et2-button>
|
|
<et2-button id="button[delete]" onclick="et2_dialog.confirm(widget,'Do you really want to delete this resource?','Delete')" image="delete"></et2-button>
|
|
<et2-number id="res_id" readonly="true" class="entry_id" precision="0"></et2-number>
|
|
</et2-hbox>
|
|
</row>
|
|
<row>
|
|
<et2-description></et2-description>
|
|
<et2-box>
|
|
<et2-hbox class="avatar">
|
|
<et2-image-expose src="resource_picture" href="$cont[picture_original]" align="center"></et2-image-expose>
|
|
</et2-hbox>
|
|
|
|
</et2-box>
|
|
</row>
|
|
<row class="dialogHeader">
|
|
<et2-description value="Name"></et2-description>
|
|
<et2-textbox statustext="Name of resource" id="name" class="et2_required" span="4" required="1"></et2-textbox>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Quantity"></et2-description>
|
|
<et2-textbox statustext="Quantity of resource" id="quantity" maxlength="10"></et2-textbox>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Category"></et2-description>
|
|
<et2-select span="3" align="right" statustext="Which category does this resource belong to?" id="cat_id" required="1" noLang="1"></et2-select>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Usable"></et2-description>
|
|
<et2-textbox statustext="How many of them are useable?" id="useable" maxlength="10"></et2-textbox>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Bookable"></et2-description>
|
|
<et2-checkbox statustext="Is resource bookable?" id="bookable" span="3"></et2-checkbox>
|
|
</row>
|
|
<row>
|
|
<et2-vbox span="all" width="100%" tabHeight="250">
|
|
<et2-details id="page" summary="Description" title="Informations about the location of resource">
|
|
<template id="resources.edit_tabs.page"/>
|
|
</et2-details>
|
|
<et2-details id="general" summary="Details" title="General informations about resource">
|
|
<template id="resources.edit_tabs.general"/>
|
|
</et2-details>
|
|
<et2-details id="links" summary="Links" title="Web-Page of resource">
|
|
<template id="resources.edit_tabs.links"/>
|
|
</et2-details>
|
|
<et2-details id="custom" summary="Custom" title="Pictures or resource">
|
|
<template id="resources.edit_tabs.custom"/>
|
|
</et2-details>
|
|
<et2-details id="ownership" summary="Ownership" title="">
|
|
<template id="resources.edit_tabs.ownership"/>
|
|
</et2-details>
|
|
</et2-vbox>
|
|
</row>
|
|
|
|
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
</overlay> |