mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix for WI area padding and New WI entry button
This commit is contained in:
@@ -177,6 +177,8 @@ input[type="range"]::-ms-fill-upper {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.setting_container {
|
.setting_container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-areas: "label value"
|
grid-template-areas: "label value"
|
||||||
@@ -676,11 +678,7 @@ td.server_vars {
|
|||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.story_category_area{
|
.story_category_area:not(#story_menu_wi){
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.story_category_area{
|
|
||||||
margin: 10px 10px 0 10px;
|
margin: 10px 10px 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2175,7 +2175,8 @@ function create_new_wi_entry(folder) {
|
|||||||
"content": "",
|
"content": "",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
"token_length": 0,
|
"token_length": 0,
|
||||||
"selective": false
|
"selective": false,
|
||||||
|
"wpp": {'name': "", 'type': "", 'attributes': {}}
|
||||||
};
|
};
|
||||||
card = world_info_entry(data);
|
card = world_info_entry(data);
|
||||||
card.scrollIntoView(false);
|
card.scrollIntoView(false);
|
||||||
|
@@ -67,33 +67,31 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="story_menu_wi" class="story_category_area hidden">
|
<div id="story_menu_wi" class="story_category_area hidden">
|
||||||
<div>
|
<h4 class="section_header" style="margin-left: 10px;">World Info</h4>
|
||||||
<h4 class="section_header">World Info</h4>
|
<span class="help_text" style="margin-left: 20px;">
|
||||||
<span class="help_text">
|
Lore information, which the AI recalls by certain words.
|
||||||
Lore information, which the AI recalls by certain words.
|
<span class="helpicon material-icons-outlined" title="Use this instead of Memory for information on things like characters, objects, events, places, and anything else with detail.">help_icon</span>
|
||||||
<span class="helpicon material-icons-outlined" title="Use this instead of Memory for information on things like characters, objects, events, places, and anything else with detail.">help_icon</span>
|
</span>
|
||||||
</span>
|
<div class="setting_tile_area wi_settings">
|
||||||
<div class="setting_tile_area">
|
{% with menu='World Info' %}
|
||||||
{% with menu='World Info' %}
|
{% with sub_path='' %}
|
||||||
{% with sub_path='' %}
|
{% include 'settings item.html' %}
|
||||||
{% include 'settings item.html' %}
|
|
||||||
{% endwith %}
|
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</div>
|
{% endwith %}
|
||||||
<div id="WI_Area">
|
</div>
|
||||||
<span id="world_info_folder_New Folder" class="WI_Folder">
|
<div id="WI_Area">
|
||||||
<h2>
|
<span id="world_info_folder_New Folder" class="WI_Folder">
|
||||||
<span id="world_info_folder_collapse_root" class="wi_folder_collapser material-icons-outlined" folder="root">expand_more</span>
|
<h2>
|
||||||
<span id="world_info_folder_expand_root" class="wi_folder_collapser material-icons-outlined hidden" folder="root">chevron_right</span>
|
<span id="world_info_folder_collapse_root" class="wi_folder_collapser material-icons-outlined" folder="root">expand_more</span>
|
||||||
<span class="material-icons-outlined" folder="root">folder</span>
|
<span id="world_info_folder_expand_root" class="wi_folder_collapser material-icons-outlined hidden" folder="root">chevron_right</span>
|
||||||
<span original_text="root" contenteditable="true">root</span>
|
<span class="material-icons-outlined" folder="root">folder</span>
|
||||||
</h2>
|
<span original_text="root" contenteditable="true">root</span>
|
||||||
<span class="wi_add_button">
|
</h2>
|
||||||
<span class="material-icons-outlined">post_add</span>
|
<span class="wi_add_button" onclick='create_new_wi_entry(this.getAttribute("folder"));'>
|
||||||
<span folder="root">Add World Info Entry</span>
|
<span class="material-icons-outlined">post_add</span>
|
||||||
</span>
|
<span folder="root" >Add World Info Entry</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user