#1355 Update summary settings button to make it more visible

This commit is contained in:
Cohee
2023-11-15 02:16:42 +02:00
parent 3c3594c52f
commit 5136b70882
2 changed files with 11 additions and 10 deletions

View File

@ -651,14 +651,12 @@ jQuery(function () {
<option value="main">Main API</option> <option value="main">Main API</option>
<option value="extras">Extras API</option> <option value="extras">Extras API</option>
</select><br> </select><br>
<div class="flex-container justifyspacebetween alignitemscenter"> <div class="flex-container justifyspacebetween alignitemscenter">
<span class="flex1">Current summary:</span> <span class="flex1">Current summary:</span>
<div id="memory_restore" class="menu_button flex1 margin0"><span>Restore Previous</span></div> <div id="memory_restore" class="menu_button flex1 margin0"><span>Restore Previous</span></div>
</div> </div>
<textarea id="memory_contents" class="text_pole textarea_compact" rows="6" placeholder="Summary will be generated here..."></textarea> <textarea id="memory_contents" class="text_pole textarea_compact" rows="6" placeholder="Summary will be generated here..."></textarea>
<div class="memory_contents_controls"> <div class="memory_contents_controls">
<div id="memory_force_summarize" class="menu_button menu_button_icon"> <div id="memory_force_summarize" class="menu_button menu_button_icon">
@ -669,14 +667,17 @@ jQuery(function () {
<label for="memory_skipWIAN"><input id="memory_skipWIAN" type="checkbox" />No WI/AN</label> <label for="memory_skipWIAN"><input id="memory_skipWIAN" type="checkbox" />No WI/AN</label>
</div> </div>
<div class="memory_contents_controls"> <div class="memory_contents_controls">
<div id="summarySettingsBlockToggle" class="menu_button">Settings</div> <div id="summarySettingsBlockToggle" class="menu_button menu_button_icon" title="Edit summarization prompt, insertion position, etc.">
<i class="fa-solid fa-cog"></i>
<span>Summary Settings</span>
</div>
</div> </div>
<div id="summarySettingsBlock" style="display:none;"> <div id="summarySettingsBlock" style="display:none;">
<div class="memory_template"> <div class="memory_template">
<label for="memory_template">Insertion string:</label> <label for="memory_template">Insertion Template</label>
<textarea id="memory_template" class="text_pole textarea_compact" rows="2" placeholder="{{summary}} will resolve to the current summary contents."></textarea> <textarea id="memory_template" class="text_pole textarea_compact" rows="2" placeholder="{{summary}} will resolve to the current summary contents."></textarea>
</div> </div>
<label for="memory_position">Position:</label> <label for="memory_position">Injection Position</label>
<div class="radio_group"> <div class="radio_group">
<label> <label>
<input type="radio" name="memory_position" value="2" /> <input type="radio" name="memory_position" value="2" />

View File

@ -19,10 +19,10 @@
</select> </select>
<div id="vectors_advanced_settings" data-newbie-hidden> <div id="vectors_advanced_settings" data-newbie-hidden>
<label for="vectors_template"> <label for="vectors_template">
Insertion template: Insertion Template
</label> </label>
<textarea id="vectors_template" class="text_pole textarea_compact autoSetHeight" rows="2" placeholder="Use {{text}} macro to specify the position of retrieved text."></textarea> <textarea id="vectors_template" class="text_pole textarea_compact autoSetHeight" rows="2" placeholder="Use {{text}} macro to specify the position of retrieved text."></textarea>
<label for="vectors_position">Injection position:</label> <label for="vectors_position">Injection Position</label>
<div class="radio_group"> <div class="radio_group">
<label> <label>
<input type="radio" name="vectors_position" value="2" /> <input type="radio" name="vectors_position" value="2" />