summaryrefslogtreecommitdiff
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
committerGitHub <noreply@github.com>2020-10-14 19:37:46 -0400
commit51904761cefe4d93a97ebf3c0c5bf127db2cbc69 (patch)
tree87dcf8e7a23170bd25429f5f43173eead31e04b1 /ext/bg/settings.html
parent429e3a5b74b9b0a077cff94ec1efd10c0a1940be (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 d513ab57..6c61059a 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -387,6 +387,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>
@@ -443,7 +447,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>
@@ -1255,6 +1264,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>