mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-09 00:17:47 +01:00
Visual touchup of custom expressions
This commit is contained in:
parent
7553efc308
commit
b24509ef43
@ -940,6 +940,10 @@ function renderCustomExpressions() {
|
||||
option.text = expression;
|
||||
$('#expression_custom').append(option);
|
||||
}
|
||||
|
||||
if (customExpressions.length === 0) {
|
||||
$('#expression_custom').append('<option value="" disabled selected>[ No custom expressions ]</option>');
|
||||
}
|
||||
}
|
||||
|
||||
async function getExpressionsList() {
|
||||
|
@ -18,13 +18,13 @@
|
||||
<input id="image_type_toggle" type="checkbox">
|
||||
<span>Image Type - talkinghead (extras)</span>
|
||||
</label>
|
||||
<div class="expression_custom_block">
|
||||
<div class="expression_custom_block m-b-1 m-t-1">
|
||||
<label for="expression_custom">Custom Expressions</label>
|
||||
<small>Can be set manually or with an <tt>/emote</tt> slash command.</small>
|
||||
<div class="flex-container alignitemscenter">
|
||||
<div class="flex-container">
|
||||
<select id="expression_custom" class="flex1 margin0"><select>
|
||||
<i id="expression_custom_add" class="menu_button fa-solid fa-plus" title="Add"></i>
|
||||
<i id="expression_custom_remove" class="menu_button fa-solid fa-xmark" title="Remove"></i>
|
||||
<i id="expression_custom_add" class="menu_button fa-solid fa-plus margin0" title="Add"></i>
|
||||
<i id="expression_custom_remove" class="menu_button fa-solid fa-xmark margin0" title="Remove"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div id="no_chat_expressions">
|
||||
|
Loading…
x
Reference in New Issue
Block a user