You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.8 KiB
Plaintext
45 lines
1.8 KiB
Plaintext
<?page title="Uživatelé" contentType="text/html;charset=UTF-8"?>
|
|
<zk>
|
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
|
<window title="Uživatelé" border="normal" apply="org.zkoss.bind.BindComposer"
|
|
viewModel="@id('vm') @init('info.bukova.isspst.ui.users.UsersList')" height="570px">
|
|
|
|
<include src="/app/toolbar.zul"/>
|
|
|
|
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)">
|
|
<auxhead sclass="category-center" visible="@load(vm.filter)">
|
|
<auxheader>
|
|
<image src="/img/funnel.png" />
|
|
<textbox value="@bind(vm.filterTemplate.username)" instant="true" onChange="@command('doFilter')"/>
|
|
</auxheader>
|
|
<auxheader>
|
|
<image src="/img/funnel.png" />
|
|
<textbox value="@bind(vm.filterTemplate.personalNumber)" instant="true" onChange="@command('doFilter')"/>
|
|
</auxheader>
|
|
<auxheader>
|
|
<image src="/img/funnel.png" />
|
|
<textbox value="@bind(vm.filterTemplate.firstName)" instant="true" onChange="@command('doFilter')"/>
|
|
</auxheader>
|
|
<auxheader>
|
|
<image src="/img/funnel.png" />
|
|
<textbox value="@bind(vm.filterTemplate.lastName)" instant="true" onChange="@command('doFilter')"/>
|
|
</auxheader>
|
|
</auxhead>
|
|
<listhead>
|
|
<listheader label="Login"/>
|
|
<listheader label="Osobní číslo"/>
|
|
<listheader label="Jméno"/>
|
|
<listheader label="Příjmení"/>
|
|
</listhead>
|
|
<template name="model">
|
|
<listitem>
|
|
<listcell label="@load(each.username)"/>
|
|
<listcell label="@load(each.personalNumber)"/>
|
|
<listcell label="@load(each.firstName)"/>
|
|
<listcell label="@load(each.lastName)"/>
|
|
</listitem>
|
|
</template>
|
|
</listbox>
|
|
|
|
</window>
|
|
</zk> |