mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-24 05:40:49 +08:00
add community manual button
This commit is contained in:
parent
308870f883
commit
92c1f3877d
@ -32,7 +32,7 @@ sys.path.append('../..')
|
|||||||
from torchvision.datasets.utils import download_url
|
from torchvision.datasets.utils import download_url
|
||||||
|
|
||||||
# ensure .js
|
# ensure .js
|
||||||
print("### Loading: ComfyUI-Manager (V0.15.1)")
|
print("### Loading: ComfyUI-Manager (V0.16)")
|
||||||
|
|
||||||
comfy_ui_revision = "Unknown"
|
comfy_ui_revision = "Unknown"
|
||||||
|
|
||||||
|
|||||||
@ -1393,15 +1393,23 @@ class ManagerMenuDialog extends ComfyDialog {
|
|||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
$el("br", {}, []),
|
||||||
|
$el("button", {
|
||||||
|
type: "button",
|
||||||
|
textContent: "ComfyUI Community Manual",
|
||||||
|
onclick: () => { window.open("https://blenderneko.github.io/ComfyUI-docs/", "comfyui-community-manual"); }
|
||||||
|
}),
|
||||||
|
|
||||||
$el("br", {}, []),
|
$el("br", {}, []),
|
||||||
$el("button", {
|
$el("button", {
|
||||||
type: "button",
|
type: "button",
|
||||||
textContent: "Close",
|
textContent: "Close",
|
||||||
onclick: () => this.close(),
|
onclick: () => this.close()
|
||||||
}),
|
}),
|
||||||
$el("br", {}, []),
|
$el("br", {}, []),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
res[0].style.padding = "10px 10px 0 10px";
|
||||||
res[0].style.backgroundColor = "black";
|
res[0].style.backgroundColor = "black";
|
||||||
res[0].style.textAlign = "center";
|
res[0].style.textAlign = "center";
|
||||||
res[0].style.height = "45px";
|
res[0].style.height = "45px";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user