diff --git a/public/index.html b/public/index.html index f4e3d57e1..e919eebf5 100644 --- a/public/index.html +++ b/public/index.html @@ -1120,27 +1120,24 @@
-
-

World Info

-
-
-

+Create

-
-
-

+Import

-
-
+

+ World Info + + ? + +

+
+ +
+
+ + + +
-

How to use ?

- - - +

Scan Depth ? @@ -1378,10 +1375,6 @@

- - - -
@@ -1738,86 +1731,6 @@ - -
-
-
-
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
-
- - -
-
- - -
-
- -
-
- -
-
-   -
- UID: -   - -
-
- Tokens used: -   - 0 -
- -
-
-
-
@@ -1849,6 +1762,86 @@ +
+
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
+ +
+
+ +
+
+   +
+ UID: +   + +
+
+ Tokens used: +   + 0 +
+ +
+
+
+
+
diff --git a/public/script.js b/public/script.js index c18fbc39e..d972ef44a 100644 --- a/public/script.js +++ b/public/script.js @@ -2446,7 +2446,7 @@ function resultCheckStatusNovel() { async function renameCharacter() { const oldAvatar = characters[this_chid].avatar; - const newValue = await callPopup('New name:', 'input', characters[this_chid].name); + const newValue = await callPopup('

New name:

', 'input', characters[this_chid].name); if (newValue && newValue !== characters[this_chid].name) { const body = JSON.stringify({ avatar_url: oldAvatar, new_name: newValue }); diff --git a/public/style.css b/public/style.css index b6f21335f..266dac9a3 100644 --- a/public/style.css +++ b/public/style.css @@ -1549,30 +1549,11 @@ input[type=search]:focus::-webkit-search-cancel-button { display: none; } -#world_info { - margin-bottom: 0; -} - -#world_info_block { +.world_info_select_block { display: flex; - align-items: center; - justify-content: space-between; -} - -#world_import_button, -#world_create_button { - cursor: pointer; - display: inline-block; - padding: 0; - margin: 0; -} - -#world_import_button h4, -#world_create_button h4 { - margin-top: auto; - margin-bottom: auto; - margin-left: 1rem; - + flex-direction: row; + align-items: baseline; + gap: 5px; } #world_popup { @@ -1619,10 +1600,6 @@ input[type=search]:focus::-webkit-search-cancel-button { margin-left: 1rem; } -#entry_edit_template { - display: none !important; -} - .world_entry:not(:last-child)::after { margin-top: 1rem; height: 1px; @@ -1659,6 +1636,10 @@ input[type=search]:focus::-webkit-search-cancel-button { cursor: pointer; } +#form_world_import { + display: none; +} + #form_rename_world input:not(:last-child) { margin-right: 10px; } @@ -3471,8 +3452,9 @@ toolcool-color-picker { } .openai_logit_bias_preset_form .menu_button, -.openai_preset_buttons .menu_button { - padding: 7px; +.openai_preset_buttons .menu_button, +.world_info_select_block .menu_button { + padding: 8px; } .openai_logit_bias_list:empty::before {