summaryrefslogtreecommitdiff
path: root/tmpl/dictionary.html
blob: 760fd3d25a1ee9a5d38085e0f5b348102f76dc9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="dict well well-sm" data-name="{{name}}">
    <div class="row">
        <div class="col-xs-8">
            <h4><span class="text-muted glyphicon glyphicon-book"></span> {{name}} <small>v.{{version}}</small></h4>
        </div>
        <div class="col-xs-4 text-right">
            <button type="button" class="dict-delete btn btn-danger">Delete</button>
        </div>
    </div>

    <div class="checkbox {{#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 {{#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>