feat(web-ui): Create 탭 배치 생성 섹션 + BatchProgress 폴링

This commit is contained in:
2026-05-10 19:00:42 +09:00
parent 93d5f49cdb
commit a80b869878
4 changed files with 253 additions and 0 deletions

View File

@@ -3417,3 +3417,116 @@
.psm-keyword-main small {
display: block; color: var(--ms-muted, #a0a0b0); font-size: 11px; margin-top: 4px;
}
/* === Batch Generation Section === */
.ms-batch-section {
margin: 16px 0;
padding: 12px 16px;
background: rgba(0, 0, 0, 0.25);
border: 1px solid var(--ms-line, #2a2a3a);
border-radius: 12px;
}
.ms-batch-section summary {
cursor: pointer;
font-weight: 600;
color: var(--ms-text, #f0f0f5);
user-select: none;
padding: 4px 0;
}
.ms-batch-section[open] summary {
margin-bottom: 8px;
}
.ms-batch-form {
display: flex;
flex-direction: column;
gap: 12px;
padding: 12px 0;
}
.ms-batch-form label {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 13px;
color: var(--ms-text, #f0f0f5);
}
.ms-batch-form select,
.ms-batch-form input[type="range"] {
padding: 6px 8px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--ms-line, #2a2a3a);
border-radius: 6px;
color: var(--ms-text, #f0f0f5);
}
.ms-batch-form input[type="range"] {
padding: 0;
background: transparent;
}
.ms-batch-checkbox {
flex-direction: row !important;
align-items: center;
gap: 8px;
}
.ms-batch-checkbox input {
width: auto;
margin: 0;
}
.ms-batch-estimate {
font-size: 12px;
color: var(--ms-muted, #a0a0b0);
margin: 4px 0;
}
.ms-batch-form button {
padding: 8px 16px;
background: rgba(56, 189, 248, 0.2);
color: #bae6fd;
border: 1px solid rgba(56, 189, 248, 0.4);
border-radius: 8px;
cursor: pointer;
font-size: 13px;
font-weight: bold;
align-self: flex-start;
}
.ms-batch-form button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.ms-batch-progress {
margin-top: 12px;
padding: 12px;
background: rgba(0, 0, 0, 0.35);
border-radius: 8px;
border: 1px solid var(--ms-line, #2a2a3a);
}
.ms-batch-header {
font-size: 13px;
margin-bottom: 8px;
}
.ms-batch-status--generating { color: var(--ms-accent, #38bdf8); }
.ms-batch-status--compiling { color: #fb923c; }
.ms-batch-status--piped { color: #86efac; }
.ms-batch-status--failed { color: #fca5a5; }
.ms-batch-status--cancelled { color: var(--ms-muted, #a0a0b0); }
.ms-batch-tracks {
padding-left: 24px;
font-size: 12px;
margin: 8px 0;
}
.ms-batch-tracks li {
margin: 2px 0;
}
.ms-batch-tracks li.done {
color: #86efac;
}
.ms-batch-tracks li.current {
color: var(--ms-accent, #38bdf8);
font-weight: bold;
}
.ms-batch-tracks li.pending {
color: var(--ms-muted, #a0a0b0);
}
.ms-batch-link {
margin-top: 6px;
font-size: 12px;
color: var(--ms-muted, #a0a0b0);
}