WIP
This commit is contained in:
parent
153e64e08e
commit
f2c8d7d04e
@ -27,7 +27,7 @@ function sanitizeOptions(options) {
|
|||||||
scanDelay: 15,
|
scanDelay: 15,
|
||||||
scanLength: 20,
|
scanLength: 20,
|
||||||
|
|
||||||
ankiMethod: 'none',
|
ankiMethod: 'disabled',
|
||||||
ankiUsername: '',
|
ankiUsername: '',
|
||||||
ankiPassword: '',
|
ankiPassword: '',
|
||||||
ankiCardTags: ['yomichan'],
|
ankiCardTags: ['yomichan'],
|
||||||
|
@ -88,16 +88,15 @@
|
|||||||
<h3>Anki Options</h3>
|
<h3>Anki Options</h3>
|
||||||
|
|
||||||
<div class="alert alert-danger" id="anki-error">
|
<div class="alert alert-danger" id="anki-error">
|
||||||
<strong>Error</strong>
|
<strong>Error:</strong> <span></span>
|
||||||
<span></span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label" for="anki-method">Connection method</label>
|
<label class="control-label" for="anki-method">Connection method</label>
|
||||||
<select class="form-control" id="anki-method">
|
<select class="form-control" id="anki-method">
|
||||||
<option value="none">None</option>
|
<option value="disabled">Disabled (no auto flashcard creation)</option>
|
||||||
<option value="ankiweb">AnkiWeb</option>
|
<option value="ankiweb">AnkiWeb (requires an account on AnkiWeb)</option>
|
||||||
<option value="ankiconnect">AnkiConnect</option>
|
<option value="ankiconnect">AnkiConnect (requires the AnkiConnect plugin)</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user