权限组全自定义、月度分独立、绑定邮箱免密与样式统一
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
@@ -36,7 +36,7 @@ require_once __DIR__ . '/config.php';
|
||||
<button type="submit" class="btn-login" id="submitBtn">发送重置链接</button>
|
||||
<div id="tipMsg" class="error-msg" style="display: none;"></div>
|
||||
<p style="text-align:center; margin-top:14px;">
|
||||
<a href="/index.php" style="color:#667eea; font-size:14px;">返回登录</a>
|
||||
<a href="/index.php" class="link" style="font-size:14px;">返回登录</a>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
@@ -54,8 +54,8 @@ require_once __DIR__ . '/config.php';
|
||||
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';
|
||||
}
|
||||
|
||||
document.getElementById('forgotForm').addEventListener('submit', async (e) => {
|
||||
|
||||
Reference in new issue
Block a user