diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-06 21:17:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-06 21:17:05 -0500 |
commit | 35fbc76df441756e5044bcc9784ab3219a8d6701 (patch) | |
tree | a9f102238ae21836c89ca41e5f93a87a34797e1a /ext/bg/settings.html | |
parent | 88b8191ac2946c02ef8f9a73cd2c4050b1f02f61 (diff) |
Settings v2 testing setup (#1084)
* Add option for using settings v2
* Add options/info about settings v2
* Use settings v2 URL when applicable
* Update tests
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r-- | ext/bg/settings.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html index c168d7d8..acb07a60 100644 --- a/ext/bg/settings.html +++ b/ext/bg/settings.html @@ -21,6 +21,12 @@ <h1>Yomichan Options</h1> </div> + <div class="alert alert-info"> + <a style="text-decoration: underline;" href="/bg/settings2.html"> + An updated version of the settings page is available for testing and feedback. + </a> + </div> + <div class="profile-form ignore-form-changes"> <h3>Profiles</h3> @@ -192,6 +198,10 @@ <label><input type="checkbox" id="show-debug-info" data-setting="general.debugInfo" data-transform-pre="setDocumentAttribute" data-transform-post="setDocumentAttribute" data-document-attribute="data-options-general-debug-info"> Show debug information</label> </div> + <div class="checkbox options-advanced"> + <label><input type="checkbox" data-setting="global.useSettingsV2" data-scope="global"> Use the <a href="/bg/settings2.html">v2 settings page</a> by default</label> + </div> + <div class="form-group"> <label for="result-output-mode">Result grouping</label> <select class="form-control" id="result-output-mode" data-setting="general.resultOutputMode" data-transform-pre="setDocumentAttribute" data-transform-post="setDocumentAttribute" data-document-attribute="data-options-general-result-output-mode"> |