mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 10:25:16 +00:00
Added label for autoQueueCheckbox. (#1295)
* Added label for autoQueueCheckbox. * Menu gets behind of some custom nodes. * Edited extraOptions. Options divided in to different divs to manage them with ease.
This commit is contained in:
parent
7931ff0fd9
commit
7891d13329
@ -617,7 +617,10 @@ export class ComfyUI {
|
|||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
$el("div", {id: "extraOptions", style: {width: "100%", display: "none"}}, [
|
$el("div", {id: "extraOptions", style: {width: "100%", display: "none"}}, [
|
||||||
$el("label", {innerHTML: "Batch count"}, [
|
$el("div",[
|
||||||
|
|
||||||
|
$el("label", {innerHTML: "Batch count"}),
|
||||||
|
|
||||||
$el("input", {
|
$el("input", {
|
||||||
id: "batchCountInputNumber",
|
id: "batchCountInputNumber",
|
||||||
type: "number",
|
type: "number",
|
||||||
@ -640,13 +643,22 @@ export class ComfyUI {
|
|||||||
document.getElementById("batchCountInputNumber").value = i.srcElement.value;
|
document.getElementById("batchCountInputNumber").value = i.srcElement.value;
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
]),
|
||||||
|
|
||||||
|
$el("div",[
|
||||||
|
$el("label",{
|
||||||
|
for:"autoQueueCheckbox",
|
||||||
|
innerHTML: "Auto Queue"
|
||||||
|
// textContent: "Auto Queue"
|
||||||
|
}),
|
||||||
$el("input", {
|
$el("input", {
|
||||||
id: "autoQueueCheckbox",
|
id: "autoQueueCheckbox",
|
||||||
type: "checkbox",
|
type: "checkbox",
|
||||||
checked: false,
|
checked: false,
|
||||||
title: "automatically queue prompt when the queue size hits 0",
|
title: "Automatically queue prompt when the queue size hits 0",
|
||||||
|
|
||||||
}),
|
}),
|
||||||
]),
|
])
|
||||||
]),
|
]),
|
||||||
$el("div.comfy-menu-btns", [
|
$el("div.comfy-menu-btns", [
|
||||||
$el("button", {
|
$el("button", {
|
||||||
|
@ -88,7 +88,7 @@ body {
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
right: 0;
|
right: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
z-index: 100;
|
z-index: 999;
|
||||||
width: 170px;
|
width: 170px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
Loading…
Reference in New Issue
Block a user