⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 role.jsp

📁 SpringSide开源代码
💻 JSP
字号:
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!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">
<head>
<title>Mini-Web 角色管理</title>
<%@ include file="/common/meta.jsp"%>
</head>

<body>
<div id="menu">
<h3><a href="${ctx}/user/user.action">帐号列表</a> 角色列表 <a
	href="${ctx}/j_spring_security_logout">退出登录</a></h3>
</div>

<div id="message"><s:actionmessage theme="mytheme"/></div>

<div id="content">
<table class="listView">
	<tr>
		<th><b>名称</b></th>
		<th><b>授权</b></th>
		<th><b>操作</b></th>
	</tr>

	<s:iterator value="allRoles">
		<tr>
			<td>${name}</td>
			<td>${authNames}</td>
			<td>&nbsp; 
				<security:authorize ifAnyGranted="ROLE_MODIFY_ROLE">
					<a href="role!input.action?id=${id}">修改</a>、
					<a href="role!delete.action?id=${id}">删除</a>
				</security:authorize>
			</td>
		</tr>
	</s:iterator>
</table>
</div>

<div id="footer" style="margin-top:10px">
<security:authorize ifAnyGranted="ROLE_MODIFY_ROLE">
		<a href="role!input.action">增加新角色</a>
</security:authorize>
</div>

<div id="comment" style="margin-top:20px">本页面为单纯的白板,各式Table Grid组件的应用见Showcase项目(开发中).</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -