看板支持列表/卡片/网格三种学生视图切换

This commit is contained in:
JSR
2026-03-20 18:51:39 +08:00
parent e10c20eec5
commit 562639f75f
3 changed files with 86 additions and 14 deletions
+12
View File
@@ -578,6 +578,18 @@
"applyPreset": "Apply Preset",
"run": "Run SQL",
"runAll": "Run All",
"viewModes": {
"list": "List View",
"card": "Card View",
"grid": "Grid View"
},
"metrics": {
"totalScore": "Score",
"rewardPoints": "Reward",
"weekChange": "7d",
"weekDeducted": "7d Deduct",
"todayAnswered": "Today"
},
"sqlPlaceholder": "Enter SQL (single SELECT / WITH query only)",
"templateHint": "Template variables: {{today_start}}, {{since_7d}}, {{since_30d}}, {{now}}",
"templateDescription": "Use template variables directly in SQL. They will be replaced with ISO timestamps at runtime for both SQLite and PostgreSQL.",
+12
View File
@@ -578,6 +578,18 @@
"applyPreset": "套用预设",
"run": "运行 SQL",
"runAll": "运行全部",
"viewModes": {
"list": "列表视图",
"card": "卡片视图",
"grid": "网格视图"
},
"metrics": {
"totalScore": "总分",
"rewardPoints": "奖励分",
"weekChange": "近7天",
"weekDeducted": "近7天扣分",
"todayAnswered": "今日回答"
},
"sqlPlaceholder": "输入 SQL(仅支持单条 SELECT / WITH 查询)",
"templateHint": "支持时间模板变量:{{today_start}}、{{since_7d}}、{{since_30d}}、{{now}}",
"templateDescription": "可直接在 SQL 中使用模板变量,运行时会自动替换为 ISO 时间,兼容 SQLite 与 PostgreSQL。",