<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
xmlns:h="http://java.sun.com/jsf/html"
|
xmlns:f="http://java.sun.com/jsf/core"
|
xmlns:ui="http://java.sun.com/jsf/facelets">
|
<ui:composition template="/template/nit/tmp_brief.xhtml">
|
<ui:define name="acss">
|
<style>
|
.form-body span.text {
|
line-height: 34px
|
}
|
</style>
|
</ui:define>
|
<ui:define name="acontent">
|
<div class="row main-content">
|
<div class="col-md-12 main-content-header">
|
<div class="row">
|
<div class="col-md-12 form-horizontal">
|
|
</div>
|
</div>
|
</div>
|
|
<table class="table table-striped table-bordered table-condensed table-hover">
|
<thead>
|
<tr>
|
<th>序号</th>
|
<th>模块</th>
|
<th>选择操作</th>
|
</tr>
|
</thead>
|
<tbody data-bind="foreach:rolemodules">
|
<tr>
|
<td data-bind="text:$index()+1">序号</td>
|
<td data-bind="text:$data.name"></td>
|
<td >
|
<!-- ko foreach:ops -->
|
<label><input type="checkbox" class="form-control" data-bind="checked:check,click:$root.opcheck"/><span data-bind="text:title"></span></label>
|
<!-- /ko-->
|
</td>
|
</tr>
|
</tbody>
|
<tfoot>
|
<tr>
|
<td colspan="6">
|
<div id="pagdiv"></div>
|
</td>
|
</tr>
|
</tfoot>
|
</table>
|
</div>
|
<input type="hidden" name="role" id="role" value="#{jrole.role.id}"/>
|
</ui:define>
|
<ui:define name="myscript">
|
<script type="text/javascript" src="#{request.contextPath}/system/permission/js/rolemodules.js"></script>
|
</ui:define>
|
</ui:composition>
|
</html>
|