权限组全自定义、月度分独立、绑定邮箱免密与样式统一
1. 权限组:去掉锁定/预置限制,所有组可编辑/删除/分配;管理员新增/编辑可选任意组;管理员列表不再显示锁定徽标 2. 个人查询:月度分独立计算(当月净得分,与基础分无关),总分=基础分+加分-减分 3. 绑定邮箱:发送验证码与确认绑定不再需要密码(解绑仍需密码) 4. 权限组编辑UI:权限项按 学生/操行分/教务/系统管理 分区,支持全选/清空,上限两行布局,弹窗加宽 5. 样式统一:颜色变量化(硬编码色值清零)、check-grid/check-item 统一复选框网格、cell-wrap、subject-status 全局化、success-msg 6. 旧库升级期兼容保留(登录/权限降级、待升级提示) 7. 文档同步更新
This commit is contained in:
1 parent
8cd2c83412
commit
ed3189096d
25 files changed
+237
-159
No files matched your search
@@ -29,7 +29,7 @@ $token = isset($_GET['token']) ? preg_replace('/[^A-Za-z0-9_\-]/', '', $_GET['to
|
||||
<p>重置管理员密码</p>
|
||||
</div>
|
||||
|
||||
<div id="loadingBox" class="login-form" style="text-align:center; color:#888;">正在校验链接...</div>
|
||||
<div id="loadingBox" class="login-form text-muted" style="text-align:center;">正在校验链接...</div>
|
||||
|
||||
<form id="resetForm" class="login-form" style="display:none;">
|
||||
<div class="form-group">
|
||||
@@ -50,8 +50,8 @@ $token = isset($_GET['token']) ? preg_replace('/[^A-Za-z0-9_\-]/', '', $_GET['to
|
||||
</form>
|
||||
|
||||
<div id="invalidBox" class="login-form" style="display:none; text-align:center;">
|
||||
<p style="color:#e53e3e; margin-bottom:16px;">重置链接无效或已过期,请重新申请。</p>
|
||||
<a href="/forgot_password.php" style="color:#667eea;">重新申请</a>
|
||||
<p class="text-danger" style="margin-bottom:16px;">重置链接无效或已过期,请重新申请。</p>
|
||||
<a href="/forgot_password.php" class="link">重新申请</a>
|
||||
</div>
|
||||
|
||||
<div class="login-footer">
|
||||
@@ -69,8 +69,8 @@ $token = isset($_GET['token']) ? preg_replace('/[^A-Za-z0-9_\-]/', '', $_GET['to
|
||||
function showTip(msg, isError) {
|
||||
const tip = document.getElementById('tipMsg');
|
||||
tip.textContent = msg;
|
||||
tip.className = isError ? 'error-msg' : 'success-msg';
|
||||
tip.style.display = 'block';
|
||||
tip.style.color = isError ? '' : '#38a169';
|
||||
}
|
||||
|
||||
(async function verifyToken() {
|
||||
|
||||
Reference in new issue
Block a user