diff --git a/koboldai_settings.py b/koboldai_settings.py
index 4ecd2e92..1dc35c2e 100644
--- a/koboldai_settings.py
+++ b/koboldai_settings.py
@@ -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):
diff --git a/static/koboldai.css b/static/koboldai.css
index 7cf2f8f2..eccbc31e 100644
--- a/static/koboldai.css
+++ b/static/koboldai.css
@@ -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;
}
\ No newline at end of file
diff --git a/templates/settings item.html b/templates/settings item.html
index 44f15da2..e6d3f903 100644
--- a/templates/settings item.html
+++ b/templates/settings item.html
@@ -34,6 +34,9 @@
{% endif %}
+
+ {% if item["uitype"] == "slider" %}{{ item['min'] }}{% endif %}
+ {% if item["uitype"] == "slider" %}{{ item['max'] }}{% endif %}
{% endif %}
{% endfor %}
\ No newline at end of file