📄 e02ad450c02b001d10dcc9e30c9e2239
字号:
<%@ 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"><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>
<form action="user.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="userName" styleClass="SmallInput" size="15" maxlength="100"/>
</td>
<td nowrap class="TableData"> 用户角色:
</td>
</tr>
<tr>
<td nowrap class="TableData" colspan="2">
<html:submit styleClass="SmallButton" title="模糊查询">快速查询</html:submit>
<input type="button" value="添加用户资料" title="用户资料导入" onClick="location.href='${ctx}/user.do?p=edit'" class="SmallButton">
</td>
</tr>
</table>
</form>
</fieldset>
</div>
<br>
<!-- 显示数据信息 -->
<c:if test="${empty users }">
<%@ include file="/utility/noData.jsp" %>
</c:if>
<!-- 显示数据信息 -->
<c:if test="${! empty users }">
<table class="tablestyle1">
<tr class="TableHeader">
<td nowrap width="5%" align="center">选择</td>
<td nowrap width="20%" align="center">用户姓名</td>
<td nowrap width="15%" align="center">用户密码</td>
<td nowrap width="40%" align="center">用户角色</td>
<td nowrap width="40%" align="center">备注</td>
<td nowrap width="20%" align="center">操作</td>
</tr>
<c:forEach items="${users}" var="item">
<tr class="TableLine1">
<td> <input type="checkbox" name="email_select" value="1" onClick="check_one(self);"></td>
<td nowrap align="center">${item.userName }</td>
<td nowrap align="center">${item.password }</td>
<td nowrap align="center">${item.role.roleName }</td>
<td nowrap align="center">${item.remark }</td>
<td nowrap align="center">
<a href="${ctx}/user.do?p=edit&id=${item.id}">编辑</a> |
<a href="${ctx}/user.do?p=delete&id=${item.id}" onClick="{if(confirm('确定要删除该用户吗?')){return true;}return false;}">删除</a> |
<a href="${ctx}/user.do?p=info&id=${item.id}">详细信息</a>
</td>
</tr>
</c:forEach>
<tr class="TableControl">
<td colspan="6">
<input type="checkbox" name="allbox" id="allbox_for" onClick="check_all();">
<label for="allbox_for">全选</label>
<input type="button" value="批量删除" class="SmallButton" onClick="delete_mail();" title="删除所选联系人">
</td>
</tr>
</table>
</c:if>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -