mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Super basic memory/author's notes complete. Is now functional once story/model is loaded.
This commit is contained in:
@@ -294,6 +294,7 @@ class story_settings(settings):
|
||||
self.actionmode = 1
|
||||
self.dynamicscan = False
|
||||
self.recentedit = False
|
||||
self.notes = "" #Notes for the story. Does nothing but save
|
||||
|
||||
|
||||
def __setattr__(self, name, value):
|
||||
|
@@ -99,8 +99,9 @@
|
||||
.setting_container {
|
||||
display: grid;
|
||||
grid-template-areas: "label value"
|
||||
"item item";
|
||||
grid-template-rows: 20px 25px;
|
||||
"item item"
|
||||
"minlabel maxlabel";
|
||||
grid-template-rows: 20px 25px 10px;
|
||||
grid-template-columns: 160px 40px;
|
||||
row-gap: 0.2em;
|
||||
background-color: var(--setting_background);
|
||||
@@ -108,6 +109,19 @@
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.setting_minlabel {
|
||||
grid-area: minlabel;
|
||||
overflow: hidden;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.setting_maxlabel {
|
||||
grid-area: maxlabel;
|
||||
overflow: hidden;
|
||||
text-align: right;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.setting_label {
|
||||
grid-area: label;
|
||||
overflow: hidden;
|
||||
@@ -450,12 +464,6 @@ td.sequence:hover {
|
||||
grid-template-rows: 20px auto 40px;
|
||||
}
|
||||
|
||||
.inputrow textarea {
|
||||
grid-area: textarea;
|
||||
background-color: var(--textarea_background);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.inputrow .submit[system_aibusy=false] {
|
||||
grid-area: submit;
|
||||
height: 100%;
|
||||
@@ -540,6 +548,20 @@ td.sequence:hover {
|
||||
display: none;
|
||||
}
|
||||
|
||||
textarea {
|
||||
grid-area: textarea;
|
||||
background-color: var(--textarea_background);
|
||||
color: var(--text);
|
||||
resize: none;
|
||||
}
|
||||
|
||||
input {
|
||||
grid-area: textarea;
|
||||
background-color: var(--textarea_background);
|
||||
color: var(--text);
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.action_button {
|
||||
color: var(--enabled_button_text);
|
||||
background-color: var(--enabled_button_background_color);
|
||||
@@ -567,6 +589,10 @@ td.sequence:hover {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.fullwidth {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.rawtext {
|
||||
white-space: pre-wrap;
|
||||
}
|
@@ -34,6 +34,9 @@
|
||||
</select>
|
||||
{% endif %}
|
||||
</span>
|
||||
<!---Slider Labels--->
|
||||
<span class="setting_minlabel"><span style="top: -4px; position: relative;">{% if item["uitype"] == "slider" %}{{ item['min'] }}{% endif %}</span></span>
|
||||
<span class="setting_maxlabel"><span style="top: -4px; position: relative;">{% if item["uitype"] == "slider" %}{{ item['max'] }}{% endif %}</span></span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user