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.actionmode = 1
|
||||||
self.dynamicscan = False
|
self.dynamicscan = False
|
||||||
self.recentedit = False
|
self.recentedit = False
|
||||||
|
self.notes = "" #Notes for the story. Does nothing but save
|
||||||
|
|
||||||
|
|
||||||
def __setattr__(self, name, value):
|
def __setattr__(self, name, value):
|
||||||
|
@@ -99,8 +99,9 @@
|
|||||||
.setting_container {
|
.setting_container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-areas: "label value"
|
grid-template-areas: "label value"
|
||||||
"item item";
|
"item item"
|
||||||
grid-template-rows: 20px 25px;
|
"minlabel maxlabel";
|
||||||
|
grid-template-rows: 20px 25px 10px;
|
||||||
grid-template-columns: 160px 40px;
|
grid-template-columns: 160px 40px;
|
||||||
row-gap: 0.2em;
|
row-gap: 0.2em;
|
||||||
background-color: var(--setting_background);
|
background-color: var(--setting_background);
|
||||||
@@ -108,6 +109,19 @@
|
|||||||
margin: 2px;
|
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 {
|
.setting_label {
|
||||||
grid-area: label;
|
grid-area: label;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -450,12 +464,6 @@ td.sequence:hover {
|
|||||||
grid-template-rows: 20px auto 40px;
|
grid-template-rows: 20px auto 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inputrow textarea {
|
|
||||||
grid-area: textarea;
|
|
||||||
background-color: var(--textarea_background);
|
|
||||||
color: var(--text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.inputrow .submit[system_aibusy=false] {
|
.inputrow .submit[system_aibusy=false] {
|
||||||
grid-area: submit;
|
grid-area: submit;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -540,6 +548,20 @@ td.sequence:hover {
|
|||||||
display: none;
|
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 {
|
.action_button {
|
||||||
color: var(--enabled_button_text);
|
color: var(--enabled_button_text);
|
||||||
background-color: var(--enabled_button_background_color);
|
background-color: var(--enabled_button_background_color);
|
||||||
@@ -567,6 +589,10 @@ td.sequence:hover {
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fullwidth {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.rawtext {
|
.rawtext {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
@@ -34,6 +34,9 @@
|
|||||||
</select>
|
</select>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</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>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
Reference in New Issue
Block a user