aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-01-21 08:36:07 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-01-21 08:36:07 +0300
commit40ff6db5325fc34ad4fa35e80cb1e7768d9f7e75 (patch)
tree75230fd3b1c9c53593aca65d7260b62b6df2d82b /html
parente33cace2c2074ef342d027c1f31ffc4b3c3e877e (diff)
extra networks UI
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
Diffstat (limited to 'html')
-rw-r--r--html/card-no-preview.pngbin0 -> 84440 bytes
-rw-r--r--html/extra-networks-card.html11
-rw-r--r--html/extra-networks-no-cards.html8
3 files changed, 19 insertions, 0 deletions
diff --git a/html/card-no-preview.png b/html/card-no-preview.png
new file mode 100644
index 00000000..e2beb269
--- /dev/null
+++ b/html/card-no-preview.png
Binary files differ
diff --git a/html/extra-networks-card.html b/html/extra-networks-card.html
new file mode 100644
index 00000000..7314b063
--- /dev/null
+++ b/html/extra-networks-card.html
@@ -0,0 +1,11 @@
+<div class='card' {preview_html} onclick='return cardClicked({prompt}, {allow_negative_prompt})'>
+ <div class='actions'>
+ <div class='additional'>
+ <ul>
+ <a href="#" title="replace preview image with currently selected in gallery" onclick='return saveCardPreview(event, {tabname}, {local_preview})'>replace preview</a>
+ </ul>
+ </div>
+ <span class='name'>{name}</span>
+ </div>
+</div>
+
diff --git a/html/extra-networks-no-cards.html b/html/extra-networks-no-cards.html
new file mode 100644
index 00000000..389358d6
--- /dev/null
+++ b/html/extra-networks-no-cards.html
@@ -0,0 +1,8 @@
+<div class='nocards'>
+<h1>Nothing here. Add some content to the following directories:</h1>
+
+<ul>
+{dirs}
+</ul>
+</div>
+