📄 rolelist.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ include file="/commons/taglibs.jsp" %>
<html>
<head>
<title>My JSP 'clientList.jsp' starting page</title>
<%@ include file="/commons/meta.jsp" %>
</head>
<body class="bodycolor" topmargin="5">
<table class="title1">
<tr>
<td class="Big"><img src="${ctx }/images/notify_new.gif" align="absmiddle"><span class="big3"> 角色信息</span><br>
</td>
</tr>
</table>
<br>
<div align="left">
<fieldset style="width:95%;padding-bottom:5px;">
<legend class="small" align=left>
<b> 快捷操作 </b>
</legend>
<html:form action="role.do" method="post" >
<html:hidden property="p" value="list" />
<table cellspacing="1" class="small" align="left" cellpadding="3">
<tr>
<td nowrap class="TableData"> 角色名称:
<html:text property="roleName" size="15" maxlength="100" />
</td>
</tr>
<tr>
<td nowrap class="TableData" colspan="2">
<html:submit property="p" styleClass="SmallButton" title="模糊查询">快速查询</html:submit>
<input type="button" value="添加角色" title="角色资料导入" onClick="location.href='${ctx}/system/roleForm.jsp'" class="SmallButton">
</td>
</tr>
</table>
</html:form>
</fieldset>
</div>
<br>
<!-- 如果没有数据显示 提示 -->
<c:if test="${empty roles}">
<%@ include file="/utility/noData.jsp" %>
</c:if>
<c:if test="${! empty sorry }">
<table align="center">
<tr><td align="center"><font style="color:#CC3300; font-size:18px">${sorry }</font></td></tr>
</table>
</c:if>
<%@ include file="/commons/messages.jsp"%>
<c:if test="${!empty roles}">
<div align="center">
<table class="tablestyle1">
<thead class="TableHeader">
<td nowrap width="5%" align="center">选择</td>
<td align="center" width="30%">角色名称</td>
<td align="center" width="30%">角色描述</td>
<td align="center" width="40%">操作</td>
</thead>
<c:forEach items="${roles}" var="item">
<tr class="TableData">
<td> <input name="ids" id="c" type="checkbox" value="${item.id}" onclick='odd()'></td>
<td nowrap align="center">${item.roleName }</td>
<td nowrap align="center">${item.description }</td>
<td nowrap>
<a href="${ctx }/role.do?p=edit&&id=${item.id }"> 编辑角色</a>
<a href="${ctx }/rolePower.do?p=hangList&&id=${item.id}"> 绑定权限</a>
<a href="${ctx }/role.do?p=delete&&id=${item.id }" onClick="{if(confirm('确定要删除该角色吗?')){return true;}return false;}"> 删除</a>
</td>
</tr>
</c:forEach>
<tr>
<pager:pager value="pager" url="role.do" pagerStr="pagerstruts"/>
</tr>
</table>
</div>
</c:if>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -