summaryrefslogtreecommitdiff
path: root/tmpl/dictionary.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-11-12 19:34:02 -0800
committerAlex Yatskov <alex@foosoft.net>2016-11-12 19:34:02 -0800
commit371c07ab1fb6125c065589d71c93477e0456aada (patch)
tree7260b408b9e1f9247f92b4ac9cb467fce054ba82 /tmpl/dictionary.html
parentb5cc47a9d1d7df7ec5a596fb72fad21f79d2e01c (diff)
Revert "Delete dictionary deletion"
This reverts commit 0ff41d5843b3bf39994ae32e4ab623bfe0e4e3ca.
Diffstat (limited to 'tmpl/dictionary.html')
-rw-r--r--tmpl/dictionary.html17
1 files changed, 14 insertions, 3 deletions
diff --git a/tmpl/dictionary.html b/tmpl/dictionary.html
index 7da9f660..134209c8 100644
--- a/tmpl/dictionary.html
+++ b/tmpl/dictionary.html
@@ -1,9 +1,20 @@
<div class="dict-group well well-sm" data-title="{{title}}">
- <h4><span class="text-muted glyphicon glyphicon-book"></span> {{title}} <small>v.{{version}}</small></h4>
- <div class="checkbox {{#unless hasTerms}}disabled{{/unless}}">
+ <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-controls dict-delete btn btn-danger">Delete</button>
+ </div>
+ </div>
+ <div class="dict-delete-progress">Dictionary data is being deleted, please be patient...</div>
+ <div class="progress dict-delete-progress">
+ <div class="progress-bar progress-bar-striped progress-bar-danger" style="width: 0%"></div>
+ </div>
+ <div class="checkbox dict-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 {{#unless hasKanji}}disabled{{/unless}}">
+ <div class="checkbox dict-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>