aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-27 08:49:49 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-27 08:49:49 -0800
commit0e0a0a3e51a3812a9ccdb64216c70770881b9082 (patch)
treef05452aa478821e67cb1fba464fe6c97480499d8
parentb9addc8428c8cabe0be7ecdfffa6488a148757c5 (diff)
moving more controls to advanced group
-rw-r--r--ext/bg/js/templates.js2
-rw-r--r--ext/bg/options.html6
-rw-r--r--tmpl/dictionary.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index 543d4c04..a5003eda 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -17,7 +17,7 @@ templates['dictionary.html'] = template({"1":function(container,depth0,helpers,p
+ alias4(((helper = (helper = helpers.version || (depth0 != null ? depth0.version : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"version","hash":{},"data":data}) : helper)))
+ "</small></h4> -->\n <!-- </div> -->\n <!-- <div class=\"col-xs-4 text-right disabled\"> -->\n <!-- <button type=\"button\" class=\"dict-group-controls dict-delete btn btn-danger\">Delete</button> -->\n <!-- </div> -->\n <!-- </div> -->\n\n <div class=\"dict-delete-progress\">\n Dictionary data is being deleted, please be patient...\n <div class=\"progress\">\n <div class=\"progress-bar progress-bar-striped progress-bar-danger\" style=\"width: 0%\"></div>\n </div>\n </div>\n\n <div class=\"checkbox dict-group-controls\">\n <label><input type=\"checkbox\" class=\"dict-enabled\" "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.enabled : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + "> Enable search</label>\n </div>\n <div class=\"form-group dict-group-controls\">\n <label for=\"dict-"
+ + "> Enable search</label>\n </div>\n <div class=\"form-group dict-group-controls options-advanced\">\n <label for=\"dict-"
+ alias4(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"title","hash":{},"data":data}) : helper)))
+ "\">Result priority</label>\n <input type=\"number\" value=\""
+ alias4(((helper = (helper = helpers.priority || (depth0 != null ? depth0.priority : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"priority","hash":{},"data":data}) : helper)))
diff --git a/ext/bg/options.html b/ext/bg/options.html
index d12b50d4..d2f3ebb8 100644
--- a/ext/bg/options.html
+++ b/ext/bg/options.html
@@ -8,7 +8,7 @@
<style>
#anki-spinner, #anki-general, #anki-error,
#dict-spinner, #dict-error, #dict-warning, #dict-purge-progress, #dict-import-progress, .dict-delete-progress,
- #options-advanced {
+ .options-advanced {
display: none;
}
@@ -33,7 +33,7 @@
<label><input type="checkbox" id="audio-playback-buttons"> Audio playback buttons</label>
</div>
- <div class="checkbox">
+ <div class="checkbox options-advanced">
<label><input type="checkbox" id="soft-katakana-search"> Soft Katakana search</label>
</div>
@@ -142,7 +142,7 @@
</div>
<div id="anki-general">
- <div class="checkbox">
+ <div class="checkbox options-advanced">
<label><input type="checkbox" id="generate-html-cards"> Generate HTML cards</label>
</div>
diff --git a/tmpl/dictionary.html b/tmpl/dictionary.html
index 17656747..c70bc187 100644
--- a/tmpl/dictionary.html
+++ b/tmpl/dictionary.html
@@ -20,7 +20,7 @@
<div class="checkbox dict-group-controls">
<label><input type="checkbox" class="dict-enabled" {{#if enabled}}checked{{/if}}> Enable search</label>
</div>
- <div class="form-group dict-group-controls">
+ <div class="form-group dict-group-controls options-advanced">
<label for="dict-{{title}}">Result priority</label>
<input type="number" value="{{priority}}" id="dict-{{title}}" class="form-control dict-priority">
</div>