From baaa6ca2f878b9fe3f988c8b3697b20cec7ce8c0 Mon Sep 17 00:00:00 2001 From: hmo Date: Thu, 23 Apr 2026 06:38:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=AD=A6=E5=91=98?= =?UTF-8?q?=E8=AF=A6=E6=83=85/=E6=96=B9=E6=A1=88=E7=BC=96=E8=BE=91/?= =?UTF-8?q?=E6=96=B9=E6=A1=88=E5=88=97=E8=A1=A8=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - student.html: 学员详情页,支持编辑/添加/删除问题 - plan_edit.html: 方案编辑页 - plans.html: 方案列表页 - home.html: 首页 --- app/templates/home.html | 46 +++ app/templates/plan_detail.html | 117 +++++++ app/templates/plan_edit.html | 170 ++++++++++ app/templates/plans.html | 221 +++++++++++++ app/templates/student.html | 583 +++++++++++++++++++++++++++++++++ 5 files changed, 1137 insertions(+) create mode 100644 app/templates/home.html create mode 100644 app/templates/plan_detail.html create mode 100644 app/templates/plan_edit.html create mode 100644 app/templates/plans.html create mode 100644 app/templates/student.html diff --git a/app/templates/home.html b/app/templates/home.html new file mode 100644 index 0000000..bc35cbd --- /dev/null +++ b/app/templates/home.html @@ -0,0 +1,46 @@ +{% extends "base.html" %} + +{% block title %}首页 - 钢琴练习方案系统{% endblock %} + +{% block content %} +
+
+
+
+ +

{{ student_count }}

+

学员

+ 查看 +
+
+
+
+
+
+ +

{{ class_count }}

+

班级

+ 查看 +
+
+
+
+
+
+ +

{{ plan_count }}

+

方案

+ 查看 +
+
+
+
+ +
+
+ +

欢迎使用钢琴练习方案管理系统

+

从左侧菜单选择功能

+
+
+{% endblock %} \ No newline at end of file diff --git a/app/templates/plan_detail.html b/app/templates/plan_detail.html new file mode 100644 index 0000000..a9f52ae --- /dev/null +++ b/app/templates/plan_detail.html @@ -0,0 +1,117 @@ +{% extends "base.html" %} + +{% block title %}方案详情 - 钢琴练习方案系统{% endblock %} + +{% block content %} +
+

方案详情

+
+ +
+
+ +
+
+
+ +

加载中...

+
+
+
+{% endblock %} + +{% block extra_js %} + +{% endblock %} \ No newline at end of file diff --git a/app/templates/plan_edit.html b/app/templates/plan_edit.html new file mode 100644 index 0000000..7c3d563 --- /dev/null +++ b/app/templates/plan_edit.html @@ -0,0 +1,170 @@ +{% extends "base.html" %} + +{% block title %}编辑方案 - 钢琴练习方案系统{% endblock %} + +{% block content %} +
+

编辑方案

+
+ + 返回详情 + +
+
+ +
+
+ +
+
+
+ 使用 Markdown 格式编辑AI报告,支持标题、列表、加粗等格式 +
+ +
+
+
+
+ 支持拖拽排序,双击单元格编辑、点击+添加行、点击×删除行 +
+
+ +
+
+
+ +
+{% endblock %} + +{% block extra_js %} + +{% endblock %} \ No newline at end of file diff --git a/app/templates/plans.html b/app/templates/plans.html new file mode 100644 index 0000000..87c3b4e --- /dev/null +++ b/app/templates/plans.html @@ -0,0 +1,221 @@ +{% extends "base.html" %} + +{% block title %}方案管理 - 钢琴练习方案系统{% endblock %} + +{% block page_css %} + +{% endblock %} + +{% block content %} +
+

方案管理

+
+ + +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+
+
+ + +
+
+
+
+ +

加载中...

+
+
+
+
+{% endblock %} + +{% block extra_js %} + +{% endblock %} \ No newline at end of file diff --git a/app/templates/student.html b/app/templates/student.html new file mode 100644 index 0000000..bcd8c6c --- /dev/null +++ b/app/templates/student.html @@ -0,0 +1,583 @@ +{% extends "base.html" %} + +{% block title %}{{ student.name }} - 学员详情 - 钢琴练习方案系统{% endblock %} + +{% block content %} +
+

学员详情

+
+ + 返回列表 + +
+
+ +
+
+
+
+
+ +
+
{{ student.name }}
+

{{ student.wechat_nickname or '未填写' }}

+

{{ student.phone or '未填写' }}

+

+ {{ student.practice_time or '30分钟' }} +

+

+ {% if student.class_obj %} + {{ student.class_obj.name }} + {% else %} + 未分配班级 + {% endif %} +

+

{{ student.notes or '无备注' }}

+ + +
+
+
+ +
+
+
+
问题记录
+ +
+
+

加载中...

+
+
+ +
+
+
练习方案
+ +
+
+

加载中...

+
+
+
+
+ + + + + + + + + + + + +{% endblock %} + +{% block extra_js %} + +{% endblock %} \ No newline at end of file