diff --git a/app/app/static/app.js b/app/app/static/app.js
index 272fbed..4f4af5c 100644
--- a/app/app/static/app.js
+++ b/app/app/static/app.js
@@ -202,10 +202,11 @@ function renderRecordRow(row) {
const corrected = correctedRecords.get(key);
const displayRow = getDisplayRecord(row);
const correctedClass = corrected ? " corrected-row" : "";
+ const summaryClass = Number(row.summary_count || 0) > 0 ? "" : " missing-summary";
const actionLabel = corrected ? "编辑" : "纠错";
const badge = corrected ? '已修改' : "";
const summaryExpanded = expandedSummaryRecords.has(key);
- return `
+ return `
| ${escapeHtml(displayRow.date)} ${escapeHtml(displayRow.weekday)} |
${escapeHtml(displayRow.time)} |
${escapeHtml(displayRow.student)} |
diff --git a/app/app/static/index.html b/app/app/static/index.html
index 1576cfb..fc12bc2 100644
--- a/app/app/static/index.html
+++ b/app/app/static/index.html
@@ -4,7 +4,7 @@
新时空教务管理系统
-
+
diff --git a/app/app/static/styles.css b/app/app/static/styles.css
index e77bd4d..2379ed5 100644
--- a/app/app/static/styles.css
+++ b/app/app/static/styles.css
@@ -884,6 +884,21 @@ td {
border-top: 1px solid var(--line);
}
+.record-row.missing-summary td:first-child {
+ position: relative;
+ padding-left: 18px;
+}
+
+.record-row.missing-summary td:first-child::before {
+ content: "";
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ width: 4px;
+ background: #f59e0b;
+}
+
.record-summary-title {
margin-bottom: 8px;
color: var(--accent-strong);