summaryrefslogtreecommitdiff
path: root/ext/bg/options.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-10-15 19:05:53 -0700
committerAlex Yatskov <alex@foosoft.net>2016-10-15 19:05:53 -0700
commit7aa6d6feee78307d998596082caf73a3c1577285 (patch)
tree71a158c08c0e277f10887a43339228c8cbb28a3f /ext/bg/options.html
parentef25ad144e8e93ca280ba218b28f981425eed2e3 (diff)
WIP
Diffstat (limited to 'ext/bg/options.html')
-rw-r--r--ext/bg/options.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/bg/options.html b/ext/bg/options.html
index f5bad2bd..efb3a82f 100644
--- a/ext/bg/options.html
+++ b/ext/bg/options.html
@@ -97,6 +97,15 @@
<div class="options-anki">
<h3>Anki Options</h3>
+ <div class="form-group">
+ <label class="control-label" for="anki-method">Integration method</label>
+ <select class="form-control" id="anki-method">
+ <option value="none">None</option>
+ <option value="ankiweb">AnkiWeb</option>
+ <option value="ankiconnect">AnkiConnect</option>
+ </select>
+ </div>
+
<div class="alert alert-danger error-dlg error-dlg-connection">
<strong>Unable to Connect</strong><br>
Is the <a href="https://foosoft.net/projects/anki-connect">AnkiConnect</a> extension for <a href="http://ankisrs.net/">Anki</a> installed and running? This software is required for Anki-related features.
@@ -108,6 +117,16 @@
<form class="form-horizontal options-anki-controls">
<div class="form-group">
+ <label for="anki-username" class="control-label col-sm-2">Username</label>
+ <div class="col-sm-10"><input type="text" id="anki-username" class="form-control"></div>
+ </div>
+
+ <div class="form-group">
+ <label for="anki-password" class="control-label col-sm-2">Password</label>
+ <div class="col-sm-10"><input type="password" id="anki-password" class="form-control"></div>
+ </div>
+
+ <div class="form-group">
<label for="anki-card-tags" class="control-label col-sm-2">Card tags</label>
<div class="col-sm-10"><input type="text" id="anki-card-tags" class="form-control"></div>
</div>