Super basic memory/author's notes complete. Is now functional once story/model is loaded.

This commit is contained in:
ebolam
2022-06-29 14:53:02 -04:00
parent de73aa2364
commit 70bdb62f0c
3 changed files with 38 additions and 8 deletions

View File

@@ -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):

View File

@@ -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;
}

View File

@@ -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 %}