summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-10 19:41:04 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-11 21:33:18 -0400
commit093b4d1103b88791389b9ae7a53eabc86a5e0006 (patch)
tree044fab6220507acbbb5c49488da88ff11536d1e4
parent0c4323a5b62a9b94d7462c3eb867fa03de6f0805 (diff)
Update welcome page settings to match the settings page (#1662)
-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>