summaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-11-06 17:10:31 -0800
committerAlex Yatskov <alex@foosoft.net>2016-11-06 17:10:31 -0800
commitfd6622400f64b2d568d38bde72f9fd75f8d06beb (patch)
tree35c7772acc0b37e56196138207bf4e73a5061d5d /tmpl
parent5172155c7813965ca8f896940fa30e613f08ebac (diff)
Templates
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/dictionary.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/tmpl/dictionary.html b/tmpl/dictionary.html
new file mode 100644
index 00000000..21847722
--- /dev/null
+++ b/tmpl/dictionary.html
@@ -0,0 +1,21 @@
+<div class="dictionary 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>
+
+ {{#if hasTerms}}
+ <div class="checkbox">
+ <label><input type="checkbox" class="dict-enable-terms"> Enable term search</label>
+ </div>
+ {{/if}}
+ {{#if hasKanji}}
+ <div class="checkbox">
+ <label><input type="checkbox" class="dict-enable-kanji"> Enable Kanji search</label>
+ </div>
+ {{/if}}
+</div>