📄 showrole.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="css/main.css" rel="stylesheet" type="text/css">
<link href="css/index.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="35"><img src="images/3toptop_01.gif" width="35" height="28"></td>
<td width="5"><img src="images/3toptop_02.gif" width="5" height="28"></td>
<td width="200" align="center" background="images/3toptop_03.gif" class="gray-bold-word">角色管理</td>
<td width="5"><img src="images/3toptop_04.gif" width="5" height="28"></td>
<td width="20"><img src="images/3toptop_05.gif" width="20" height="28"></td>
<td background="images/3top_06.gif"> </td>
<td width="35"><img src="images/3toptop_07.gif" width="35" height="28"></td>
</tr>
</table>
<html:form action="privilege/role?act=showModule" method="post">
<table width="90%" border="1" align="center" cellpadding="4" cellspacing="2" class="gray-bd3-2">
<tr>
<td colspan="5" align="center"> </td>
</tr>
<tr>
<td align="center" width="100"><strong>选择</strong></td>
<td align="center" width="200"><strong>角色名称</strong></td>
<td align="center" width="200"><strong>所属模块</strong></td>
<td align="center" width="150"><strong>权限配置</strong></td>
</tr>
<logic:present name="roleForm" property="list">
<logic:iterate id="bean" name="roleForm" property="list">
<tr>
<td align="center" width="100">
<html:checkbox property="role_id" value="<bean:write name='bean' property='role_id'>"></html:checkbox>
</td>
<td align="center" width="200"><bean:write name="bean" property="role_name"></bean:write> </td>
<td align="center" width="200"> <bean:write name="bean" property="module_name"></bean:write></td>
<td align="right" width="150">
<input type="button" class="small-btn" value="配置" onclick=""/>
<html:hidden property="module_id" value="<bean:write name='bean' property='module_id'>"></html:hidden>
</td>
</tr>
</logic:iterate>
</logic:present>
<tr>
<td colspan="1" >
<div align="right">
<input type="button" class="small-btn" value="删除" onclick=""/>
</div></td>
<td colspan="3" >
<div align="center">
<input type="submit" class="small-btn" value="新建"/>
</div></td>
</tr>
</table>
</html:form>
<p align="right">
<p align="center"> </p>
<p align="center"> </p>
</body>
<script language="javascript">
function create(){
myform.action = "addRole.jsp";
RoleForm.submit();
}
</script>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -