diff options
author | Alex Yatskov <alex@foosoft.net> | 2019-09-02 11:47:14 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2019-09-02 11:47:14 -0700 |
commit | 5347da528bd07166b4686f45440d80a77f4888a3 (patch) | |
tree | 08bbfd0c859327ee9a08ca86afd222a222ced62b /ext/bg/settings.html | |
parent | da981c0b911dc5a697246006089b266fddba84a7 (diff) | |
parent | 4ac55da7dd5354e6c3495f04583352d0d863b7b6 (diff) |
Merge branch 'master' into testing
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r-- | ext/bg/settings.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html index c6677018..cc140023 100644 --- a/ext/bg/settings.html +++ b/ext/bg/settings.html @@ -107,6 +107,28 @@ </select> </div> + <div class="form-group"> + <div class="row"> + <div class="col-xs-6"> + <label for="popup-display-mode">Popup position for horizontal text</label> + <select class="form-control" id="popup-horizontal-text-position"> + <option value="below">Below text</option> + <option value="above">Above text</option> + </select> + </div> + <div class="col-xs-6"> + <label for="popup-display-mode">Popup position for vertical text</label> + <select class="form-control" id="popup-vertical-text-position"> + <option value="default">Same as for horizontal text</option> + <option value="before">Before text reading direction</option> + <option value="after">After text reading direction</option> + <option value="left">Left of text</option> + <option value="right">Right of text</option> + </select> + </div> + </div> + </div> + <div class="form-group options-advanced"> <label for="audio-playback-volume">Audio playback volume (percent)</label> <input type="number" min="0" max="100" id="audio-playback-volume" class="form-control"> @@ -134,6 +156,14 @@ </div> <div class="form-group options-advanced"> + <label>Popup offset for vertical text (horizontal, vertical; in pixels)</label> + <div class="row"> + <div class="col-xs-6"><input type="number" min="0" id="popup-horizontal-offset2" class="form-control"></div> + <div class="col-xs-6"><input type="number" min="0" id="popup-vertical-offset2" class="form-control"></div> + </div> + </div> + + <div class="form-group options-advanced"> <label for="custom-popup-css">Custom popup CSS</label> <div><textarea autocomplete="off" spellcheck="false" wrap="soft" id="custom-popup-css" class="form-control"></textarea></div> </div> @@ -162,6 +192,10 @@ <label><input type="checkbox" id="auto-hide-results"> Automatically hide results</label> </div> + <div class="checkbox options-advanced"> + <label><input type="checkbox" id="deep-dom-scan"> Deep DOM scan</label> + </div> + <div class="form-group options-advanced"> <label for="scan-delay">Scan delay (in milliseconds)</label> <input type="number" min="1" id="scan-delay" class="form-control"> @@ -399,6 +433,8 @@ <script src="/mixed/lib/bootstrap/js/bootstrap.min.js"></script> <script src="/mixed/lib/handlebars.min.js"></script> + <script src="/mixed/js/extension.js"></script> + <script src="/bg/js/anki.js"></script> <script src="/bg/js/api.js"></script> <script src="/bg/js/dictionary.js"></script> |