v 0.3 Preview: Update admin
CI / test (push) Canceled after 4m2s

This commit is contained in:
2026-08-08 21:47:29 +08:00
parent 1f98f7152d
commit 43e425edbe
24 changed files with 1408 additions and 31 deletions
+26
View File
@@ -0,0 +1,26 @@
{% extends "admin/base.html" %}
{% load static %}
{% block title %}{{ title }} | 葫芦数学后台{% endblock %}
{% block extrastyle %}
{{ block.super }}
<link rel="stylesheet" href="{% static 'admin/css/hulumath_admin.css' %}">
{% endblock %}
{% block branding %}
<div class="hulu-brand">
<a href="{% url 'admin:index' %}" class="hulu-brand-mark">H</a>
<div>
<a href="{% url 'admin:index' %}" class="hulu-brand-name">葫芦数学</a>
<span>运营管理中心</span>
</div>
</div>
{% endblock %}
{% block nav-global %}
<div class="hulu-global-nav">
<span class="hulu-environment">{{ admin_environment|default:"运营后台" }}</span>
<a href="/" target="_blank" rel="noopener">查看网站</a>
</div>
{% endblock %}