25/09/24 10:00~11:30 停机维护
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>学生注册</title>
|
||||
<link rel="stylesheet" href="/static/css/login.css">
|
||||
<link rel="stylesheet" href="/static/css/register_field_tip.css">
|
||||
<script src="/static/js/register.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
@@ -15,6 +16,17 @@
|
||||
<div class="input-group">
|
||||
<label for="username">用户名</label>
|
||||
<input type="text" id="username" name="username" placeholder="请输入用户名" required>
|
||||
<div class="field-tip" id="username-tip" role="tooltip" aria-hidden="true">
|
||||
<strong>用户名规则</strong>
|
||||
<ul>
|
||||
<li>以<span>小写字母</span>或<span>下划线</span>开头</li>
|
||||
<li>仅含<span>小写字母</span>、<span>数字</span>、<span>下划线 _</span>、<span>连字符 -</span></li>
|
||||
<li>允许以 <span>$</span> 结尾(可选)</li>
|
||||
<li>长度 ≤ 32 个字符</li>
|
||||
<li>不可使用纯数字</li>
|
||||
<li>避免保留名:root / daemon 等</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<label for="email">邮箱</label>
|
||||
@@ -32,5 +44,8 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="/static/js/register_field_tip.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -5,6 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>教师注册</title>
|
||||
<link rel="stylesheet" href="/static/css/login.css">
|
||||
<link rel="stylesheet" href="/static/css/register_field_tip.css">
|
||||
<script src="/static/js/register_teacher.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
@@ -30,7 +31,20 @@
|
||||
</div>
|
||||
<button type="submit" class="login-btn">注册</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field-tip" id="username-tip" role="tooltip" aria-hidden="true">
|
||||
<strong>用户名规则</strong>
|
||||
<ul>
|
||||
<li>以<span>小写字母</span>或<span>下划线</span>开头</li>
|
||||
<li>仅含<span>小写字母</span>、<span>数字</span>、<span>下划线 _</span>、<span>连字符 -</span></li>
|
||||
<li>允许以 <span>$</span> 结尾(可选)</li>
|
||||
<li>长度 ≤ 32 个字符</li>
|
||||
<li>不可使用纯数字</li>
|
||||
<li>避免保留名:root / daemon 等</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/js/register_field_tip.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user