mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Lock extensions display order in top and context menus
This commit is contained in:
@@ -144,7 +144,7 @@ jQuery(function () {
|
||||
const sendButton = $(`
|
||||
<div id="send_picture" class="list-group-item flex-container flexGap5">
|
||||
<div class="fa-solid fa-image extensionsMenuExtensionButton"></div>
|
||||
Send a picture
|
||||
Send a Picture
|
||||
</div>`);
|
||||
|
||||
$('#extensionsMenu').prepend(sendButton);
|
||||
@@ -171,7 +171,7 @@ jQuery(function () {
|
||||
}
|
||||
function addSettings() {
|
||||
const html = `
|
||||
<div class="background_settings">
|
||||
<div class="caption_settings">
|
||||
<div class="inline-drawer">
|
||||
<div class="inline-drawer-toggle inline-drawer-header">
|
||||
<b>Image Captioning</b>
|
||||
|
@@ -1,3 +1,7 @@
|
||||
#img_form {
|
||||
display: none;
|
||||
}
|
||||
#img_form {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#send_picture {
|
||||
order: 4;
|
||||
}
|
||||
|
@@ -11,6 +11,7 @@
|
||||
opacity: 0.7;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
order: 4;
|
||||
/* justify-content: center; */
|
||||
|
||||
}
|
||||
|
@@ -50,3 +50,7 @@
|
||||
margin: unset;
|
||||
margin-bottom: 5px !important;
|
||||
}
|
||||
|
||||
#objective-task-manual-check-menu-item {
|
||||
order: 3;
|
||||
}
|
||||
|
@@ -136,7 +136,7 @@ jQuery(() => {
|
||||
</div>
|
||||
</div>`;
|
||||
|
||||
$('#extensions_settings').append(html);
|
||||
$('#extensions_settings2').append(html);
|
||||
$('#ai_response_configuration .range-block-counter').each(addRandomizeButton);
|
||||
$('#randomizer_enabled').on('input', onRandomizerEnabled);
|
||||
$('#randomizer_enabled').prop('checked', extension_settings.randomizer.enabled).trigger('input');
|
||||
|
@@ -15,6 +15,7 @@
|
||||
opacity: 0.7;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
order: 6;
|
||||
/* justify-content: center; */
|
||||
}
|
||||
|
||||
|
@@ -0,0 +1,3 @@
|
||||
#token_counter {
|
||||
order: 2;
|
||||
}
|
||||
|
@@ -4,3 +4,7 @@
|
||||
gap: 10px;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#translate_chat {
|
||||
order: 7;
|
||||
}
|
||||
|
@@ -16,6 +16,7 @@
|
||||
}
|
||||
|
||||
#ttsExtensionMenuItem {
|
||||
order: 1;
|
||||
transition: 0.3s;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
Reference in New Issue
Block a user