adjust something
Signed-off-by: Chenx221 <chenx221@yandex.com>
This commit is contained in:
parent
bbef8dac7f
commit
7a4370dd5b
@ -16,13 +16,13 @@
|
|||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 配置Spring Security -->
|
<!-- 配置Spring Security -->
|
||||||
<security:http auto-config="true">
|
<security:http auto-config="true">
|
||||||
<security:csrf disabled="true"/>
|
<security:csrf disabled="true"/>
|
||||||
<!-- <security:intercept-url pattern="/login" access="permitAll()"/>-->
|
<!-- 限制访问↓-->
|
||||||
<security:intercept-url pattern="/dashboard" access="hasRole('admin')"/>
|
<security:intercept-url pattern="/dashboard" access="hasRole('admin')"/>
|
||||||
<security:intercept-url pattern="/student/**" access="hasRole('admin')"/>
|
<security:intercept-url pattern="/student/**" access="hasRole('admin')"/>
|
||||||
|
<!-- 未登录状态下会自动跳转到/login登录页-->
|
||||||
<security:form-login login-page="/login"
|
<security:form-login login-page="/login"
|
||||||
default-target-url="/dashboard"
|
default-target-url="/dashboard"
|
||||||
authentication-failure-handler-ref="customAuthenticationFailureHandler"/>
|
authentication-failure-handler-ref="customAuthenticationFailureHandler"/>
|
||||||
|
@ -133,7 +133,7 @@
|
|||||||
<div class="container d-flex justify-content-center">
|
<div class="container d-flex justify-content-center">
|
||||||
<button type="button" class="btn btn-primary" onclick="location.href='../dashboard'">返回</button>
|
<button type="button" class="btn btn-primary" onclick="location.href='../dashboard'">返回</button>
|
||||||
<div class="table-container rounded-4 shadow-3-strong"
|
<div class="table-container rounded-4 shadow-3-strong"
|
||||||
style="background-color: rgba(255,255,255,0.9); overflow-y: auto; max-height: 400px;">
|
style="background-color: rgba(255,255,255,0.9); overflow-y: auto; max-height: 400px;max-width: 60vw">
|
||||||
<table class="table table-striped table-hover border-primary">
|
<table class="table table-striped table-hover border-primary">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -159,10 +159,10 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container" style="min-width: 190px">
|
||||||
<div class="card rounded-4 shadow-3-strong">
|
<div class="card rounded-4 shadow-3-strong" style="min-width: 180px">
|
||||||
<h5 class="card-header">信息修改</h5>
|
<h5 class="card-header">信息修改</h5>
|
||||||
<div class="card-body">
|
<div class="card-body" style="min-width: 175px">
|
||||||
<form action="modinfo" method="post">
|
<form action="modinfo" method="post">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
|
@ -133,7 +133,7 @@
|
|||||||
<div class="container d-flex justify-content-center">
|
<div class="container d-flex justify-content-center">
|
||||||
<button type="button" class="btn btn-primary" onclick="location.href='../dashboard'">返回</button>
|
<button type="button" class="btn btn-primary" onclick="location.href='../dashboard'">返回</button>
|
||||||
<div class="table-container rounded-4 shadow-3-strong"
|
<div class="table-container rounded-4 shadow-3-strong"
|
||||||
style="background-color: rgba(255,255,255,0.9); overflow-y: auto; max-height: 400px;">
|
style="background-color: rgba(255,255,255,0.9); overflow-y: auto; max-height: 400px">
|
||||||
<table class="table table-striped table-hover border-primary">
|
<table class="table table-striped table-hover border-primary">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -159,15 +159,16 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container" style="min-width: 190px">
|
||||||
<div class="card rounded-4 shadow-3-strong">
|
<div class="card rounded-4 shadow-3-strong" style="min-width: 180px">
|
||||||
<h5 class="card-header">信息修改</h5>
|
<h5 class="card-header">信息修改</h5>
|
||||||
<div class="card-body">
|
<div class="card-body" style="min-width: 175px">
|
||||||
<form action="modinfo" method="post">
|
<form action="modinfo" 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="typeText1" class="form-control" required name="id"/>
|
<input type="number" id="typeText1" class="form-control" required
|
||||||
|
name="id"/>
|
||||||
<label class="form-label" for="typeText1">ID (必填)</label>
|
<label class="form-label" for="typeText1">ID (必填)</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -218,7 +219,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<button type="submit" class="btn btn-primary" data-mdb-toggle="tooltip" data-mdb-placement="top" title="留空为不做修改">更改</button>
|
<button type="submit" class="btn btn-primary" data-mdb-toggle="tooltip"
|
||||||
|
data-mdb-placement="top" title="留空为不做修改">更改
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<button type="reset" class="btn btn-secondary">重置</button>
|
<button type="reset" class="btn btn-secondary">重置</button>
|
||||||
|
Reference in New Issue
Block a user