summaryrefslogtreecommitdiff
path: root/ext/bg/settings.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-11-04 08:18:49 -0700
committerAlex Yatskov <alex@foosoft.net>2017-11-04 08:18:49 -0700
commitd505edb94b27ecd8cbaaecd11cbebfbe12b16164 (patch)
tree44ab656f33f7eedb0e4e0c9e31e0ccceffb069e0 /ext/bg/settings.html
parent5c0d1cc6dae358dd2c04bdaac8f30cebfad5466d (diff)
parentdcef7ce3774a3dcc8e7bee0bc17398251523451e (diff)
Merge branch 'dev'
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r--ext/bg/settings.html28
1 files changed, 25 insertions, 3 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index 4315d74b..65043d44 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -36,7 +36,11 @@
</div>
<div class="checkbox">
- <label><input type="checkbox" id="group-terms-results"> Group term results</label>
+ <label><input type="checkbox" id="compact-tags"> Compact tags</label>
+ </div>
+
+ <div class="checkbox">
+ <label><input type="checkbox" id="compact-glossaries"> Compact glossaries</label>
</div>
<div class="checkbox">
@@ -48,6 +52,15 @@
</div>
<div class="form-group">
+ <label for="result-output-mode">Result grouping</label>
+ <select class="form-control" id="result-output-mode">
+ <option value="group">Group results by term-reading pairs</option>
+ <option value="merge">Group results by main dictionary entry</option>
+ <option value="split">Split definitions to their own results</option>
+ </select>
+ </div>
+
+ <div class="form-group">
<label for="audio-playback-source">Audio playback source</label>
<select class="form-control" id="audio-playback-source">
<option value="disabled">Disabled</option>
@@ -132,10 +145,14 @@
or you can simply <a href="#" id="dict-purge-link">purge the database</a> to delete everything.
</p>
<p class="help-block">
- Please visit the <a href="https://foosoft.net/projects/yomichan" target="_blank">Yomichan</a> homepage to download free
- dictionaries that you can use with this extension.
+ Deleting individual dictionaries is not currently feasible due to limitations of browser database technology.
</p>
+ <div class="form-group" id="dict-main-group">
+ <label for="dict-main">Main dictionary for merged mode</label>
+ <select class="form-control" id="dict-main"></select>
+ </div>
+
<div class="text-danger" id="dict-purge">Dictionary data is being purged, please be patient...</div>
<div class="alert alert-warning" id="dict-warning">No dictionaries have been installed</div>
<div class="alert alert-danger" id="dict-error"></div>
@@ -150,6 +167,11 @@
</div>
<div id="dict-importer">
+ <p class="help-block">
+ Select a dictionary to import for use below. Please visit the Yomichan homepage to
+ <a href="https://foosoft.net/projects/yomichan" target="_blank">download free dictionaries</a>
+ for use with this extension and to learn about importing proprietary EPWING dictionaries.
+ </p>
<input type="file" id="dict-file">
</div>
</div>