Files
isspst/src/main/webapp/admin/permissions/permForm.zul
T

23 lines
967 B
Plaintext
Raw Normal View History

<?page title="${labels.RightsFormTitle}" contentType="text/html;charset=UTF-8"?>
2014-05-18 20:19:39 +02:00
<zk>
<window id="editWin" border="normal" closable="true" width="550px" apply="org.zkoss.bind.BindComposer"
2014-05-18 20:19:39 +02:00
viewModel="@id('vm') @init('info.bukova.isspst.ui.users.PermissionForm')">
<caption zclass="form-caption" label="${labels.AgendaRights}" />
2014-05-18 20:19:39 +02:00
<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>