aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-10-14 19:37:46 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-10-14 19:43:48 -0400
commitcb566f015aa280499da94126a3f6336c4d8ce0df (patch)
tree91e57b9b1b055c682ab95bafede1b1288885ea5f /ext/bg/settings.html
parentfd945a2119a0bba22c84b77dae1ec829e7495a83 (diff)
Add simple scan input UI (#921)
* Add simple scan input UI * Create helper function * Add controller for old scanning input UI * Add refresh functions * Add abstraction function * Fix incomplete middle mouse support detection * Make scanning inputs update eachother * Fix global declaration order
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r--ext/bg/settings.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index 86535af4..4b7bd086 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -386,6 +386,10 @@
<div>
<h3>Scanning Options</h3>
+ <div class="checkbox options-non-advanced">
+ <label><input type="checkbox" id="middle-mouse-button-scan"> Middle mouse button scans</label>
+ </div>
+
<div class="checkbox">
<label><input type="checkbox" id="select-matched-text" data-setting="scanning.selectText"> Select matched text</label>
</div>
@@ -442,7 +446,12 @@
<input type="number" min="1" step="1" id="scan-length" class="form-control" data-setting="scanning.length">
</div>
- <div class="form-group">
+ <div class="form-group options-non-advanced">
+ <label for="main-scan-modifier-key">Scan modifier key</label>
+ <select class="form-control" id="main-scan-modifier-key"></select>
+ </div>
+
+ <div class="form-group options-advanced">
<label>Scan inputs</label>
<div class="scan-input-list" id="scan-input-list"></div>
<button class="btn btn-default" id="scan-input-add" title="Add scan input"><span class="glyphicon glyphicon-plus"></span></button>
@@ -1242,6 +1251,7 @@
<script src="/bg/js/settings/popup-preview-controller.js"></script>
<script src="/bg/js/settings/profile-controller.js"></script>
<script src="/bg/js/settings/scan-inputs-controller.js"></script>
+ <script src="/bg/js/settings/scan-inputs-simple-controller.js"></script>
<script src="/bg/js/settings/settings-controller.js"></script>
<script src="/bg/js/settings/storage-controller.js"></script>