update for front
Signed-off-by: Chenx221 <chenx221@yandex.com>
This commit is contained in:
parent
885746d827
commit
ace18d01cd
@ -146,7 +146,7 @@
|
|||||||
<th scope="col">授课课程ID</th>
|
<th scope="col">授课课程ID</th>
|
||||||
<th scope="col">授课课程名</th>
|
<th scope="col">授课课程名</th>
|
||||||
<th scope="col">授课班级</th>
|
<th scope="col">授课班级</th>
|
||||||
<%-- <th scope="col" class="text-center">操作</th>--%>
|
<%-- <th scope="col" class="text-center">操作</th>--%>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -159,26 +159,26 @@
|
|||||||
<td>${teacher.course.courseID}</td>
|
<td>${teacher.course.courseID}</td>
|
||||||
<td>${teacher.course.courseName}</td>
|
<td>${teacher.course.courseName}</td>
|
||||||
<td>${teacher.classes}</td>
|
<td>${teacher.classes}</td>
|
||||||
<%-- <td class="text-center">--%>
|
<%-- <td class="text-center">--%>
|
||||||
<%-- <div class="btn-group" role="group" aria-label="Basic example">--%>
|
<%-- <div class="btn-group" role="group" aria-label="Basic example">--%>
|
||||||
<%-- <c:choose>--%>
|
<%-- <c:choose>--%>
|
||||||
<%-- <c:when test="${user.disabled_str == false}">--%>
|
<%-- <c:when test="${user.disabled_str == false}">--%>
|
||||||
<%-- <button type="button" class="btn btn-danger"><i--%>
|
<%-- <button type="button" class="btn btn-danger"><i--%>
|
||||||
<%-- class="fas fa-ban me-1"></i>禁用账户--%>
|
<%-- class="fas fa-ban me-1"></i>禁用账户--%>
|
||||||
<%-- </button>--%>
|
<%-- </button>--%>
|
||||||
<%-- </c:when>--%>
|
<%-- </c:when>--%>
|
||||||
<%-- <c:when test="${user.disabled_str == true}">--%>
|
<%-- <c:when test="${user.disabled_str == true}">--%>
|
||||||
<%-- <button type="button" class="btn btn-success"><i--%>
|
<%-- <button type="button" class="btn btn-success"><i--%>
|
||||||
<%-- class="fas fa-circle-check me-1"--%>
|
<%-- class="fas fa-circle-check me-1"--%>
|
||||||
<%-- onclick="userenabled(${user.id})"></i>启用账户--%>
|
<%-- onclick="userenabled(${user.id})"></i>启用账户--%>
|
||||||
<%-- </button>--%>
|
<%-- </button>--%>
|
||||||
<%-- </c:when>--%>
|
<%-- </c:when>--%>
|
||||||
<%-- </c:choose>--%>
|
<%-- </c:choose>--%>
|
||||||
<%-- <button type="button" class="btn btn-primary" onclick="resetPWD(${user.id})"><i--%>
|
<%-- <button type="button" class="btn btn-primary" onclick="resetPWD(${user.id})"><i--%>
|
||||||
<%-- class="fas fa-arrow-rotate-right me-1"></i>重设密码--%>
|
<%-- class="fas fa-arrow-rotate-right me-1"></i>重设密码--%>
|
||||||
<%-- </button>--%>
|
<%-- </button>--%>
|
||||||
<%-- </div>--%>
|
<%-- </div>--%>
|
||||||
<%-- </td>--%>
|
<%-- </td>--%>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -190,11 +190,19 @@
|
|||||||
<ul class="nav nav-tabs" id="ex1" role="tablist">
|
<ul class="nav nav-tabs" id="ex1" role="tablist">
|
||||||
<li class="nav-item" role="presentation">
|
<li class="nav-item" role="presentation">
|
||||||
<a class="nav-link active fs-6" id="ex1-tab-1" data-mdb-toggle="tab" href="#ex1-tabs-1"
|
<a class="nav-link active fs-6" id="ex1-tab-1" data-mdb-toggle="tab" href="#ex1-tabs-1"
|
||||||
role="tab" aria-controls="ex1-tabs-1" aria-selected="true">创建账户</a>
|
role="tab" aria-controls="ex1-tabs-1" aria-selected="true">信息查询</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item" role="presentation">
|
<li class="nav-item" role="presentation">
|
||||||
<a class="nav-link fs-6" id="ex1-tab-2" data-mdb-toggle="tab" href="#ex1-tabs-2"
|
<a class="nav-link fs-6" id="ex1-tab-2" data-mdb-toggle="tab" href="#ex1-tabs-2"
|
||||||
role="tab" aria-controls="ex1-tabs-2" aria-selected="true">密码重置</a>
|
role="tab" aria-controls="ex1-tabs-2" aria-selected="true">信息修改</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item" role="presentation">
|
||||||
|
<a class="nav-link fs-6" id="ex1-tab-3" data-mdb-toggle="tab" href="#ex1-tabs-3"
|
||||||
|
role="tab" aria-controls="ex1-tabs-3" aria-selected="false">信息删除</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item" role="presentation">
|
||||||
|
<a class="nav-link fs-6" id="ex1-tab-4" data-mdb-toggle="tab" href="#ex1-tabs-4"
|
||||||
|
role="tab" aria-controls="ex1-tabs-4" aria-selected="false">信息添加</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<!-- Tabs navs -->
|
<!-- Tabs navs -->
|
||||||
@ -204,56 +212,83 @@
|
|||||||
<div class="tab-pane fade show active" id="ex1-tabs-1" role="tabpanel"
|
<div class="tab-pane fade show active" id="ex1-tabs-1" role="tabpanel"
|
||||||
aria-labelledby="ex1-tab-1">
|
aria-labelledby="ex1-tab-1">
|
||||||
<div class="card-body" style="min-width: 175px">
|
<div class="card-body" style="min-width: 175px">
|
||||||
<form action="create" method="post">
|
<form action="query" method="post">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="text" id="typeText1" class="form-control"
|
<input type="number" id="typeText1" class="form-control"
|
||||||
name="username" required/>
|
name="id"/>
|
||||||
<label class="form-label" for="typeText1">用户名</label>
|
<label class="form-label" for="typeText1">教师ID</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-2 mt-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="password" id="typeText2" class="form-control"
|
<input type="text" id="typeText2" class="form-control"
|
||||||
name="password" required/>
|
name="name"/>
|
||||||
<label class="form-label" for="typeText2">密码</label>
|
<label class="form-label" for="typeText2">姓名</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-2 mt-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<label for="sex-select" style="color: rgba(0,0,0,.6);">性别</label>
|
||||||
<input type="password" id="typeText3" class="form-control"
|
<select name="sex" id="sex-select">
|
||||||
name="re_password" required/>
|
<option value="">请选择性别</option>
|
||||||
<label class="form-label" for="typeText3">重复密码</label>
|
<option value="male">男</option>
|
||||||
</div>
|
<option value="female">女</option>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row mb-2 mt-2">
|
|
||||||
<div class="col-12">
|
|
||||||
<div class="form-outline">
|
|
||||||
<input type="number" id="typeText4" class="form-control"
|
|
||||||
name="roleid" disabled/>
|
|
||||||
<label class="form-label" for="typeText4">身份ID</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row mb-2 mt-2">
|
|
||||||
<div class="col-12">
|
|
||||||
<label class="form-label" for="role-select">权限组:</label>
|
|
||||||
<select name="role" id="role-select" required>
|
|
||||||
<option value="admin">管理员</option>
|
|
||||||
<option value="teacher">教师</option>
|
|
||||||
<option value="student">学生</option>
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="date" id="typeText4" class="form-control"
|
||||||
|
name="birthday_begin"/>
|
||||||
|
<label class="form-label" for="typeText4">出生日期(始)</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="date" id="typeText5" class="form-control"
|
||||||
|
name="birthday_end"/>
|
||||||
|
<label class="form-label" for="typeText5">出生日期(末)</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="number" id="typeText6" class="form-control"
|
||||||
|
name="course_id"/>
|
||||||
|
<label class="form-label" for="typeText6">课程ID</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="text" id="typeText7" class="form-control"
|
||||||
|
name="course_name"/>
|
||||||
|
<label class="form-label" for="typeText7">课程名(支持部分)</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="text" id="typeText8" class="form-control"
|
||||||
|
name="classes"/>
|
||||||
|
<label class="form-label" for="typeText8">授课班级(一班~五班)</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row mb-2 mt-4">
|
<div class="row mb-2 mt-4">
|
||||||
<div class="col-lg-6 text-center">
|
<div class="col-lg-6 text-center">
|
||||||
<button type="submit" class="btn btn-primary">创建
|
<button type="submit" class="btn btn-primary">查询
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 text-center">
|
<div class="col-lg-6 text-center">
|
||||||
@ -263,49 +298,172 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane fade" id="ex1-tabs-2" role="tabpanel"
|
<div class="tab-pane fade" id="ex1-tabs-2" role="tabpanel" aria-labelledby="ex1-tab-2">
|
||||||
aria-labelledby="ex1-tab-2">
|
|
||||||
<div class="card-body" style="min-width: 175px">
|
<div class="card-body" style="min-width: 175px">
|
||||||
<form action="reset" method="post">
|
<form action="mod" method="post">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="number" id="typeText5" class="form-control"
|
<input type="number" id="typeText9" class="form-control" required
|
||||||
name="id" readonly required/>
|
name="id"/>
|
||||||
<label class="form-label" for="typeText5">用户ID</label>
|
<label class="form-label" for="typeText9">教师ID</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-2 mt-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="password" id="typeText6" class="form-control"
|
<input type="text" id="typeText10" class="form-control"
|
||||||
name="password" required/>
|
name="name"/>
|
||||||
<label class="form-label" for="typeText6">新的密码(必填)</label>
|
<label class="form-label" for="typeText10">姓名</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-2 mt-2">
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<label for="sex-select2" style="color: rgba(0,0,0,.6);">性别</label>
|
||||||
|
<select name="sex" id="sex-select2">
|
||||||
|
<option value="">请选择性别</option>
|
||||||
|
<option value="male">男</option>
|
||||||
|
<option value="female">女</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="password" id="typeText7" class="form-control"
|
<input type="date" id="typeText12" class="form-control"
|
||||||
name="re_password" required/>
|
name="birthday"/>
|
||||||
<label class="form-label" for="typeText7">重复密码(必填)</label>
|
<label class="form-label" for="typeText12">出生日期</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="number" id="typeText13" class="form-control"
|
||||||
|
name="course_id"/>
|
||||||
|
<label class="form-label" for="typeText13">课程ID</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="text" id="typeText14" class="form-control"
|
||||||
|
name="course_name"/>
|
||||||
|
<label class="form-label" for="typeText14">课程名(支持部分)</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="text" id="typeText15" class="form-control"
|
||||||
|
name="classes"/>
|
||||||
|
<label class="form-label" for="typeText15">授课班级(一班~五班)</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-2 mt-4">
|
<div class="row mb-2 mt-4">
|
||||||
<div class="col-lg-6 text-center">
|
<div class="col-lg-6 text-center">
|
||||||
<button type="submit" class="btn btn-primary">重置
|
<button type="submit" class="btn btn-primary">修改
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 text-center">
|
<div class="col-lg-6 text-center">
|
||||||
<button type="reset" class="btn btn-secondary">清除</button>
|
<button type="reset" class="btn btn-secondary">重置</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="tab-pane fade" id="ex1-tabs-3" role="tabpanel" aria-labelledby="ex1-tab-3">
|
||||||
|
<div class="card-body" style="min-width: 175px">
|
||||||
|
<form action="del" method="post">
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="number" id="typeText16" class="form-control"
|
||||||
|
required name="id"/>
|
||||||
|
<label class="form-label" for="typeText16">课程ID (必填)</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2 mt-4">
|
||||||
|
<div class="col-lg-6 text-center">
|
||||||
|
<button type="submit" class="btn btn-primary">删除</button>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-6 text-center">
|
||||||
|
<button type="reset" class="btn btn-secondary">重置</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="tab-pane fade" id="ex1-tabs-4" role="tabpanel" aria-labelledby="ex1-tab-4">
|
||||||
|
<!-- <h5 class="card-header">信息添加</h5> -->
|
||||||
|
<div class="card-body" style="min-width: 175px">
|
||||||
|
<form action="add" method="post">
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="text" id="typeText18" class="form-control" required
|
||||||
|
name="name"/>
|
||||||
|
<label class="form-label" for="typeText18">姓名</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<label for="sex-select3" style="color: rgba(0,0,0,.6);">性别</label>
|
||||||
|
<select name="sex" id="sex-select3" required>
|
||||||
|
<option value="">请选择性别</option>
|
||||||
|
<option value="male">男</option>
|
||||||
|
<option value="female">女</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="date" id="typeText20" class="form-control" required
|
||||||
|
name="birthday"/>
|
||||||
|
<label class="form-label" for="typeText20">出生日期</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="number" id="typeText21" class="form-control" required
|
||||||
|
name="course_id"/>
|
||||||
|
<label class="form-label" for="typeText21">课程ID</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="text" id="typeText23" class="form-control" required
|
||||||
|
name="classes"/>
|
||||||
|
<label class="form-label" for="typeText23">授课班级</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2 mt-4">
|
||||||
|
<div class="col-lg-6 text-center">
|
||||||
|
<button type="submit" class="btn btn-primary">添加
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-6 text-center">
|
||||||
|
<button type="reset" class="btn btn-secondary">重置</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Tabs content -->
|
<!-- Tabs content -->
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@
|
|||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="number" id="typeText2" class="form-control"
|
<input type="text" id="typeText2" class="form-control"
|
||||||
name="name"/>
|
name="name"/>
|
||||||
<label class="form-label" for="typeText2">姓名</label>
|
<label class="form-label" for="typeText2">姓名</label>
|
||||||
</div>
|
</div>
|
||||||
@ -233,11 +233,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<label for="sex-select" style="color: rgba(0,0,0,.6);">性别</label>
|
||||||
<input type="number" id="typeText3" class="form-control"
|
<select name="sex" id="sex-select">
|
||||||
name="sex"/>
|
<option value="">请选择性别</option>
|
||||||
<label class="form-label" for="typeText3">性别</label>
|
<option value="male">男</option>
|
||||||
</div>
|
<option value="female">女</option>
|
||||||
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
@ -281,7 +282,7 @@
|
|||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="text" id="typeText8" class="form-control"
|
<input type="text" id="typeText8" class="form-control"
|
||||||
name="classes"/>
|
name="classes"/>
|
||||||
<label class="form-label" for="typeText8">授课班级</label>
|
<label class="form-label" for="typeText8">授课班级(一班~五班)</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -303,7 +304,7 @@
|
|||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="number" id="typeText9" class="form-control"
|
<input type="number" id="typeText9" class="form-control" required
|
||||||
name="id"/>
|
name="id"/>
|
||||||
<label class="form-label" for="typeText9">教师ID</label>
|
<label class="form-label" for="typeText9">教师ID</label>
|
||||||
</div>
|
</div>
|
||||||
@ -312,7 +313,7 @@
|
|||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="number" id="typeText10" class="form-control"
|
<input type="text" id="typeText10" class="form-control"
|
||||||
name="name"/>
|
name="name"/>
|
||||||
<label class="form-label" for="typeText10">姓名</label>
|
<label class="form-label" for="typeText10">姓名</label>
|
||||||
</div>
|
</div>
|
||||||
@ -320,37 +321,38 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<label for="sex-select2" style="color: rgba(0,0,0,.6);">性别</label>
|
||||||
<input type="number" id="typeText11" class="form-control"
|
<select name="sex" id="sex-select2">
|
||||||
name="sex"/>
|
<option value="">请选择性别</option>
|
||||||
<label class="form-label" for="typeText11">性别</label>
|
<option value="male">男</option>
|
||||||
</div>
|
<option value="female">女</option>
|
||||||
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="date" id="typeText12" class="form-control"
|
<input type="date" id="typeText12" class="form-control"
|
||||||
name="birthday_begin"/>
|
name="birthday"/>
|
||||||
<label class="form-label" for="typeText12">出生日期(始)</label>
|
<label class="form-label" for="typeText12">出生日期</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="date" id="typeText13" class="form-control"
|
<input type="number" id="typeText13" class="form-control"
|
||||||
name="birthday_end"/>
|
|
||||||
<label class="form-label" for="typeText13">出生日期(末)</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row mb-2">
|
|
||||||
<div class="col-12">
|
|
||||||
<div class="form-outline">
|
|
||||||
<input type="number" id="typeText14" class="form-control"
|
|
||||||
name="course_id"/>
|
name="course_id"/>
|
||||||
<label class="form-label" for="typeText14">课程ID</label>
|
<label class="form-label" for="typeText13">课程ID</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="text" id="typeText14" class="form-control"
|
||||||
|
name="course_name"/>
|
||||||
|
<label class="form-label" for="typeText14">课程名(支持部分)</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -358,17 +360,8 @@
|
|||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="text" id="typeText15" class="form-control"
|
<input type="text" id="typeText15" class="form-control"
|
||||||
name="course_name"/>
|
|
||||||
<label class="form-label" for="typeText15">课程名(支持部分)</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row mb-2">
|
|
||||||
<div class="col-12">
|
|
||||||
<div class="form-outline">
|
|
||||||
<input type="text" id="typeText8" class="form-control"
|
|
||||||
name="classes"/>
|
name="classes"/>
|
||||||
<label class="form-label" for="typeText8">授课班级</label>
|
<label class="form-label" for="typeText15">授课班级(一班~五班)</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -386,13 +379,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tab-pane fade" id="ex1-tabs-3" role="tabpanel" aria-labelledby="ex1-tab-3">
|
<div class="tab-pane fade" id="ex1-tabs-3" role="tabpanel" aria-labelledby="ex1-tab-3">
|
||||||
<div class="card-body" style="min-width: 175px">
|
<div class="card-body" style="min-width: 175px">
|
||||||
<form action="delinfo" method="post">
|
<form action="del" method="post">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="number" id="typeText13" class="form-control"
|
<input type="number" id="typeText16" class="form-control"
|
||||||
required name="id"/>
|
required name="id"/>
|
||||||
<label class="form-label" for="typeText13">课程ID (必填)</label>
|
<label class="form-label" for="typeText16">课程ID (必填)</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -411,22 +404,50 @@
|
|||||||
<div class="tab-pane fade" id="ex1-tabs-4" role="tabpanel" aria-labelledby="ex1-tab-4">
|
<div class="tab-pane fade" id="ex1-tabs-4" role="tabpanel" aria-labelledby="ex1-tab-4">
|
||||||
<!-- <h5 class="card-header">信息添加</h5> -->
|
<!-- <h5 class="card-header">信息添加</h5> -->
|
||||||
<div class="card-body" style="min-width: 175px">
|
<div class="card-body" style="min-width: 175px">
|
||||||
<form action="addinfo" method="post">
|
<form action="add" method="post">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="text" id="typeText14" class="form-control" required
|
<input type="text" id="typeText18" class="form-control" required
|
||||||
name="name"/>
|
name="name"/>
|
||||||
<label class="form-label" for="typeText14">课程名 (必填)</label>
|
<label class="form-label" for="typeText18">姓名</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<label for="sex-select3" style="color: rgba(0,0,0,.6);">性别</label>
|
||||||
|
<select name="sex" id="sex-select3" required>
|
||||||
|
<option value="">请选择性别</option>
|
||||||
|
<option value="male">男</option>
|
||||||
|
<option value="female">女</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="date" id="typeText20" class="form-control" required
|
||||||
|
name="birthday"/>
|
||||||
|
<label class="form-label" for="typeText20">出生日期</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="form-outline">
|
<div class="form-outline">
|
||||||
<input type="text" id="typeText15" class="form-control" required
|
<input type="number" id="typeText21" class="form-control" required
|
||||||
name="description"/>
|
name="course_id"/>
|
||||||
<label class="form-label" for="typeText15">课程描述 (必填)</label>
|
<label class="form-label" for="typeText21">课程ID</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="form-outline">
|
||||||
|
<input type="text" id="typeText23" class="form-control" required
|
||||||
|
name="classes"/>
|
||||||
|
<label class="form-label" for="typeText23">授课班级</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user