aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-11-06 12:06:56 -0800
committerAlex Yatskov <alex@foosoft.net>2016-11-06 12:06:56 -0800
commit5172155c7813965ca8f896940fa30e613f08ebac (patch)
treead62a495f9ef6b9f198ce4fe7374a63c3a00c7ef /ext/bg
parent3f606a0ab00a084e7f22b232cdd5a7006ab7d636 (diff)
WIP
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/options.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/ext/bg/options.html b/ext/bg/options.html
index 77d7edf1..1136eefc 100644
--- a/ext/bg/options.html
+++ b/ext/bg/options.html
@@ -66,6 +66,49 @@
<h3>Dictionaries</h3>
<div class="dictionaries">
+ <div class="dictionary well well-sm">
+ <div class="row">
+ <div class="col-xs-8">
+ <h4><span class="text-muted glyphicon glyphicon-book"></span> Dictionary <small>v.1</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">
+ <label><input type="checkbox" class="dict-enable-terms"> Enable term search</label>
+ </div>
+ <div class="checkbox">
+ <label><input type="checkbox" class="dict-enable-kanji"> Enable Kanji search</label>
+ </div>
+ </div>
+ </div>
+
+ <div class="alert alert-danger" id="dict-error">
+ <strong>Error:</strong>
+ <span>Something went wrong!</span>
+ </div>
+
+ <div class="progress" id="dict-import-progress">
+ <div id="dict-import-progress-value" class="progress-bar progress-bar-striped" style="width: 45%"></div>
+ </div>
+
+ <div class="input-group" id="dict-import">
+ <div class="input-group-btn">
+ <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#" id="dict-import-jmdict">JMdict</a></li>
+ <li><a href="#" id="dict-import-jmnedict">JMnedict</a></li>
+ <li><a href="#" id="dict-import-kanjidic2">KANJIDIC2</a></li>
+ <li role="separator" class="divider"></li>
+ <li><a href="#" id="dict-import-local">Local dictionary</a></li>
+ </ul>
+ </div>
+ <input type="text" id="dict-import-url" class="form-control" placeholder="Dictionary import URL">
+ <div class="input-group-btn">
+ <button type="button" id="dict-import-start" class="btn btn-primary">Import</button>
+ </div>
</div>
</div>