mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-24 17:24:29 +01:00
Cancel/Stop/Remove task buttons (#1493)
* Cancel/Stop/Remove task So far, the button to remove a not yet rendered and a completed task was labeled 'Remove'. This can lead to confusions. This PR changes the label to 'Cancel' for not yet rendered tasks. It also changes the color of the undoable 'Remove' button * Keep the button color as red
This commit is contained in:
parent
9572ddf1c1
commit
1b6aae9678
@ -1068,7 +1068,7 @@ function createTask(task) {
|
||||
taskEntry.innerHTML = ` <div class="header-content panel collapsible active">
|
||||
<i class="drag-handle fa-solid fa-grip"></i>
|
||||
<div class="taskStatusLabel">Enqueued</div>
|
||||
<button class="secondaryButton stopTask"><i class="fa-solid fa-trash-can"></i> Remove</button>
|
||||
<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>
|
||||
<div class="preview-prompt"></div>
|
||||
<div class="taskConfig">${taskConfig}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user