diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-12 13:20:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 13:20:02 -0400 |
commit | c98aa9ad4751f1c35c164525eaec7e2411b0a5c4 (patch) | |
tree | e396459b236966fb7f3e8aa50aec5f42a06c16ec /ext/bg/settings.html | |
parent | 41db9ec89b8eb76009f0cf8894aa0f6e2cc2f8bd (diff) |
More scanning options (#815)
* Reorganize options
* Add advanced options
* Add a setting transform 'setRelativeAttribute'
* Add advanced options to HTML/CSS
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r-- | ext/bg/settings.html | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html index e934a92c..cc6f93e0 100644 --- a/ext/bg/settings.html +++ b/ext/bg/settings.html @@ -453,9 +453,24 @@ <div class="scan-input-prefix-cell" data-property="types"><div class="scan-input-prefix">Types</div></div> <div class="scan-input-content-cell" data-property="types"><div class="scan-input-input-cell-inner"> <div class="scan-input-type-list-container form-control"><div class="scan-input-type-list"> - <label class="scan-input-type"><input type="checkbox" class="scan-input-type-checkbox" data-property="mouse"><span>Mouse</span></label> - <label class="scan-input-type"><input type="checkbox" class="scan-input-type-checkbox" data-property="touch"><span>Touch</span></label> - <label class="scan-input-type"><input type="checkbox" class="scan-input-type-checkbox" data-property="pen"><span>Pen</span></label> + <label class="scan-input-toggle scan-input-type"><input type="checkbox" class="scan-input-settings-checkbox" data-property="types.mouse"><span>Mouse</span></label> + <label class="scan-input-toggle scan-input-type"><input type="checkbox" class="scan-input-settings-checkbox" data-property="types.touch"><span>Touch</span></label> + <label class="scan-input-toggle scan-input-type"><input type="checkbox" class="scan-input-settings-checkbox" data-property="types.pen"><span>Pen</span></label> + <label class="scan-input-toggle scan-input-type"><input type="checkbox" class="scan-input-settings-checkbox" data-property="options.showAdvanced" + data-transform-pre="setRelativeAttribute" + data-transform-post="setRelativeAttribute" + data-ancestor-distance="7" + data-relative-attribute="data-show-advanced" + ><span>Advanced</span></label> + </div></div> + </div></div> + + <div class="scan-input-prefix-cell" data-property="options"><div class="scan-input-prefix">Options</div></div> + <div class="scan-input-content-cell" data-property="options"><div class="scan-input-input-cell-inner"> + <div class="scan-input-type-list-container form-control"><div> + <div><label class="scan-input-toggle"><input type="checkbox" class="scan-input-settings-checkbox" data-property="options.scanOnPenHover"><span>Scan on pen hover</span></label></div> + <div><label class="scan-input-toggle"><input type="checkbox" class="scan-input-settings-checkbox" data-property="options.scanOnPenPress"><span>Scan on pen press</span></label></div> + <div><label class="scan-input-toggle"><input type="checkbox" class="scan-input-settings-checkbox" data-property="options.scanOnPenRelease"><span>Scan on pen release</span></label></div> </div></div> </div></div> </div> |