target/classes/templates/teacher/updateStudent.html

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Dashboard Template for Bootstrap</title>
    <!-- Bootstrap core CSS -->
    <link th:href="@{/css/bootstrap.min.css}" th:rel="stylesheet">
    <!-- Custom styles for this template -->
    <link th:href="@{/css/dashboard.css}" th:rel="stylesheet">
</head>

<body>
//头部导航栏
<div th:replace="~{commons/commons::topbar}"></div>

<div class="container-fluid">
    <div class="row">
        <div th:replace="~{commons/teacherCommons::sidebar}"></div>

    </div>
</div>

<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
    <h2 class="mt-4">修改管理员</h2>
    <br>
    <form th:action="@{/postUpdateStudent}" method="post" enctype="multipart/form-data">
        <input type="text" class="text-white border-white border-0" name="id" th:value="${student.getId()}">
        <div class="form-group">
            <label>姓名</label>
            <input type="text" class="form-control" placeholder="姓名" name="name" th:value="${student.getName()}">
        </div>
        <div class="form-group">
            <label>密码</label>
            <input type="password" class="form-control" placeholder="密码" name="password" th:value="${student.getPassword()}" >
        </div>
        <div class="form-group">
            <label>照片</label><br>
            <img th:src="${'../studentImg/'+student.getPicture()}" alt="" width="100" height="100" id="img">
            <div id="dd" class="mt-1"></div>
            <input type="file" class="form-control" name="file" id="load" onchange="upload(this.files)" multiple>
        </div>
        <div class="form-group">
            <label>性别</label>
            <select name="sex" id=""  class="custom-select">
                <option th:text="${student.getSex()}" id="normalSex"></option>
                <option id="reverseSex"></option>
            </select>
        </div>
        <div class="form-group">
            <label>地址</label>
            <input type="text" class="form-control" placeholder="地址" name="address" th:value="${student.getAddress()}">
        </div>
        <div class="form-group">
            <label>电话号码</label>
            <input type="number" class="form-control" placeholder="电话号码" name="phoneNumber" th:value="${student.getPhoneNumber()}">
后面还有 49 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。