You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.7 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>添加用户</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user/add" method="post">
<table>
<tr>
<td>用户编号:</td>
<td><input type="text" name="userId"/></td>
</tr>
<tr>
<td>用户名:</td>
<td><input type="text" name="username"/></td>
</tr>
<tr>
<td>密码:</td>
<td><input type="password" name="password"/></td>
</tr>
<tr>
<td>真实姓名:</td>
<td><input type="text" name="truename"/></td>
</tr>
<tr>
<td>手机号:</td>
<td><input type="text" name="phone"/></td>
</tr>
<tr>
<td>邮箱:</td>
<td><input type="text" name="email"/></td>
</tr>
<tr>
<td>角色:</td>
<td>
<select name="role">
<option value="普通用户">普通用户</option>
<option value="管理员">管理员</option>
<option value="超级管理员">超级管理员</option>
</select>
</td>
</tr>
<tr>
<td>注册时间:</td>
<td><input type="text" name="registerTime" placeholder="格式yyyy-MM-dd HH:mm:ss"/></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="reset" value="重置"/>
<input type="submit" value="添加"/>
</td>
</tr>
</table>
</form>
</body>
</html>