src/main/resources/templates/teacher/updateProfession.html

(开头部分) 2KB

这里只显示每个文件的开头 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="@{/postUpdateProfession}" method="post" enctype="multipart/form-data">
        <input type="text" th:value="${msg}" hidden id="msg">
        <input type="text" class="text-white border-white border-0" name="id" th:value="${profession.getId()}">
        <div class="form-group">
            <label>专业id</label>
            <input type="text" class="form-control" placeholder="专业id" name="professionId" th:value="${profession.getProfessionId()}">
        </div>
        <div class="form-group">
            <label>专业名称</label>
            <input type="text" class="form-control" placeholder="专业名称" name="professionName" th:value="${profession.getProfessionName()}" >
        </div>
        <div class="form-group">
            <label>专业描述</label>
            <input type="text" class="form-control" placeholder="专业描述" name="professionDescription" th:value="${profession.getProfessionDescription()}" >
        </div>
        <div class="form-group">
            <label>所属学院</label>
            <select name="department" id=""  class="custom-select">
                <option th:each="school:${schools}" th:text="${school.getName()}"></option>
            </select>
        </div>

        <button type="submit" class="btn btn-default">提交</button>
    </form>
</main>

</body>
<script>
    onload = function () {
        let msg = document.getElementById('msg').value
后面还有 23 行代码,解锁后查看完整代码

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

AI 解读

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

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