egroupware/infolog/templates/mobile/edit.xet

212 lines
10 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">
<!-- $Id: edit.xet 54611 2015-12-22 17:01:32Z nathangray $ -->
<overlay>
<template id="infolog.edit.description" template="" lang="" group="0" version="1.6.001">
<et2-textarea id="info_des" width="99.7%" height="250" noLang="1" resizeRatio="0"></et2-textarea>
</template>
<template id="infolog.edit.links" template="" lang="" group="0" version="1.3.001">
<grid width="100%">
<columns>
<column/>
</columns>
<rows>
<row disabled="@view">
<et2-link-to id="link_to"></et2-link-to>
</row>
<row class="th">
<et2-description value="Existing links"></et2-description>
</row>
<row>
<et2-link-list id="link_to"></et2-link-list>
</row>
</rows>
</grid>
</template>
<template id="infolog.edit.project" template="" lang="" group="0" version="1.5.004">
<grid width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row>
<et2-description value="Project"></et2-description>
<et2-link-entry id="pm_id" onchange="app.infolog.submit_if_not_empty" class="infolog_projectName" width="99%" onlyApp="projectmanager" placeholder="None"></et2-link-entry>
</row>
<row>
<et2-description value="Price"></et2-description>
<et2-hbox>
<et2-number id="info_price"></et2-number>
<projectmanager-pricelist id="pl_id" onchange="window.app.infolog.et2.getWidgetById('info_price').set_value(this.options[this.selectedIndex].text.lastIndexOf('(') &lt; 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1));" options="None" />
</et2-hbox>
</row>
<row>
<et2-description value="planned time" for="info_planned_time"></et2-description>
<et2-date-duration id="info_planned_time" class="infolog_date_duration" displayFormat="$cont[duration_format]" hoursPerDay="$cont[hours_per_workday]"></et2-date-duration>
</row>
<row>
<et2-description value="Re-planned time" for="info_replanned_time"></et2-description>
<et2-date-duration id="info_replanned_time" class="infolog_date_duration" displayFormat="$cont[duration_format]" hoursPerDay="$cont[hours_per_workday]"></et2-date-duration>
</row>
<row>
<et2-description statustext="Leave blank to get the used time calculated by timesheet entries" value="used time" for="info_used_time"></et2-description>
<et2-date-duration id="info_used_time" span="2" class="infolog_date_duration" displayFormat="$cont[duration_format]" hoursPerDay="$cont[hours_per_workday]"></et2-date-duration>
</row>
</rows>
</grid>
</template>
<template id="infolog.edit.customfields" template="" lang="" group="0" version="1.0.1.001">
<customfields type_filter="@info_type"/>
</template>
<template id="infolog.edit.details" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row>
<et2-description value="CC"></et2-description>
<et2-select-email id="info_cc" width="100%" multiple="true" searchUrl="EGroupware\Api\Etemplate\Widget\Taglist::ajax_email" placeholder="email"></et2-select-email>
</row>
<row>
<et2-description value="Responsible" for="info_responsible"></et2-description>
<et2-select-account width="100%" statustext="select a responsible user: a person you want to delegate this task" id="info_responsible" multiple="true" onchange="app.infolog.onchangeResponsible" placeholder="User or group" noLang="1" accountType="both"></et2-select-account>
</row>
<row>
<et2-description value="Category" for="info_cat"></et2-description>
<et2-select-cat statustext="select a category for this entry" id="info_cat" emptyLabel="None"></et2-select-cat>
</row>
<row >
<et2-description value="Parent" fontStyle="1"></et2-description>
<et2-link-entry id="info_id_parent" onchange="if(egw &amp;&amp; widget) { if(widget._oldValue) window.opener.egw.dataStoreUID(egw.appName+&quot;::&quot;+widget._oldValue,false);window.opener.egw.dataStoreUID(egw.appName+&quot;::&quot;+widget.getValue(),false);}" onlyApp="infolog"></et2-link-entry>
</row>
<row>
<et2-description value="Location" for="info_location"></et2-description>
<et2-textbox id="info_location" maxlength="255"></et2-textbox>
</row>
<row>
<et2-description value="Priority" for="info_priority"></et2-description>
<et2-select statustext="select a priority for this task" id="info_priority"></et2-select>
</row>
<row>
<et2-description value="Date completed" for="info_datecompleted"></et2-description>
<et2-date-time statustext="Date completed (leave it empty to have it automatic set if status is done or billed)" id="info_datecompleted" onchange="app.infolog.statusChanged"></et2-date-time>
</row>
<row>
<et2-description value="Contact" for="info_from"></et2-description>
<et2-textbox statustext="Custom contact-information, leave emtpy to use information from most recent link" id="info_from" maxlength="255" placeholder="@blur_title"></et2-textbox>
</row>
</rows>
</grid>
</template>
<template id="infolog.edit.ownership" template="" lang="" group="0" version="16.1.00">
<grid width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row disabled="!@info_owner">
<et2-description value="Owner"></et2-description>
<et2-select-account id="info_owner" readonly="true"></et2-select-account>
</row>
<row>
<et2-description value="Created"></et2-description>
<et2-date-time id="info_created" readonly="true"></et2-date-time>
</row>
<row>
<et2-description value="Private" for="info_access"></et2-description>
<et2-checkbox statustext="should this entry only be visible to you and people you grant privat access via the ACL" id="info_access" selectedValue="private" unselectedValue="public" ></et2-checkbox>
</row>
<row>
<et2-description value="Last modified"></et2-description>
<et2-select-account id="info_modifier" readonly="true"></et2-select-account>
</row>
<row>
<et2-description></et2-description>
<et2-date-time id="info_datemodified" readonly="true"></et2-date-time>
</row>
</rows>
</grid>
</template>
<template id="infolog.edit" template="" lang="" group="0" version="1.9.101">
<grid border="1" width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row disabled="@hidebuttons" class="dialogHeadbar" >
<et2-hbox span="all" width="100%">
<et2-button-icon statustext="Apply the changes" id="button[apply]" image="apply"></et2-button-icon>
<et2-button-icon statustext="delete this entry" id="button[delete]" onclick="if($cont[info_anz_subs]) return $cont[info_anz_subs]; et2_dialog.confirm(widget,'Delete this entry','Delete');" image="delete" span="all"></et2-button-icon>
<et2-button-timestamp statustext="Insert timestamp into description field" id="timestamp" class="infologExtraButton infologTimestamp" image="timesheet" target="info_des"></et2-button-timestamp>
<et2-switch label="notifications" id="no_notifications" class="notification_check" toggleOn=" " toggleOff=" "/>
<et2-number id="info_number" readonly="true" class="entry_id" precision="0"></et2-number>
</et2-hbox>
</row>
<row disabled="!@showsearchbuttons" class="dialogHeadbar">
<et2-hbox span="all" width="100%">
<et2-button label="Search" id="button[search]" image="search"></et2-button>
<et2-button label="Cancel" id="button[cancelsearch]" image="cancel"></et2-button>
</et2-hbox>
</row>
<row>
<et2-description value="Title" for="info_subject"></et2-description>
<et2-textbox statustext="a short subject for the entry" id="info_subject" class="et2_required" maxlength="255" span="5" tabindex="1"></et2-textbox>
</row>
<row>
<et2-description value="Type" for="info_type"></et2-description>
<et2-hbox>
<et2-select statustext="Type of the log-entry: Note, Phonecall or ToDo" id="info_type" onchange="widget.getInstanceManager().submit(null,false,true); return false;" noLang="1"></et2-select>
</et2-hbox>
</row>
<row>
<et2-description value="Contact"></et2-description>
<et2-link-entry id="info_contact" span="4"></et2-link-entry>
</row>
<row>
<et2-description value="Startdate" for="info_startdate"></et2-description>
<et2-date-time statustext="when should the ToDo or Phonecall be started, it shows up from that date in the filter open or own open (startpage)" id="info_startdate"></et2-date-time>
</row>
<row>
<et2-description value="Enddate" for="info_enddate"></et2-description>
<et2-date-time statustext="til when should the ToDo or Phonecall be finished" id="info_enddate"></et2-date-time>
</row>
<row>
<et2-description value="Status" for="info_status"></et2-description>
<et2-select statustext="@status_help" id="info_status" onchange="app.infolog.statusChanged"></et2-select>
</row>
<row>
<et2-description value="Completed" for="info_percent"></et2-description>
<et2-select-percent span="4" statustext="Percent completed" id="info_percent" onchange="app.infolog.statusChanged"></et2-select-percent>
</row>
<row>
<et2-vbox id="tabs" span="all" width="100%">
<et2-details id="description" summary="Description" title="longer textual description">
<template id="infolog.edit.description"/>
</et2-details>
<et2-details id="details" summary="Details" title="Location, priority , ...">
<template id="infolog.edit.details"/>
</et2-details>
<et2-details id="links" summary="Links" title="Links of this entry">
<template id="infolog.edit.links"/>
</et2-details>
<et2-details id="project" summary="Projectmanager" title="Project settings: price, times">
<template id="infolog.edit.project"/>
</et2-details>
<et2-details id="customfields" summary="Customfields" title="Custom fields">
<template id="infolog.edit.customfields"/>
</et2-details>
<et2-details id="ownership" summary="Ownership" title="Ownership">
<template id="infolog.edit.ownership"/>
</et2-details>
</et2-vbox>
</row>
</rows>
</grid>
</template>
</overlay>