ItEr10S10CUCreacionDeOrganizacionsDeTraballo: Created basic structure for work organizations page
Javier Moran Rua <jmoran@igalia.com>: Deleted IWorkOrganizationController.java, it is not necessary.
This commit is contained in:
parent
819aeae50e
commit
80d60c0835
2 changed files with 91 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
||||||
|
package org.navalplanner.web.workorders;
|
||||||
|
|
||||||
|
import org.zkoss.zk.ui.util.GenericForwardComposer;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Controller for {@link WorkOrganization} view of WorkOrder entitites <br />
|
||||||
|
* @author Lorenzo Tilve Álvaro <ltilve@igalia.com>
|
||||||
|
*/
|
||||||
|
public class WorkOrganizationController extends GenericForwardComposer {
|
||||||
|
|
||||||
|
public WorkOrganizationController() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,76 @@
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
<?page id="Create"?>
|
||||||
|
<?init class="org.zkoss.zk.ui.util.Composition" arg0="/common/layout/template.zul"?>
|
||||||
|
<?link rel="stylesheet" type="text/css" href="/common/css/navalpro.css"?>
|
||||||
|
<?link rel="stylesheet" type="text/css" href="/resources/css/resources.css"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<zk>
|
||||||
|
<window self="@{define(content)}"
|
||||||
|
apply="org.navalplanner.web.workorders.WorkOrganizationController">
|
||||||
|
|
||||||
|
<tree id="tree" width="600px" rows="8" multiple="true" >
|
||||||
|
<treecols sizable="true">
|
||||||
|
<treecol label="Name" />
|
||||||
|
<treecol label="Description" />
|
||||||
|
</treecols>
|
||||||
|
<treechildren>
|
||||||
|
<treeitem>
|
||||||
|
<treerow draggable="true" droppable="true">
|
||||||
|
<treecell label=" Task 1 ">
|
||||||
|
<textbox value="Task 1 Name" width="230px"/>
|
||||||
|
</treecell>
|
||||||
|
<treecell>
|
||||||
|
<textbox value="10" width="30px"/> hours
|
||||||
|
</treecell>
|
||||||
|
</treerow>
|
||||||
|
</treeitem>
|
||||||
|
<treeitem>
|
||||||
|
<treerow draggable="true" droppable="true">
|
||||||
|
<treecell label=" Task 2 " >
|
||||||
|
<textbox value="Task 2 Name" width="230px"/>
|
||||||
|
</treecell>
|
||||||
|
<treecell>(calculated) hours </treecell>
|
||||||
|
</treerow>
|
||||||
|
<treechildren>
|
||||||
|
<treeitem>
|
||||||
|
<treerow draggable="true" droppable="true">
|
||||||
|
<treecell label="Task 2.1 " >
|
||||||
|
<textbox value="Task 1 Name" width="200px"/>
|
||||||
|
</treecell>
|
||||||
|
</treerow>
|
||||||
|
<treechildren>
|
||||||
|
<treeitem>
|
||||||
|
<treerow draggable="true" droppable="true">
|
||||||
|
<treecell label="Task 2.1.1 " >
|
||||||
|
<textbox value="Task 2.1.1 Name" width="170px"/>
|
||||||
|
</treecell>
|
||||||
|
</treerow>
|
||||||
|
</treeitem>
|
||||||
|
<treeitem>
|
||||||
|
<treerow draggable="true" droppable="true">
|
||||||
|
<treecell label="Item 2.1.2" />
|
||||||
|
</treerow>
|
||||||
|
</treeitem>
|
||||||
|
</treechildren>
|
||||||
|
</treeitem>
|
||||||
|
<treeitem>
|
||||||
|
<treerow draggable="true" droppable="true">
|
||||||
|
<treecell label="Item 2.2" />
|
||||||
|
</treerow>
|
||||||
|
<treechildren>
|
||||||
|
<treeitem>
|
||||||
|
<treerow draggable="true" droppable="true">
|
||||||
|
<treecell label="Item 2.2.1" />
|
||||||
|
</treerow>
|
||||||
|
</treeitem>
|
||||||
|
</treechildren>
|
||||||
|
</treeitem>
|
||||||
|
</treechildren>
|
||||||
|
</treeitem>
|
||||||
|
<treeitem label="Item 3" />
|
||||||
|
</treechildren>
|
||||||
|
</tree>
|
||||||
|
|
||||||
|
</window>
|
||||||
|
</zk>
|
||||||
Loading…
Add table
Reference in a new issue