83 lines
2.8 KiB
Plaintext
83 lines
2.8 KiB
Plaintext
<%@ page contentType="text/html;charset=UTF-8" %>
|
||
<%@ include file="/WEB-INF/include/taglib.jsp"%>
|
||
<html>
|
||
<head>
|
||
<title>角色管理</title>
|
||
</head>
|
||
<body>
|
||
|
||
<div class="page-content">
|
||
<div class="theme-panel hidden-xs hidden-sm">
|
||
|
||
<button type="button" class="btn btn-default"> <spring:message code="refresh"/> </button>
|
||
|
||
<shiro:hasPermission name="sys:role:edit">
|
||
<button type="button" class="btn btn-primary"
|
||
onClick="javascript:window.location='${ctx}/sys/role/form'"> <spring:message code="add"/> </button>
|
||
</shiro:hasPermission>
|
||
|
||
</div>
|
||
|
||
<h3 class="page-title">
|
||
<spring:message code="roleManage"/>
|
||
</h3>
|
||
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<div class="portlet box blue">
|
||
<div class="portlet-title">
|
||
<div class="caption">
|
||
<i class="fa fa-cogs"></i><spring:message code="date_list"/>
|
||
</div>
|
||
<div class="tools">
|
||
<a href="javascript:;" class="collapse" data-original-title=""
|
||
title=""> </a> <a href="#portlet-config" data-toggle="modal"
|
||
class="config" data-original-title="" title=""> </a> <a
|
||
href="javascript:;" class="reload" data-original-title=""
|
||
title=""> </a> <a href="javascript:;" class="remove"
|
||
data-original-title="" title=""> </a>
|
||
</div>
|
||
</div>
|
||
<div class="portlet-body">
|
||
|
||
|
||
<div class="row" >
|
||
|
||
|
||
<div class="col-md-12">
|
||
|
||
|
||
<sys:message content="${message}"/>
|
||
<table id="contentTable" class="table table-striped table-bordered table-condensed">
|
||
<tr><th><spring:message code="role_name"/></th><th><spring:message code="data_range"/></th><th><spring:message code="describe"/></th><shiro:hasPermission name="sys:role:edit"><th><spring:message code="operation"/></th></shiro:hasPermission></tr>
|
||
<c:forEach items="${list}" var="role">
|
||
<tr>
|
||
<td><a href="form?id=${role.id}">${role.name}</a></td>
|
||
<td>${fns:getDictLabel('SYS_DATA_SCOPE',role.dataScope,'无')}</td>
|
||
<td title="${role.remark}">${fns:abbr(role.remark,30)}</td>
|
||
<shiro:hasPermission name="sys:role:edit"><td>
|
||
<a href="${ctx}/sys/role/assign?id=${role.id}"><spring:message code="allot"/></a>
|
||
<a href="${ctx}/sys/role/form?id=${role.id}"><spring:message code="edit"/></a>
|
||
<a href="${ctx}/sys/role/delete?id=${role.id}" onclick="return confirmx('<spring:message code="sure_delete"/>?', this.href)"><spring:message code="delete"/></a>
|
||
</td></shiro:hasPermission>
|
||
</tr>
|
||
</c:forEach>
|
||
</table>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
</body>
|
||
</html> |