aboutsummaryrefslogtreecommitdiff
path: root/ext/templates-settings.html
diff options
context:
space:
mode:
authorKuuuube <61125188+Kuuuube@users.noreply.github.com>2024-05-21 13:15:24 -0400
committerGitHub <noreply@github.com>2024-05-21 17:15:24 +0000
commit4f39126ee16cc4be81c94e7c88896615b75b746a (patch)
tree1ea09880724b2e3ca4d926c667a419589e923f8d /ext/templates-settings.html
parent654bb75e4104f0b49cb94a7296ffd8a9a6eb3fc7 (diff)
Move dictionary up and down buttons out of kebab menu (#971)
* Add up and down buttons to dictionaries list * Fix text wrapping on firefox when viewport is smaller than dict modal * Cleanup * Remove up and down options from kebab menu * Hide priority under advanced
Diffstat (limited to 'ext/templates-settings.html')
-rw-r--r--ext/templates-settings.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/templates-settings.html b/ext/templates-settings.html
index 40efbfc2..3112d30f 100644
--- a/ext/templates-settings.html
+++ b/ext/templates-settings.html
@@ -61,7 +61,9 @@
<div class="badge info-badge badge-small-icon"><span class="icon" data-icon="checkmark"></span></div>
</button>
</div>
- <input type="number" step="1" class="short-height dictionary-priority">
+ <input type="number" step="1" class="short-height dictionary-priority advanced-only">
+ <button type="button" class="icon-button" id="dictionary-move-up" data-menu-action="moveUp"><span class="icon-button-inner"><span class="icon" data-icon="up-chevron"></span></span></button>
+ <button type="button" class="icon-button" id="dictionary-move-down" data-menu-action="moveDown"><span class="icon-button-inner"><span class="icon" data-icon="down-chevron"></span></span></button>
<button type="button" class="icon-button dictionary-menu-button" data-menu="dictionary-menu" data-menu-position="below left"><span class="icon-button-inner"><span class="icon" data-icon="kebab-menu"></span></span></button>
</template>
<template id="dictionary-details-entry-template"><div class="dictionary-details-entry">
@@ -84,8 +86,6 @@
</template>
<template id="dictionary-menu-template"><div class="popup-menu-container" tabindex="-1" role="dialog"><div class="popup-menu"><div class="popup-menu-body">
<button type="button" class="popup-menu-item" data-menu-action="showDetails">Details&hellip;</button>
- <button type="button" class="popup-menu-item" data-menu-action="moveUp">Move up</button>
- <button type="button" class="popup-menu-item" data-menu-action="moveDown">Move down</button>
<button type="button" class="popup-menu-item" data-menu-action="moveTo">Move to&hellip;</button>
<button type="button" class="popup-menu-item" data-menu-action="delete">Delete</button>
</div></div></div></template>