|
|
@ -1,29 +1,46 @@
|
|
|
|
<?page title="${labels.AgendaWorkgroups}" contentType="text/html;charset=UTF-8"?>
|
|
|
|
<?page title="${labels.AgendaWorkgroups}" contentType="text/html;charset=UTF-8"?>
|
|
|
|
<zk>
|
|
|
|
<zk>
|
|
|
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
|
|
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
|
|
|
<window border="normal" apply="org.zkoss.bind.BindComposer"
|
|
|
|
<window
|
|
|
|
|
|
|
|
border="normal"
|
|
|
|
|
|
|
|
apply="org.zkoss.bind.BindComposer"
|
|
|
|
viewModel="@id('vm') @init('info.bukova.isspst.ui.workgroups.WorkgroupList')"
|
|
|
|
viewModel="@id('vm') @init('info.bukova.isspst.ui.workgroups.WorkgroupList')"
|
|
|
|
vflex="1">
|
|
|
|
vflex="1"
|
|
|
|
<caption zclass="form-caption" label="${labels.AgendaWorkgroups}" />
|
|
|
|
hflex="1">
|
|
|
|
|
|
|
|
<caption
|
|
|
|
|
|
|
|
zclass="form-caption"
|
|
|
|
|
|
|
|
label="${labels.AgendaWorkgroups}" />
|
|
|
|
<include src="/app/toolbar.zul" />
|
|
|
|
<include src="/app/toolbar.zul" />
|
|
|
|
|
|
|
|
<hlayout vflex="1">
|
|
|
|
<hbox width="100%" vflex="1">
|
|
|
|
<listbox
|
|
|
|
|
|
|
|
model="@load(vm.dataList)"
|
|
|
|
<listbox model="@load(vm.dataList)"
|
|
|
|
|
|
|
|
selectedItem="@bind(vm.dataBean)"
|
|
|
|
selectedItem="@bind(vm.dataBean)"
|
|
|
|
width="680px"
|
|
|
|
hflex="1"
|
|
|
|
vflex="1">
|
|
|
|
vflex="1">
|
|
|
|
<listhead menupopup="auto">
|
|
|
|
<listhead menupopup="auto">
|
|
|
|
<listheader label="${labels.code}" sort="czech(code)" width="10%" />
|
|
|
|
<listheader
|
|
|
|
<listheader label="${labels.name}" sort="czech(name)" width="30%" />
|
|
|
|
label="${labels.code}"
|
|
|
|
<listheader label="${labels.centre}" width="8%"/>
|
|
|
|
sort="czech(code)"
|
|
|
|
|
|
|
|
hflex="10" />
|
|
|
|
|
|
|
|
<listheader
|
|
|
|
|
|
|
|
label="${labels.name}"
|
|
|
|
|
|
|
|
sort="czech(name)"
|
|
|
|
|
|
|
|
hflex="15" />
|
|
|
|
|
|
|
|
<listheader
|
|
|
|
|
|
|
|
label="${labels.centre}"
|
|
|
|
|
|
|
|
hflex="5" />
|
|
|
|
</listhead>
|
|
|
|
</listhead>
|
|
|
|
|
|
|
|
<auxhead
|
|
|
|
<auxhead sclass="category-center" visible="@load(vm.filter)">
|
|
|
|
sclass="category-center"
|
|
|
|
<auxheader>
|
|
|
|
visible="@load(vm.filter)">
|
|
|
|
|
|
|
|
<auxheader>
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<textbox value="@bind(vm.filterTemplate.code)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
|
|
|
<textbox
|
|
|
|
|
|
|
|
value="@bind(vm.filterTemplate.code)"
|
|
|
|
|
|
|
|
instant="true"
|
|
|
|
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
@ -33,7 +50,11 @@
|
|
|
|
<auxheader>
|
|
|
|
<auxheader>
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<textbox value="@bind(vm.filterTemplate.name)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
|
|
|
<textbox
|
|
|
|
|
|
|
|
value="@bind(vm.filterTemplate.name)"
|
|
|
|
|
|
|
|
instant="true"
|
|
|
|
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
@ -43,7 +64,10 @@
|
|
|
|
<auxheader>
|
|
|
|
<auxheader>
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<checkbox label="${labels.centre}" checked="@bind(vm.filterTemplate.centre)" onClick="@command('doFilter')"/>
|
|
|
|
<checkbox
|
|
|
|
|
|
|
|
label="${labels.centre}"
|
|
|
|
|
|
|
|
checked="@bind(vm.filterTemplate.centre)"
|
|
|
|
|
|
|
|
onClick="@command('doFilter')" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
@ -51,47 +75,64 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</auxheader>
|
|
|
|
</auxheader>
|
|
|
|
</auxhead>
|
|
|
|
</auxhead>
|
|
|
|
|
|
|
|
|
|
|
|
<template name="model">
|
|
|
|
<template name="model">
|
|
|
|
<listitem>
|
|
|
|
<listitem>
|
|
|
|
<listcell label="@load(each.code)" />
|
|
|
|
<listcell label="@load(each.code)" />
|
|
|
|
<listcell label="@load(each.name)" />
|
|
|
|
<listcell label="@load(each.name)" />
|
|
|
|
<listcell label="@load(each.centre) @converter(vm.boolConverter)"/>
|
|
|
|
<listcell label="@load(each.centre) @converter(vm.boolConverter)" />
|
|
|
|
</listitem>
|
|
|
|
</listitem>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</listbox>
|
|
|
|
</listbox>
|
|
|
|
|
|
|
|
<panel
|
|
|
|
<panel vflex="1">
|
|
|
|
vflex="1"
|
|
|
|
<panelchildren style="overflow:auto;">
|
|
|
|
hflex="1">
|
|
|
|
<vbox>
|
|
|
|
<panelchildren sclass="addScrollbar">
|
|
|
|
|
|
|
|
<vbox
|
|
|
|
|
|
|
|
vflex="1"
|
|
|
|
|
|
|
|
hflex="1">
|
|
|
|
<vbox children="@load(vm.workgroupRoles)">
|
|
|
|
<vbox children="@load(vm.workgroupRoles)">
|
|
|
|
<template name="children">
|
|
|
|
<template name="children">
|
|
|
|
<grid model="@load(vm.dataBean.members)" visible="@load(each.authority ne 'ROLE_USER')">
|
|
|
|
<grid
|
|
|
|
|
|
|
|
model="@load(vm.dataBean.members)"
|
|
|
|
|
|
|
|
visible="@load(each.authority ne 'ROLE_USER')">
|
|
|
|
<columns>
|
|
|
|
<columns>
|
|
|
|
<column label="@load(each.description)"/>
|
|
|
|
<column label="@load(each.description)" />
|
|
|
|
</columns>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<rows>
|
|
|
|
<template name="model" var="member">
|
|
|
|
<template
|
|
|
|
|
|
|
|
name="model"
|
|
|
|
|
|
|
|
var="member">
|
|
|
|
<row visible="@load(member.role eq each)">
|
|
|
|
<row visible="@load(member.role eq each)">
|
|
|
|
<hbox><image src="/img/user-small-red.png"/><label value="@load(member.member.fullName)"/></hbox>
|
|
|
|
<hbox>
|
|
|
|
|
|
|
|
<image src="/img/user-small-red.png" />
|
|
|
|
|
|
|
|
<label value="@load(member.member.fullName)" />
|
|
|
|
|
|
|
|
</hbox>
|
|
|
|
</row>
|
|
|
|
</row>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</rows>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</grid>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</vbox>
|
|
|
|
</vbox>
|
|
|
|
|
|
|
|
<groupbox
|
|
|
|
<groupbox mold="3d" closable="false">
|
|
|
|
mold="3d"
|
|
|
|
<caption label="členové"/>
|
|
|
|
closable="false"
|
|
|
|
<tree hflex="1" model="@load(vm.workgroupTreeModel)">
|
|
|
|
vflex="1"
|
|
|
|
|
|
|
|
hflex="1">
|
|
|
|
|
|
|
|
<caption label="${labels.members}" />
|
|
|
|
|
|
|
|
<tree
|
|
|
|
|
|
|
|
hflex="1"
|
|
|
|
|
|
|
|
vflex="1"
|
|
|
|
|
|
|
|
model="@load(vm.workgroupTreeModel)">
|
|
|
|
<treecols>
|
|
|
|
<treecols>
|
|
|
|
<treecol/>
|
|
|
|
<treecol />
|
|
|
|
</treecols>
|
|
|
|
</treecols>
|
|
|
|
<template name="model">
|
|
|
|
<template name="model">
|
|
|
|
<treeitem>
|
|
|
|
<treeitem>
|
|
|
|
<treerow>
|
|
|
|
<treerow>
|
|
|
|
<treecell image="@load(each.data.person ? '/img/user-small.png' : '/img/commission-small.png')" label="@load(each.data.fullName)"/>
|
|
|
|
<treecell
|
|
|
|
</treerow>
|
|
|
|
image="@load(each.data.person ? '/img/user-small.png' : '/img/commission-small.png')"
|
|
|
|
|
|
|
|
label="@load(each.data.fullName)" />
|
|
|
|
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
</treeitem>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</tree>
|
|
|
|
</tree>
|
|
|
@ -99,7 +140,6 @@
|
|
|
|
</vbox>
|
|
|
|
</vbox>
|
|
|
|
</panelchildren>
|
|
|
|
</panelchildren>
|
|
|
|
</panel>
|
|
|
|
</panel>
|
|
|
|
|
|
|
|
</hlayout>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
</window>
|
|
|
|
</window>
|
|
|
|
</zk>
|
|
|
|
</zk>
|