git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@602651 13f79535-47bb-0310-9956-ffa450edef68
170 lines
9.9 KiB
XML
170 lines
9.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
<screen name="FindTimeSheet">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFindTimeSheet"/>
|
|
<set field="headerItem" value="timesheet"/>
|
|
<set field="labelTitleProperty" value="ProjectMgrFindTimeSheet"/>
|
|
<script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListTimeSheetByDateRange.bsh"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTimesheetDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://projectmgr/webapp/projectmgr/project/listTimeSheetByDateRange.ftl"/></html>
|
|
</platform-specific>
|
|
<container style="button-bar"><link target="EditTimeSheet" text="${uiLabelMap.TimesheetCreate}" style="buttontext"/></container>
|
|
<include-form name="ListFindTimeSheet" location="component://projectmgr/widget/forms/TimeSheetForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditTimeSheet1">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFindTimesheet"/>
|
|
<set field="headerItem" value="timesheet"/>
|
|
<set field="tabButtonItem" value="edittimesheet"/>
|
|
<set field="labelTitleProperty" value="PageTitleAddTimesheet"/>
|
|
<entity-one entity-name="Timesheet" value-name="timesheet"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTimesheetDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleEditTimesheet} # ${timesheet.timesheetId}</label></container>
|
|
<container style="screenlet-body">
|
|
<include-form name="EditTimesheet" location="component://workeffort/widget/TimesheetForms.xml"/>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="MyTimesheets">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFindTimesheet"/>
|
|
<set field="tabButtonItem" value="edittimesheet"/>
|
|
<set field="labelTitleProperty" value="PageTitleAddTimesheet"/>
|
|
<script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/EditWeekTimesheet.bsh"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonMyTimeDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleEditCurrentTimesheet} # ${timesheet.timesheetId} week: ${weekNumber}</label></container>
|
|
<container style="screenlet-body">
|
|
<include-form name="EditWeekTimesheet" location="component://projectmgr/widget/forms/TimeSheetForms.xml"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleMyTimesheets} # ${timesheet.timesheetId}</label></container>
|
|
<container style="screenlet-body">
|
|
<include-form name="ListTimeSheets" location="component://projectmgr/widget/forms/TimeSheetForms.xml"/>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditTimeSheetEntries">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditTimesheetEntries"/>
|
|
<set field="tabButtonItem" value="TimesheetEntries"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditTimesheetEntries"/>
|
|
|
|
<set field="timesheetId" from-field="parameters.timesheetId"/>
|
|
<entity-one entity-name="Timesheet" value-name="timesheet"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTimesheetDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container><link text="${uiLabelMap.TimesheetCreate}" target="EditTimesheet" style="linktext"/></container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleEditTimesheetEntries}</label></container>
|
|
<container style="screenlet-body">
|
|
<include-form name="ListTimesheetEntries" location="component://projectmgr/widget/forms/TimeSheetForms.xml"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleAddTimesheetEntry}</label></container>
|
|
<container style="screenlet-body">
|
|
<include-form name="AddTimesheetEntry" location="component://projectmgr/widget/forms/TimeSheetForms.xml"/>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditTimesheetRoles">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditTimesheetRoles"/>
|
|
<set field="tabButtonItem" value="TimesheetRoles"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditTimesheetRoles"/>
|
|
|
|
<set field="timesheetId" from-field="parameters.timesheetId"/>
|
|
<entity-one entity-name="Timesheet" value-name="timesheet"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonTimesheetDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container><link text="${uiLabelMap.TimesheetCreate}" target="EditTimesheet" style="linktext"/></container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleEditTimesheetRoles}</label></container>
|
|
<container style="screenlet-body">
|
|
<include-form name="ListTimesheetRoles" location="component://workeffort/widget/TimesheetForms.xml"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar"><label style="boxhead">${uiLabelMap.PageTitleAddTimesheetRole}</label></container>
|
|
<container style="screenlet-body">
|
|
<include-form name="AddTimesheetRole" location="component://workeffort/widget/TimesheetForms.xml"/>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|