ADD file via upload

master
xtu202105570133 2 years ago
parent b0f061a15b
commit d93ceedede

@ -0,0 +1,144 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>用户注册页面</title>
<style>
* {
margin:0 0;
padding:0 0;
}
body {
width: 100%;
height: 100vh;
background-color: white;
}
.register_interface{
width: 35%;
height: 100%;
background-color: white;
margin:0 auto;
}
.login_brand{
width: 100%;
height: 100px;
padding: 50px 0;
text-align: center;
}
.login_logo{
width: 100px;
height: 100px;
padding: auto;
}
.login_logo{
border-radius: 50px 50px!important;
border: 1px solid #dee2e6;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.regist_box1{
width: 100%;
height: 60px;
border-top:#6777ef solid 5px;
margin-bottom: 50px;
}
.word1 {
margin-top: 10px;
color: #6777ef;
font-size: 18px;
margin-left: 20px;
}
.regist_box2 {
width: calc(100% - 20px);
height: 200px;
margin: 0 10px;
}
.login_main {
width: 100%;
height: 500px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.login_label {
display: inline-block;
width: calc(49% - 5px);
height: 20px;
margin-bottom: 10px;
font-family: sans-serif;
font-weight: bold;
font-size: 14px;
}
.login_input{
display: inline-block;
width: 47%;
height: 35px;
margin-bottom: 10px;
border: #e4e6fc solid 1px;
outline: none;
}
.login_input:focus {
border: #6777ef solid 1px;
}
.right_login{
margin-left:10px;
}
.none{
width: 100%;
height: 80px;
}
.login_word{
width: 100%;
height: 40px;
background-color: blue;
text-align: center;
border: blue;
color: white;
font-size: 18px;
font-family: sans-serif;
font-weight: bold;
}
.hint_text{
width: 100%;
height: 50px;
margin-top: 60px;
text-align: center;
}
.login_go{
text-decoration: none;
color: #6777ef;
}
.login_go:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="register_interface">
<div class="login_brand">
<img class = "login_logo" src="static/images/logo.png" alt="">
</div>
<div class="login_main">
<div class = "regist_box1">
<p class="word1"> 注册</p>
</div>
<div class="regist_box2">
<form action="http://127.0.0.1:5000/register_dispose" method="post">
<label class="login_label" for="username">用户名</label>
<label class="login_label right_login" margin-left = "5px" for="">注册邮箱</label>
<input class = "login_input" type="text" name="username" id="" required>
<input class="login_input right_login" type="email" name="email" id="" required>
<label class="login_label" for="username">密码</label>
<label class="login_label right_login" for="">确认密码</label>
<input class = "login_input" type="password" name="password" id="" required>
<input class="login_input right_login" type="password" name="confirm_password" id="" required>
<div class="none"></div>
<button class="login_word">
注册
</button>
</form>
</div>
</div>
<div class="hint_text">已经拥有账号了,<a class = "login_go" href="http://127.0.0.1:5000/login">马上登录👉</a></div>
</div>
</body>
</html>
Loading…
Cancel
Save