add community manual button

This commit is contained in:
dr.lt.data 2023-07-28 11:02:20 +09:00
parent 308870f883
commit 92c1f3877d
2 changed files with 10 additions and 2 deletions

View File

@ -32,7 +32,7 @@ sys.path.append('../..')
from torchvision.datasets.utils import download_url
# ensure .js
print("### Loading: ComfyUI-Manager (V0.15.1)")
print("### Loading: ComfyUI-Manager (V0.16)")
comfy_ui_revision = "Unknown"

View File

@ -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("button", {
type: "button",
textContent: "Close",
onclick: () => this.close(),
onclick: () => this.close()
}),
$el("br", {}, []),
];
res[0].style.padding = "10px 10px 0 10px";
res[0].style.backgroundColor = "black";
res[0].style.textAlign = "center";
res[0].style.height = "45px";