mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 18:08:00 +02:00
feature: add a label to the task item html that indicates number of images enqueued (prior, it was unclear before task begins processing)
This commit is contained in:
parent
71bbbeb936
commit
73b3beb81b
@ -711,7 +711,11 @@ div.img-preview img {
|
||||
margin-right: 6px;
|
||||
cursor: move;
|
||||
}
|
||||
.taskStatusLabel {
|
||||
/* Override conflicting css from imported library */
|
||||
.header-content > .drag-handle {
|
||||
min-width: initial !important;
|
||||
}
|
||||
.taskStatusLabel, .taskNumberOfImagesLabel {
|
||||
font-size: 8pt;
|
||||
background:var(--background-color2);
|
||||
border: 1px solid rgb(61, 62, 66);
|
||||
|
@ -1102,6 +1102,7 @@ function createTask(task) {
|
||||
taskEntry.className = "imageTaskContainer"
|
||||
taskEntry.innerHTML = ` <div class="header-content panel collapsible active">
|
||||
<i class="drag-handle fa-solid fa-grip"></i>
|
||||
${task.numOutputsTotal > 1 ? `<div class="taskNumberOfImagesLabel">✕${task.numOutputsTotal}</div>` : ''}
|
||||
<div class="taskStatusLabel">Enqueued</div>
|
||||
<button class="secondaryButton stopTask"><i class="fa-solid fa-xmark"></i> Cancel</button>
|
||||
<button class="tertiaryButton useSettings"><i class="fa-solid fa-redo"></i> Use these settings</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user