Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
戒酒的李白
2024-07-02 23:52:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2d62acd79bc63965aef00756f0bd9a0e81fd0385
2d62acd7
1 parent
a4f29df5
【error.html】500界面美化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
19 deletions
templates/error.html
templates/error.html
View file @
2d62acd
<!-- 写一个错误页面 -->
<!DOCTYPE html>
<!doctype html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<title>
404
</title>
<link
rel=
"stylesheet"
href=
"/static/css/backend-plugin.min.css"
>
<link
rel=
"stylesheet"
href=
"/static/css/backend.css"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<title>
Error Page
</title>
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
>
<style>
body
{
background-color
:
#f8f9fa
;
color
:
#343a40
;
}
.container
{
margin-top
:
10%
;
}
.error-image
{
max-width
:
100%
;
height
:
auto
;
}
.error-msg
{
font-size
:
1.5rem
;
margin-top
:
20px
;
}
.btn-custom
{
background-color
:
#6c757d
;
color
:
#fff
;
margin-top
:
20px
;
}
.btn-custom
:hover
{
background-color
:
#5a6268
;
}
</style>
</head>
<body
class=
" "
>
<div
class=
"wrapper"
>
<div
class=
"container"
>
<div
class=
"row no-gutters height-self-center"
>
<div
class=
"col-sm-12 text-center align-self-center"
>
<div
class=
"iq-error position-relative"
>
这是404页面
</div>
</div>
</div>
</div>
</div>
</body>
\ No newline at end of file
<body>
<div
class=
"container text-center"
>
<img
src=
"/static/picture/maintenance.png"
class=
"error-image"
alt=
"Maintenance Image"
>
<div
class=
"error-msg"
>
{{ errorMsg }}
</div>
<p>
Please go back, check the issue, and fix it.
</p>
<a
href=
"/user/login"
class=
"btn btn-custom"
>
Return to Login Page
</a>
</div>
<script
src=
"https://code.jquery.com/jquery-3.5.1.slim.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
></script>
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
></script>
</body>
</html>
...
...
Please
register
or
login
to post a comment