mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-30 18:49:08 +01:00
62b3632073
- Implement resources edit dialog - Fix resources picture is not styled - Fix mail subject column lost its width - Implement new id representation for entries both on view and edit dialogs
205 lines
6.6 KiB
XML
205 lines
6.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
|
|
<!-- $Id$ -->
|
|
<overlay>
|
|
<template id="resources.edit_tabs.general" template="" lang="" group="0" version="">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width = "120"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<description value="Inventory number"/>
|
|
<textbox id="inventory_number" class="et2_fullWidth"/>
|
|
</row>
|
|
<row>
|
|
<description value="Accessory of"/>
|
|
<vbox class="et2_fullWidth">
|
|
<menulist class="et2_fullWidth">
|
|
<menupopup id="accessory_of" no_lang="1" />
|
|
</menulist>
|
|
<description id="accessory_label"/>
|
|
</vbox>
|
|
</row>
|
|
<row>
|
|
<description value="Description (short)"/>
|
|
<textbox statustext="Short description of resource" id="short_description" size="50" maxlength="100" class="et2_fullWidth"/>
|
|
</row>
|
|
<row>
|
|
<description value="Storage information"/>
|
|
<textbox statustext="Information about storage" id="storage_info" maxlength="100" size="50" class="et2_fullWidth" span="all"/>
|
|
</row>
|
|
<row>
|
|
<description value="Location"/>
|
|
<textbox statustext="Where to find this resource?" id="location" maxlength="100" size="50" class="et2_fullWidth" />
|
|
</row>
|
|
<row>
|
|
<description disabled="true" value="Buyable"/>
|
|
<checkbox disabled="true" statustext="Is resource buyable?" id="buyable" span="all" class="et2_fullWidth" />
|
|
</row>
|
|
<row>
|
|
<description value="Picture"/>
|
|
<grid>
|
|
<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>
|
|
|
|
</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">
|
|
<link-to id="link_to" span="all"/>
|
|
</row>
|
|
<row class="th">
|
|
<description value="Existing links" span="all"/>
|
|
</row>
|
|
<row class="row_off" valign="top">
|
|
<link-list id="link_to" span="all"/>
|
|
</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">
|
|
<description value="Custom fields"/>
|
|
</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">
|
|
<description value="Created by"/>
|
|
<hbox>
|
|
<menulist>
|
|
<menupopup type="select-account" id="res_owner" readonly="true"/>
|
|
</menulist>
|
|
<date-time id="res_created" readonly="true" align="right"/>
|
|
</hbox>
|
|
<description/>
|
|
<description value="Last modified"/>
|
|
<hbox>
|
|
<menulist>
|
|
<menupopup type="select-account" id="res_modifier" readonly="true"/>
|
|
</menulist>
|
|
<date-time id="res_modified" readonly="true" align="right"/>
|
|
</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" >
|
|
<hbox>
|
|
<button id="button[apply]" image="apply" background_image="1"/>
|
|
<button id="button[delete]" onclick="et2_dialog.confirm(widget,'Do you really want do delte this resource?','Delete')" image="delete" background_image="1"/>
|
|
<textbox type="integer" id="res_id" readonly="true" class="entry_id"/>
|
|
</hbox>
|
|
</row>
|
|
<row>
|
|
<description/>
|
|
<box>
|
|
<hbox class="avatar">
|
|
<image src="resource_picture" href="$cont[picture_original]" expose_view="true" align="center"/>
|
|
</hbox>
|
|
|
|
</box>
|
|
</row>
|
|
<row class="dialogHeader">
|
|
<description value="Name"/>
|
|
<textbox statustext="Name of resource" id="name" needed="1" class="et2_fullWidth et2_required" span="4"/>
|
|
</row>
|
|
<row>
|
|
<description value="Quantity"/>
|
|
<textbox statustext="Quantity of resource" id="quantity" size="5" maxlength="10" class="et2_fullWidth"/>
|
|
</row>
|
|
<row>
|
|
<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>
|
|
</row>
|
|
<row>
|
|
<description value="Usable"/>
|
|
<textbox statustext="How many of them are useable?" id="useable" size="5" maxlength="10" class="et2_fullWidth"/>
|
|
</row>
|
|
<row>
|
|
<description value="Bookable"/>
|
|
<checkbox statustext="Is resource bookable?" id="bookable" span="3"/>
|
|
</row>
|
|
<row>
|
|
<tabbox id="tabs" span="all" width="100%" tab_height="250" align_tabs="v">
|
|
<tabs>
|
|
<tab id="page" label="Description" statustext="Informations about the location of resource"/>
|
|
<tab id="general" label="Details" statustext="General informations about resource"/>
|
|
<tab id="links" label="Links" statustext="Web-Page of resource"/>
|
|
<tab id="custom" label="Custom" statustext="Pictures or resource"/>
|
|
<tab id="ownership" label="Ownership"/>
|
|
</tabs>
|
|
<tabpanels>
|
|
<template id="resources.edit_tabs.page"/>
|
|
<template id="resources.edit_tabs.general"/>
|
|
<template id="resources.edit_tabs.links"/>
|
|
<template id="resources.edit_tabs.custom"/>
|
|
<template id="resources.edit_tabs.ownership"/>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</row>
|
|
|
|
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
</overlay>
|