aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/options.html
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/options.html')
-rw-r--r--ext/bg/options.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/bg/options.html b/ext/bg/options.html
index 55df936b..c6e14fdf 100644
--- a/ext/bg/options.html
+++ b/ext/bg/options.html
@@ -16,6 +16,10 @@
border-right: 1px #ddd solid;
padding: 10px;
}
+
+ .error-dlg {
+ display: none;
+ }
</style>
</head>
<body>
@@ -60,7 +64,7 @@
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div class="checkbox">
- <label class="control-label"><input type="checkbox" id="enable-anki-connect"> Enable <a href="https://foosoft.net/projects/yomichan">AnkiConnect</a></label>
+ <label class="control-label"><input type="checkbox" id="enable-anki-connect"> Enable <a href="https://foosoft.net/projects/anki-connect">AnkiConnect</a></label>
</div>
</div>
</div>
@@ -71,6 +75,9 @@
<div class="options-anki">
<h2>Anki</h2>
+ <div class="alert alert-danger error-dlg error-dlg-connection"><strong>Unable to connect</strong>: is the <a href="https://foosoft.net/projects/anki-connect">AnkiConnect</a> extension for <a href="http://ankisrs.net/">Anki</a> installed and running?</div>
+ <div class="alert alert-warning error-dlg error-dlg-version"><strong>Unsupported version</strong>: the installed version of the <a href="https://foosoft.net/projects/anki-connect">AnkiConnect</a> extension for <a href="http://ankisrs.net/">Anki</a> is not compatible with this release.</div>
+
<form class="form-horizontal">
<ul class="nav nav-tabs">
<li class="active"><a href="#vocab" data-toggle="tab">Vocabulary</a></li>