feat(platform): add export template library

This commit is contained in:
lingniu
2026-07-06 00:01:00 +08:00
parent 6d18e5a017
commit 0c33648b26
3 changed files with 149 additions and 0 deletions

View File

@@ -10111,6 +10111,77 @@ button.vp-realtime-command-item:focus-visible {
font-weight: 700;
}
.vp-history-export-template-library {
margin-top: 14px;
display: grid;
grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
gap: 14px;
}
.vp-history-export-template-library-summary {
padding: 14px;
border: 1px solid rgba(0, 174, 116, 0.2);
border-radius: var(--vp-radius);
background: #f6fffb;
display: grid;
gap: 10px;
align-content: start;
}
.vp-history-export-template-library-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.vp-history-export-template-library-item {
min-height: 158px;
padding: 12px;
border: 1px solid rgba(0, 174, 116, 0.18);
border-radius: var(--vp-radius);
background: #fbfffd;
color: inherit;
text-align: left;
font: inherit;
cursor: pointer;
display: grid;
gap: 8px;
align-content: start;
}
.vp-history-export-template-library-item:hover,
.vp-history-export-template-library-item:focus-visible {
border-color: rgba(0, 174, 116, 0.42);
box-shadow: 0 10px 24px rgba(24, 39, 75, 0.08);
outline: none;
}
.vp-history-export-template-library-item:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.vp-history-export-template-library-item strong {
color: var(--vp-text);
font-size: 18px;
line-height: 24px;
font-weight: 700;
word-break: break-word;
}
.vp-history-export-template-library-item span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
}
.vp-history-export-template-library-item em {
color: #008f5f;
font-size: 12px;
font-style: normal;
font-weight: 700;
}
.vp-history-saved-report {
display: grid;
grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
@@ -12225,6 +12296,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-history-report-purpose-grid,
.vp-history-report-cadence,
.vp-history-report-cadence-grid,
.vp-history-export-template-library,
.vp-history-export-template-library-grid,
.vp-history-saved-report,
.vp-history-saved-report-grid,
.vp-history-question-board,