Files
isspst/src/main/webapp/admin/users/users.zul
T

66 lines
2.5 KiB
Plaintext
Raw Normal View History

2014-04-28 17:15:25 +02:00
<?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"
2014-05-11 00:54:42 +02:00
viewModel="@id('vm') @init('info.bukova.isspst.ui.users.UsersList')" height="570px">
2014-04-28 17:15:25 +02:00
<include src="/app/toolbar.zul"/>
2014-05-18 20:19:39 +02:00
<hbox width="100%" height="500px">
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" width="650px" height="480px">
2014-05-11 00:54:42 +02:00
<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>
2014-04-28 17:15:25 +02:00
<listhead>
<listheader label="Login"/>
2014-05-11 00:54:42 +02:00
<listheader label="Osobní číslo"/>
<listheader label="Jméno"/>
<listheader label="Příjmení"/>
2014-04-28 17:15:25 +02:00
</listhead>
<template name="model">
<listitem>
<listcell label="@load(each.username)"/>
2014-05-11 00:54:42 +02:00
<listcell label="@load(each.personalNumber)"/>
<listcell label="@load(each.firstName)"/>
<listcell label="@load(each.lastName)"/>
2014-04-28 17:15:25 +02:00
</listitem>
</template>
</listbox>
2014-05-18 20:19:39 +02:00
<panel hflex="1" height="480px" width="70%">
<panelchildren style="overflow:auto;">
<label value="Efektivní práva:" style="font-weight: bold;"/>
<vbox children="@load(vm.modules)" hflex="1">
<template name="children" var="module">
<groupbox closable="false" mold="3d" hflex="1">
<caption label="@load(module.name)"/>
<hbox children="@load(vm.permissions)">
<template name="children" var="perm">
<label value="@load(perm.description.concat(', '))" visible="@load(module.id eq perm.module)"/>
</template>
</hbox>
</groupbox>
</template>
</vbox>
</panelchildren>
</panel>
</hbox>
2014-05-11 00:54:42 +02:00
2014-04-28 17:15:25 +02:00
</window>
</zk>