|
|
@ -1,23 +1,47 @@
|
|
|
|
<?page title="${labels.AgendaBuildings}" contentType="text/html;charset=UTF-8"?>
|
|
|
|
<?page title="${labels.AgendaBuildings}" 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" viewModel="@id('vm') @init('info.bukova.isspst.ui.buildings.BuildingList')">
|
|
|
|
<window
|
|
|
|
<caption zclass="form-caption" label="${labels.AgendaBuildings}" />
|
|
|
|
vflex="1"
|
|
|
|
|
|
|
|
border="normal"
|
|
|
|
|
|
|
|
apply="org.zkoss.bind.BindComposer"
|
|
|
|
|
|
|
|
viewModel="@id('vm') @init('info.bukova.isspst.ui.buildings.BuildingList')">
|
|
|
|
|
|
|
|
<caption
|
|
|
|
|
|
|
|
image="/img/house-032.png"
|
|
|
|
|
|
|
|
zclass="form-caption"
|
|
|
|
|
|
|
|
label="${labels.AgendaBuildings}" />
|
|
|
|
<include src="/app/toolbar.zul" />
|
|
|
|
<include src="/app/toolbar.zul" />
|
|
|
|
|
|
|
|
|
|
|
|
<hbox width="100%">
|
|
|
|
<hbox width="100%">
|
|
|
|
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" hflex="4">
|
|
|
|
<listbox
|
|
|
|
|
|
|
|
vflex="1"
|
|
|
|
|
|
|
|
model="@load(vm.dataList)"
|
|
|
|
|
|
|
|
selectedItem="@bind(vm.dataBean)"
|
|
|
|
|
|
|
|
hflex="4">
|
|
|
|
<listhead menupopup="auto">
|
|
|
|
<listhead menupopup="auto">
|
|
|
|
<listheader label="${labels.BuildingsGridColumnCode}" sort="czech(code)" width="10%" />
|
|
|
|
<listheader
|
|
|
|
<listheader label="${labels.BuildingsGridColumnName}" sort="czech(name)" width="30%" />
|
|
|
|
label="${labels.BuildingsGridColumnCode}"
|
|
|
|
<listheader label="${labels.BuildingsGridColumnDescription}" sort="czech(description)" width="60%" />
|
|
|
|
sort="czech(code)"
|
|
|
|
|
|
|
|
width="10%" />
|
|
|
|
|
|
|
|
<listheader
|
|
|
|
|
|
|
|
label="${labels.BuildingsGridColumnName}"
|
|
|
|
|
|
|
|
sort="czech(name)"
|
|
|
|
|
|
|
|
width="30%" />
|
|
|
|
|
|
|
|
<listheader
|
|
|
|
|
|
|
|
label="${labels.BuildingsGridColumnDescription}"
|
|
|
|
|
|
|
|
sort="czech(description)"
|
|
|
|
|
|
|
|
width="60%" />
|
|
|
|
</listhead>
|
|
|
|
</listhead>
|
|
|
|
|
|
|
|
<auxhead
|
|
|
|
<auxhead sclass="category-center" visible="@load(vm.filter)">
|
|
|
|
sclass="category-center"
|
|
|
|
|
|
|
|
visible="@load(vm.filter)">
|
|
|
|
<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.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" />
|
|
|
@ -27,7 +51,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" />
|
|
|
@ -37,7 +65,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.description)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
|
|
|
<textbox
|
|
|
|
|
|
|
|
value="@bind(vm.filterTemplate.description)"
|
|
|
|
|
|
|
|
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" />
|
|
|
@ -45,7 +77,6 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</auxheader>
|
|
|
|
</auxheader>
|
|
|
|
</auxhead>
|
|
|
|
</auxhead>
|
|
|
|
|
|
|
|
|
|
|
|
<template name="model">
|
|
|
|
<template name="model">
|
|
|
|
<listitem>
|
|
|
|
<listitem>
|
|
|
|
<listcell label="@load(each.code)" />
|
|
|
|
<listcell label="@load(each.code)" />
|
|
|
@ -56,7 +87,9 @@
|
|
|
|
</listbox>
|
|
|
|
</listbox>
|
|
|
|
<vbox>
|
|
|
|
<vbox>
|
|
|
|
<label value="${labels.BuildingsGridRooms}" />
|
|
|
|
<label value="${labels.BuildingsGridRooms}" />
|
|
|
|
<grid model="@load(vm.dataBean.rooms)" hflex="6">
|
|
|
|
<grid
|
|
|
|
|
|
|
|
model="@load(vm.dataBean.rooms)"
|
|
|
|
|
|
|
|
hflex="6">
|
|
|
|
<columns menupopup="auto">
|
|
|
|
<columns menupopup="auto">
|
|
|
|
<column label="${labels.code}" />
|
|
|
|
<column label="${labels.code}" />
|
|
|
|
<column label="${labels.name}" />
|
|
|
|
<column label="${labels.name}" />
|
|
|
@ -78,6 +111,5 @@
|
|
|
|
</grid>
|
|
|
|
</grid>
|
|
|
|
</vbox>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
|
|
|
|
</window>
|
|
|
|
</window>
|
|
|
|
</zk>
|
|
|
|
</zk>
|