完善老师页面,数据管理增加按key筛查

This commit is contained in:
DSQ
2026-03-15 16:54:08 +08:00
parent 6f1abc1681
commit 8c4e4e4c0d
6 changed files with 169 additions and 12 deletions

View File

@@ -41,8 +41,10 @@
<div class="navigation-links">
<a href="{% url 'main:home' %}" onclick="return handleNavClick(this, '/');">主页</a>
<a href="{% url 'elastic:upload_page' %}" onclick="return handleNavClick(this, '/elastic/upload/');">图片上传与识别</a>
{% if is_admin %}
{% if is_admin or has_manage_key %}
<a href="{% url 'elastic:manage_page' %}" onclick="return handleNavClick(this, '/elastic/manage/');">数据管理</a>
{% endif %}
{% if is_admin %}
<a href="{% url 'elastic:user_manage' %}" onclick="return handleNavClick(this, '/elastic/user_manage/');">用户管理</a>
{% endif %}
<a href="/accounts/profile/">个人中心</a>
@@ -306,4 +308,4 @@
loadRecent();
</script>
</body>
</html>
</html>