summaryrefslogtreecommitdiff
path: root/tmpl/dictionary.html
blob: d9d2726a4107acc0fbc15a5a41883b64c8e2a180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div class="dict-group well well-sm" data-title="{{title}}">
    <h4><span class="text-muted glyphicon glyphicon-book"></span> {{title}} <small>rev.{{revision}}</small></h4>

    <!-- <div class="row"> -->
    <!--     <div class="col-xs-8"> -->
    <!--         <h4><span class="text-muted glyphicon glyphicon-book"></span> {{title}} <small>v.{{version}}</small></h4> -->
    <!--     </div> -->
    <!--     <div class="col-xs-4 text-right disabled"> -->
    <!--         <button type="button" class="dict-group-controls dict-delete btn btn-danger">Delete</button> -->
    <!--     </div> -->
    <!-- </div> -->

    <div class="dict-delete-progress">
        Dictionary data is being deleted, please be patient...
        <div class="progress">
            <div class="progress-bar progress-bar-striped progress-bar-danger" style="width: 0%"></div>
        </div>
    </div>

    <div class="form-group dict-group-controls">
        <label for="dict-{{title}}">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>