spring_boot_all_study/SpringBootHomework/target/classes/static/register.html

69 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>注册</title>
<link rel="stylesheet" href="css/auth.css">
<script src="js/register.js"></script>
</head>
<body>
<div class="lowin lowin-blue">
<div class="lowin-brand">
<!--<img src="static/kodinger.jpg" alt="logo">-->
</div>
<div class="lowin-wrapper">
<div class="lowin-box lowin-register">
<div class="lowin-box-inner">
<form>
<p>Let's create your account</p>
<div class="lowin-group">
<label>用户名</label>
<input type="text" id="name" name="username" class="lowin-input">
<p style="color:red;display: none" id="namep">用户名过长</p>
<p style="color:red;display: none" id="namepp">用户名不为空</p>
<p style="color:red;display: none" id="nameppp">用户名已被注册</p>
</div>
<div class="lowin-group">
<label>密码</label>
<input type="password" id="pwd" name="userpwd" class="lowin-input">
<p style="color:red;display: none" id="pwdp">密码应为6-15位</p>
</div>
<div class="lowin-group">
<label>再次输入密码</label>
<input type="password" id="pwd2" class="lowin-input">
<p style="color:red;display: none" id="pwd2p">密码应为6-15位</p>
<p style="color:red;display: none" id="pwd3p">两次密码必须相同</p>
</div>
<div class="login-group">
<select class="lowin-input" name="type" id="type">
<option value='teacher'>教师</option>
<option value='student'>学生</option>
</select>
</div>
<button type="button" class="lowin-btn" id="btn" name="btn">
注册
</button>
<div class="text-foot">
已有账号? <a href="login.html" class="login-link">登陆</a>
</div>
</form>
</div>
</div>
</div>
</div>
<script src="js/auth.js"></script>
<script>
Auth.init({
login_url: '#login',
forgot_url: '#forgot'
});
</script>
</body>
</html>