commit remaining frontend updates
This commit is contained in:
+24
-1
@@ -21,10 +21,33 @@
|
||||
<input type="password" id="loginPass" placeholder="请输入密码" autocomplete="current-password">
|
||||
</div>
|
||||
<button class="btn btn-primary" onclick="doLogin()">登 录</button>
|
||||
<button class="btn btn-secondary" onclick="showRegisterPage()">注册账号</button>
|
||||
<div class="login-error" id="loginError"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 注册页 -->
|
||||
<div id="registerPage" class="page">
|
||||
<div class="login-box">
|
||||
<h1>注册账号</h1>
|
||||
<div class="form-group">
|
||||
<label>用户名</label>
|
||||
<input type="text" id="registerUser" placeholder="请输入用户名" autocomplete="username">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>密码</label>
|
||||
<input type="password" id="registerPass" placeholder="请输入密码" autocomplete="new-password">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>确认密码</label>
|
||||
<input type="password" id="registerPassConfirm" placeholder="请再次输入密码" autocomplete="new-password">
|
||||
</div>
|
||||
<button class="btn btn-primary" onclick="doRegister()">注 册</button>
|
||||
<button class="btn btn-secondary" onclick="showLoginPage()">返回登录</button>
|
||||
<div class="login-error" id="registerError"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 首页 -->
|
||||
<div id="homePage" class="page">
|
||||
<div class="home-header">
|
||||
@@ -457,7 +480,7 @@
|
||||
<div class="toast" id="toast"></div>
|
||||
|
||||
<script src="js/app.js?v=20260224"></script>
|
||||
<script src="js/auth.js"></script>
|
||||
<script src="js/auth.js?v=20260428b"></script>
|
||||
<script src="js/autocomplete.js"></script>
|
||||
<script src="js/month-picker.js"></script>
|
||||
<script src="js/stats.js?v=20260326"></script>
|
||||
|
||||
Reference in New Issue
Block a user