mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Restyle OAI presets
This commit is contained in:
@@ -112,9 +112,13 @@
|
||||
<div id="openai_api-presets">
|
||||
<div>
|
||||
<h4>OpenAI Presets</h4>
|
||||
<select id="settings_perset_openai">
|
||||
<option value="gui">Default</option>
|
||||
</select>
|
||||
<div class="openai_preset_buttons">
|
||||
<select id="settings_perset_openai">
|
||||
<option value="gui">Default</option>
|
||||
</select>
|
||||
<i id="update_preset" class="menu_button fa-solid fa-save" title="Update current preset"></i>
|
||||
<i id="new_preset" class="menu_button fa-solid fa-plus" title="Create new preset"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h4>OpenAI Model</h4>
|
||||
@@ -125,10 +129,6 @@
|
||||
<option value="gpt-4-32k">gpt-4-32k</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="range-block openai_preset_buttons">
|
||||
<input id="update_preset" class="menu_button" type="button" value="Update current preset">
|
||||
<input id="new_preset" class="menu_button" type="button" value="Create new preset">
|
||||
</div>
|
||||
</div>
|
||||
<div id="textgenerationwebui_api-presets">
|
||||
<h3>Text Gen WebUI (ooba) presets</h3>
|
||||
|
@@ -3402,17 +3402,6 @@ toolcool-color-picker {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#openai_api-presets {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
column-gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
#openai_api-presets>div {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#openai_api-presets select {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -3460,7 +3449,8 @@ toolcool-color-picker {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.openai_logit_bias_preset_form .menu_button {
|
||||
.openai_logit_bias_preset_form .menu_button,
|
||||
.openai_preset_buttons .menu_button {
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
@@ -3488,12 +3478,19 @@ toolcool-color-picker {
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#openai_api-presets {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.openai_preset_buttons {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
flex-basis: 100% !important;
|
||||
align-items: baseline;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.openai_preset_buttons select {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.reverse_proxy_warning,
|
||||
|
Reference in New Issue
Block a user