23 lines
905 B
Plaintext
23 lines
905 B
Plaintext
<?page title="Uživatel" contentType="text/html;charset=UTF-8"?>
|
|||
|
|
<zk>
|
||
|
|
<window id="editWin" title="Uživatel" border="normal" closable="true" width="550px" apply="org.zkoss.bind.BindComposer"
|
||
|
|
viewModel="@id('vm') @init('info.bukova.isspst.ui.users.PermissionForm')">
|
||
|
|
|
||
|
|
<label value="@load(vm.dataBean.description)" style="font-weight: bold;"/>
|
||
|
|
|
||
|
|
<vbox children="@load(vm.modules)" width="530px">
|
||
|
|
<template name="children" var="module">
|
||
|
|
<groupbox closable="false" mold="3d" width="530px">
|
||
|
|
<caption label="@load(module.name)"/>
|
||
|
|
<hbox children="@load(vm.rolePerms.permissionChecks)">
|
||
|
|
<template name="children" var="perm">
|
||
|
|
<checkbox label="@load(perm.permission.description)" checked="@bind(perm.checked)" visible="@load(perm.permission.module eq module.id)"/>
|
||
|
|
</template>
|
||
|
|
</hbox>
|
||
|
|
</groupbox>
|
||
|
|
</template>
|
||
|
|
</vbox>
|
||
|
|
|
||
|
|
<include src="/app/formButtons.zul"/>
|
||
|
|
</window>
|
||
|
|
</zk>
|