Systém přístupových práv
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?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')">
|
||||
<style src="/app/form.css"/>
|
||||
|
||||
<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>
|
||||
Reference in New Issue
Block a user