aboutsummaryrefslogtreecommitdiff
path: root/tmpl/dictionary.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-16 22:30:53 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-16 22:30:53 -0800
commit404f3f1b164fd924a8d34521f86bf3660acdc008 (patch)
treee197a07b87a71c0907a337902aecb0e300d5d4b3 /tmpl/dictionary.html
parent268e00435f081b81ac0426bd3e316acb1bb33915 (diff)
unify dictionary enabled state
Diffstat (limited to 'tmpl/dictionary.html')
-rw-r--r--tmpl/dictionary.html11
1 files changed, 4 insertions, 7 deletions
diff --git a/tmpl/dictionary.html b/tmpl/dictionary.html
index d9d2726a..17656747 100644
--- a/tmpl/dictionary.html
+++ b/tmpl/dictionary.html
@@ -17,14 +17,11 @@
</div>
</div>
+ <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">
- <label for="dict-{{title}}">Priority</label>
+ <label for="dict-{{title}}">Result priority</label>
<input type="number" value="{{priority}}" id="dict-{{title}}" class="form-control dict-priority">
</div>
- <div class="checkbox dict-group-controls {{#unless hasTerms}}disabled{{/unless}}">
- <label><input type="checkbox" class="dict-enable-terms" {{#unless hasTerms}}disabled{{/unless}} {{#if enableTerms}}checked{{/if}}> Enable term search</label>
- </div>
- <div class="checkbox dict-group-controls {{#unless hasKanji}}disabled{{/unless}}">
- <label><input type="checkbox" class="dict-enable-kanji" {{#unless hasKanji}}disabled{{/unless}} {{#if enableKanji}}checked{{/if}}> Enable Kanji search</label>
- </div>
</div>