更新用户管理,现在能通过班导师,管理员,学生进入对应的页面进行密码修改

This commit is contained in:
2025-11-18 15:20:30 +08:00
parent 68bc4b54f5
commit 5a9d98282a
6 changed files with 156 additions and 51 deletions

View File

@@ -42,8 +42,8 @@
<a href="{% url 'main:home' %}" onclick="return handleNavClick(this, '/');">主页</a>
<a href="{% url 'elastic:upload_page' %}" onclick="return handleNavClick(this, '/elastic/upload/');">图片上传与识别</a>
<a href="{% url 'elastic:manage_page' %}" onclick="return handleNavClick(this, '/elastic/manage/');">数据管理</a>
{% if is_admin %}
<a href="{% url 'elastic:user_manage' %}" onclick="return handleNavClick(this, '/elastic/user_manage/');">用户管理</a>
{% if is_admin %}
<a href="{% url 'elastic:registration_code_manage_page' %}" onclick="return handleNavClick(this, '/elastic/registration-codes/manage/');">注册码管理</a>
{% endif %}
<a id="logoutBtn">退出登录</a>