@@ -0,0 +1,110 @@
|
||||
<?page title="${labels.AgendaWorkgroups}" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||
<window border="normal" apply="org.zkoss.bind.BindComposer"
|
||||
viewModel="@id('vm') @init('info.bukova.isspst.ui.workgroups.WorkgroupList')">
|
||||
<caption zclass="form-caption" label="${labels.AgendaWorkgroups}" />
|
||||
<include src="/app/toolbar.zul" />
|
||||
|
||||
<hbox width="100%" height="500px">
|
||||
|
||||
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" width="680px" height="480px">
|
||||
<listhead menupopup="auto">
|
||||
<listheader label="${labels.code}" sort="czech(code)" width="10%" />
|
||||
<listheader label="${labels.name}" sort="czech(name)" width="30%" />
|
||||
</listhead>
|
||||
<!--
|
||||
<auxhead sclass="category-center" visible="@load(vm.filter)">
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.code)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.name)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.description)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
</auxhead>
|
||||
-->
|
||||
<template name="model">
|
||||
<listitem>
|
||||
<listcell label="@load(each.code)" />
|
||||
<listcell label="@load(each.name)" />
|
||||
</listitem>
|
||||
</template>
|
||||
</listbox>
|
||||
|
||||
<groupbox>
|
||||
<caption label="členové"/>
|
||||
<tree hflex="1" model="@load(vm.workgroupTreeModel)">
|
||||
<treecols>
|
||||
<treecol/>
|
||||
</treecols>
|
||||
<template name="model">
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell image="@load(each.data.hasJob ? '/img/user-small.png' : '/img/commission-small.png')" label="@load(each.data.fullName)"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</template>
|
||||
</tree>
|
||||
</groupbox>
|
||||
|
||||
<!-- <panel hflex="1" width="70%" height="480px">
|
||||
<panelchildren>
|
||||
<grid model="@load(vm.dataBean.approvers)" height="90px">
|
||||
<columns>
|
||||
<column label="Vedoucí" sort="auto(fullName)"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<template name="model">
|
||||
<row>
|
||||
<cell>
|
||||
<image src="/img/user-small-red.png"/><label value="@load(each.fullName)"/>
|
||||
</cell>
|
||||
</row>
|
||||
</template>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<grid model="@load(vm.dataBean.members)" height="290px">
|
||||
<columns>
|
||||
<column label="Členové" sort="auto(fullName)"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<template name="model">
|
||||
<row>
|
||||
<cell>
|
||||
<image src="/img/user-small.png"/><label value="@load(each.fullName)"/>
|
||||
</cell>
|
||||
</row>
|
||||
</template>
|
||||
</rows>
|
||||
</grid>
|
||||
</panelchildren>
|
||||
</panel> -->
|
||||
|
||||
</hbox>
|
||||
</window>
|
||||
</zk>
|
||||
Reference in New Issue
Block a user