Restyle regex script toggles

This commit is contained in:
Cohee
2023-11-05 23:40:43 +02:00
parent 5e88edf22d
commit 4af6955588
3 changed files with 48 additions and 14 deletions

View File

@@ -2,9 +2,10 @@
<span class="drag-handle menu-handle">&#9776;</span>
<div class="regex_script_name flexGrow overflow-hidden"></div>
<div class="flex-container flexnowrap">
<label class="checkbox flex-container">
<span data-i18n="Disabled">Disabled</span>
<input id="disabled" type="checkbox" name="disabled" class="disable_regex" />
<label class="checkbox flex-container" for="regex_disable">
<input type="checkbox" name="regex_disable" class="disable_regex" />
<span class="regex-toggle-on fa-solid fa-toggle-on" title="Disable script"></span>
<span class="regex-toggle-off fa-solid fa-toggle-off" title="Enable script"></span>
</label>
<div class="edit_existing_regex menu_button">
<i class="fa-solid fa-pencil"></i>