summaryrefslogtreecommitdiff
path: root/ext/settings.html
diff options
context:
space:
mode:
Diffstat (limited to 'ext/settings.html')
-rw-r--r--ext/settings.html26
1 files changed, 25 insertions, 1 deletions
diff --git a/ext/settings.html b/ext/settings.html
index 3eb2fc2e..6f4857db 100644
--- a/ext/settings.html
+++ b/ext/settings.html
@@ -2415,7 +2415,31 @@
<div class="modal-footer">
<button type="button" class="low-emphasis danger dictionary-database-mutating-input" id="dictionary-delete-all-button">Delete All</button>
<button type="button" class="low-emphasis dictionary-database-mutating-input" id="dictionary-check-integrity">Check Integrity</button>
- <button type="button" class="low-emphasis dictionary-database-mutating-input" id="dictionary-import-file-button">Import</button>
+ <button type="button" class="low-emphasis dictionary-database-mutating-input" id="dictionary-import-button">Import</button>
+ <button type="button" data-modal-action="hide">Close</button>
+ </div>
+</div></div>
+
+<div id="dictionary-import-modal" class="modal" tabindex="-1" role="dialog" hidden><div class="modal-content modal-content-medium">
+ <div class="modal-header"><div class="modal-title">Import Dictionaries</div></div>
+ <div class="modal-body">
+ <div id="dictionary-drop-file-zone">
+ <div id="dictionary-drag-drop-text">
+ <span class="icon" data-icon="book"></span>
+ <h1>Drag and drop dictionaries (.zip)</h1>
+ <h5>or click here to upload</h5>
+ </div>
+ </div>
+ </div>
+ <div class="modal-footer">
+ <button type="button" data-modal-action="hide" class="basic-only">Close</button>
+ </div>
+ <div class="modal-body advanced-only">
+ <p>Import dictionaries from URLs:</p>
+ <textarea type="text" id="dictionary-import-url-text"></textarea>
+ </div>
+ <div class="modal-footer advanced-only">
+ <button type="button" data-modal-action="hide" class="low-emphasis dictionary-database-mutating-input" id="dictionary-import-url-button">Import from URLs</button>
<button type="button" data-modal-action="hide">Close</button>
</div>
</div></div>