2023-12-24 01:20:30 +01:00
< div id = "qr--modalEditor" >
< div id = "qr--main" >
2024-06-14 21:46:40 +02:00
< h3 data-i18n = "Labels and Message" > Labels and Message< / h3 >
2023-12-24 01:20:30 +01:00
< div class = "qr--labels" >
< label >
2024-06-14 21:46:40 +02:00
< span class = "qr--labelText" data-i18n = "Label" > Label< / span >
2023-12-24 01:20:30 +01:00
< input type = "text" class = "text_pole" id = "qr--modal-label" >
< / label >
< label >
2024-06-14 21:46:40 +02:00
< span class = "qr--labelText" data-i18n = "Title" > Title< / span >
< small class = "qr--labelHint" data-i18n = "(tooltip, leave empty to show message or /command)" > (tooltip, leave empty to show message or /command)< / small >
2023-12-24 01:20:30 +01:00
< input type = "text" class = "text_pole" id = "qr--modal-title" >
< / label >
< / div >
< div class = "qr--modal-messageContainer" >
2024-06-14 21:46:40 +02:00
< label for = "qr--modal-message" data-i18n = "Message / Command:" >
2024-03-25 14:04:41 +01:00
Message / Command:
< / label >
2024-04-07 23:00:36 +02:00
< div class = "qr--modal-editorSettings" >
2024-03-25 14:04:41 +01:00
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--modal-wrap" >
2024-06-14 21:46:40 +02:00
< span data-i18n = "Word wrap" > Word wrap< / span >
2024-03-25 14:04:41 +01:00
< / label >
2024-04-07 23:00:36 +02:00
< label class = "checkbox_label" >
2024-06-14 21:46:40 +02:00
< span data-i18n = "Tab size:" > Tab size:< / span >
2024-04-07 23:00:36 +02:00
< input type = "number" min = "1" max = "9" id = "qr--modal-tabSize" class = "text_pole" >
< / label >
2024-04-07 23:01:26 +02:00
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--modal-executeShortcut" >
2024-06-14 21:46:40 +02:00
< span data-i18n = "Ctrl+Enter to execute" > Ctrl+Enter to execute< / span >
2024-04-07 23:01:26 +02:00
< / label >
2024-06-13 20:05:50 +02:00
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--modal-syntax" >
< span > Syntax highlight< / span >
< / label >
2024-04-07 23:00:36 +02:00
< / div >
2024-05-12 21:15:05 +02:00
< div id = "qr--modal-messageHolder" >
< pre id = "qr--modal-messageSyntax" > < code id = "qr--modal-messageSyntaxInner" class = "hljs language-stscript" > < / code > < / pre >
2024-06-13 20:05:50 +02:00
< textarea id = "qr--modal-message" spellcheck = "false" > < / textarea >
2024-05-12 21:15:05 +02:00
< / div >
2023-12-24 01:20:30 +01:00
< / div >
< / div >
< div id = "qr--qrOptions" >
2024-06-14 21:46:40 +02:00
< h3 data-i18n = "Context Menu" > Context Menu< / h3 >
2023-12-24 01:20:30 +01:00
< div id = "qr--ctxEditor" >
< template id = "qr--ctxItem" >
< div class = "qr--ctxItem" data-order = "0" >
< div class = "drag-handle ui-sortable-handle" > ☰< / div >
< select class = "qr--set" > < / select >
< label class = "qr--isChainedLabel checkbox_label" title = "When enabled, the current Quick Reply will be sent together with (before) the clicked QR from the context menu." >
2024-06-14 21:46:40 +02:00
< span data-i18n = "Chaining:" > Chaining:< / span >
2023-12-24 01:20:30 +01:00
< input type = "checkbox" class = "qr--isChained" >
< / label >
< div class = "qr--delete menu_button menu_button_icon fa-solid fa-trash-can" title = "Remove entry" > < / div >
< / div >
< / template >
< / div >
< div class = "qr--ctxEditorActions" >
< span id = "qr--ctxAdd" class = "menu_button menu_button_icon fa-solid fa-plus" title = "Add quick reply set to context menu" > < / span >
< / div >
2024-06-14 21:46:40 +02:00
< h3 data-i18n = "Auto-Execute" > Auto-Execute< / h3 >
2023-12-24 01:20:30 +01:00
< div class = "flex-container flexFlowColumn" >
2023-12-26 13:06:23 +01:00
< label class = "checkbox_label" title = "Prevent this quick reply from triggering other auto-executed quick replies while auto-executing (i.e., prevent recursive auto-execution)" >
< input type = "checkbox" id = "qr--preventAutoExecute" >
2024-06-14 21:46:40 +02:00
< span > < i class = "fa-solid fa-fw fa-plane-slash" > < / i > < span data-i18n = "Don't trigger auto-execute" > Don't trigger auto-execute< / span > < / span >
2023-12-26 13:06:23 +01:00
< / label >
2023-12-24 01:20:30 +01:00
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--isHidden" >
2024-06-14 21:46:40 +02:00
< span > < i class = "fa-solid fa-fw fa-eye-slash" > < / i > < span data-i18n = "Invisible (auto-execute only)" > Invisible (auto-execute only)< / span > < / span >
2023-12-24 01:20:30 +01:00
< / label >
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--executeOnStartup" >
2024-06-14 21:46:40 +02:00
< span > < i class = "fa-solid fa-fw fa-rocket" > < / i > < span data-i18n = "Execute on startup" > Execute on startup< / span > < / span >
2023-12-24 01:20:30 +01:00
< / label >
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--executeOnUser" >
2024-06-14 21:46:40 +02:00
< span > < i class = "fa-solid fa-fw fa-user" > < / i > < span data-i18n = "Execute on user message" > Execute on user message< / span > < / span >
2023-12-24 01:20:30 +01:00
< / label >
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--executeOnAi" >
2024-06-14 21:46:40 +02:00
< span > < i class = "fa-solid fa-fw fa-robot" > < / i > < span data-i18n = "Execute on AI message" > Execute on AI message< / span > < / span >
2023-12-24 01:20:30 +01:00
< / label >
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--executeOnChatChange" >
2024-06-14 21:46:40 +02:00
< span > < i class = "fa-solid fa-fw fa-message" > < / i > < span data-i18n = "Execute on chat change" > Execute on chat change< / span > < / span >
2023-12-24 01:20:30 +01:00
< / label >
2024-01-18 17:08:38 +01:00
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--executeOnGroupMemberDraft" >
2024-06-14 21:46:40 +02:00
< span > < i class = "fa-solid fa-fw fa-people-group" > < / i > < span data-i18n = "Execute on group member draft" > Execute on group member draft< / span > < / span >
2024-01-18 17:08:38 +01:00
< / label >
2024-04-05 16:27:08 +02:00
< div class = "flex-container alignItemsBaseline flexFlowColumn flexNoGap" title = "Activate this quick reply when a World Info entry with the same Automation ID is triggered." >
2024-06-14 21:46:40 +02:00
< small data-i18n = "Automation ID:" > Automation ID< / small >
2024-02-24 16:22:51 +01:00
< input type = "text" id = "qr--automationId" class = "text_pole flex1" placeholder = "( None )" >
< / div >
2023-12-24 01:20:30 +01:00
< / div >
2023-12-24 16:07:12 +01:00
2024-06-14 21:46:40 +02:00
< h3 data-i18n = "Testing" > Testing< / h3 >
2024-05-12 21:15:05 +02:00
< div id = "qr--modal-executeButtons" >
< div id = "qr--modal-execute" class = "qr--modal-executeButton menu_button" title = "Execute the quick reply now" >
< i class = "fa-solid fa-play" > < / i >
2024-06-14 21:46:40 +02:00
< span data-i18n = "Execute" > Execute< / span >
2024-05-12 21:15:05 +02:00
< / div >
< div id = "qr--modal-pause" class = "qr--modal-executeButton menu_button" title = "Pause / continue execution" >
< span class = "qr--modal-executeComboIcon" >
< i class = "fa-solid fa-play" > < / i >
< i class = "fa-solid fa-pause" > < / i >
< / span >
< / div >
< div id = "qr--modal-stop" class = "qr--modal-executeButton menu_button" title = "Abort execution" >
< i class = "fa-solid fa-stop" > < / i >
< / div >
2023-12-24 16:07:12 +01:00
< / div >
2024-06-18 20:29:29 +02:00
< div id = "qr--modal-debugButtons" >
< div id = "qr--modal-resume" class = "qr--modal-debugButton menu_button" >
Resume
< / div >
< div id = "qr--modal-step" class = "qr--modal-debugButton menu_button" >
Step
< / div >
< div id = "qr--modal-stepInto" class = "qr--modal-debugButton menu_button" >
StepInto
< / div >
< / div >
2024-05-12 21:15:05 +02:00
< div id = "qr--modal-executeProgress" > < / div >
2023-12-24 16:07:12 +01:00
< label class = "checkbox_label" >
< input type = "checkbox" id = "qr--modal-executeHide" >
2024-06-14 21:46:40 +02:00
< span title = "Hide editor while executing" > Hide editor while executing< / span >
2023-12-24 16:07:12 +01:00
< / label >
< div id = "qr--modal-executeErrors" > < / div >
2024-05-12 21:15:05 +02:00
< div id = "qr--modal-executeResult" > < / div >
2024-06-18 20:29:29 +02:00
< div id = "qr--modal-debugState" > < / div >
2023-12-24 01:20:30 +01:00
< / div >
< / div >