<%-- Created by IntelliJ IDEA. User: 绿波亭 Date: 2023/5/29 Time: 17:34 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <!DOCTYPE html> <html> <head> <title> 管理员功能页 </title> <style> body{ background-color: #f2f2f2; font-family: Arial, sans-serif; } .container{ max-width: 800px; margin: 0 auto; text-align: center; padding: 20px 0; } h1{ font-size: 36px; color: #333; margin-bottom: 20px; } table{ font-family: Arial, sans-serif; border-collapse: collapse; width: 100%; margin-bottom: 20px; } td, th{ border: 1px solid #ddd; text-align: center; padding: 8px; } th{ background-color: #4caf50; color: white; } input[type="text"]{ width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } label{ display: block; text-align: left; font-size: 18px; margin-bottom: 5px; color: #333; } input[type="submit"]{ background-color: #4caf50; color: white; font-size: 18px; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; } input[type="submit"]:hover{ background-color: #37a047; } </style> </head> <body> <div class="container"> <h1> 管理员功能页 <a href="quanxian.jsp"><button>修改权限</button></a> </h1> <h2>用户注册 <input type="date"><a href="root_select.jsp"><button>汇总考试</button></a> </h2> <form> <label for="username">用户名:</label><br> <input type="text" id="username" name="username"><br> <label for="classes">班级:</label><br> <input type="text" id="classes" name="classes"><br> <label for="grade">年级:</label><br> <input type="text" id="grade" name="username"><br> <label for="role"> 登录类型: </label><br> <label for="student">学生<input type="radio" id="student" name="role" value="student" checked></label> <label for="teacher">老师<input type="radio" id="teacher" name="role" value="teacher" checked></label> <label for="root">管理员<input type="radio" id="root" name="role" value="root"></label><br><br> <label for="password">密码:</label><br> <input type="text" id="password" name="password"><br><br> <input type="submit" value="注册"> </form> </div> </body> </html>
标签:color,border,text,20px,font,margin,考试 From: https://www.cnblogs.com/cocotun/p/17447487.html