Maintain Page
This commit is contained in:
parent
dc6d1cdb61
commit
9e41d63110
3
main.py
3
main.py
@ -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')
|
||||
|
40
templates/Maintenance.html
Normal file
40
templates/Maintenance.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user