summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-10 19:41:04 -0400
committerGitHub <noreply@github.com>2021-05-10 19:41:04 -0400
commit892b908615553bc2a55dd95ba097217e1bd6d66c (patch)
treea34e96f08875d98d09fd3a3c9bdb96f80fe8093a /ext
parentecf2ccf6331e5b431474d3bed39b32a393bdf6d8 (diff)
Update welcome page settings to match the settings page (#1662)
Diffstat (limited to 'ext')
-rw-r--r--ext/welcome.html19
1 files changed, 18 insertions, 1 deletions
diff --git a/ext/welcome.html b/ext/welcome.html
index 06acc5e4..01a76102 100644
--- a/ext/welcome.html
+++ b/ext/welcome.html
@@ -247,7 +247,8 @@
for a list free dictionaries or click the <em>Import</em> button below to select a dictionary file to import.
</div>
<div id="dictionary-error" class="danger-text margin-above" hidden></div>
- <div id="dictionary-list" class="dictionary-list" data-count="0">
+ <div id="dictionary-list" class="dictionary-list generic-list" data-count="0">
+ <div class="dictionary-item-top"></div>
<label class="dictionary-item-top toggle dictionary-item-enabled-toggle-container"><input type="checkbox" id="all-dictionaries-enabled"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
<div class="dictionary-item-top dictionary-item-title-container">All</div>
<div class="dictionary-item-top">Priority</div>
@@ -334,9 +335,24 @@
</div>
</div></div>
+<div id="dictionary-move-location-modal" class="modal" tabindex="-1" role="dialog" hidden><div class="modal-content modal-content-small">
+ <div class="modal-header"><div class="modal-title">Move Dictionary Options</div></div>
+ <div class="modal-body">
+ <p>Input the location the dictionary <strong class="dictionary-title"></strong> should be moved to:</p>
+ <div class="margin-above">
+ <input type="number" id="dictionary-move-location" min="1" step="1">
+ </div>
+ </div>
+ <div class="modal-footer">
+ <button class="low-emphasis" data-modal-action="hide">Cancel</button>
+ <button data-modal-action="hide" id="dictionary-move-button">Move</button>
+ </div>
+</div></div>
+
<!-- Dictionary templates -->
<template id="dictionary-template">
+ <div class="dictionary-list-index generic-list-index-prefix"></div>
<label class="toggle dictionary-item-enabled-toggle-container"><input type="checkbox" class="dictionary-enabled"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
<div class="dictionary-item-title-container">
<span>
@@ -362,6 +378,7 @@
<button class="popup-menu-item" data-menu-action="showDetails">Details&hellip;</button>
<button class="popup-menu-item" data-menu-action="moveUp">Move up</button>
<button class="popup-menu-item" data-menu-action="moveDown">Move down</button>
+ <button class="popup-menu-item" data-menu-action="moveTo">Move to&hellip;</button>
<button class="popup-menu-item" data-menu-action="delete">Delete</button>
</div></div></div></template>