Maintain Page

This commit is contained in:
bigJIU 2023-04-17 13:34:23 +08:00
parent dc6d1cdb61
commit 9e41d63110
2 changed files with 42 additions and 1 deletions

View File

@ -38,7 +38,8 @@ def getId():
def gamewelcome():
ip = getId()
# return redirect(url_for('gameplay', id=request.remote_addr))
return render_template('GameWelcome.html')
return render_template('Maintenance.html')
# return render_template('GameWelcome.html')
@app.route('/question')

View File

@ -0,0 +1,40 @@
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>网站维护更新中,敬请期待</title>
<style>
*{
margin:0;
padding:0;
}
html{
height:100%;
}
body{
background:#F1FDFE;
height:100%;
}
.mom{
width:600px;
height:100px;
line-height:100px;
text-align:center;
font-size:30px;
border-width:5px;
border-style:dashed;
border-color: rgba(0, 128, 255, 0.48);
position:relative; left:50%;
margin-left:-300px; top:50%;
margin-top:-50px;
background:#e6fafd;
color: rgb(0, 0, 0);
}
</style>
</head>
<body>
<div class="mom">
Current Website is under maintenance...
</div>
</body>
</html>