diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-09-22 19:39:05 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-09-22 19:39:05 -0700 |
commit | 8ba8397170c99e1d4416277e26d91ebb4b8cfed1 (patch) | |
tree | cdb0dc4ce57c984d5db2db7361a25c9b30bb542f /ext/bg/settings.html | |
parent | 27296de9f5c8283e81620999d8acedcdf9c117a5 (diff) |
update error handling
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r-- | ext/bg/settings.html | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html index c2612967..4315d74b 100644 --- a/ext/bg/settings.html +++ b/ext/bg/settings.html @@ -7,7 +7,7 @@ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap/css/bootstrap-theme.min.css"> <style> #anki-spinner, #anki-general, #anki-error, - #dict-spinner, #dict-error, #dict-warning, #dict-purge-progress, #dict-import-progress, + #dict-spinner, #dict-error, #dict-warning, #dict-purge, #dict-import-progress, #debug, .options-advanced { display: none; } @@ -129,24 +129,16 @@ <p class="help-block"> Yomichan can import and use a variety of dictionary formats. Unneeded dictionaries can be disabled, - or you can simply <a href="#" id="dict-purge">purge the database</a> to delete everything. + or you can simply <a href="#" id="dict-purge-link">purge the database</a> to delete everything. </p> <p class="help-block"> Please visit the <a href="https://foosoft.net/projects/yomichan" target="_blank">Yomichan</a> homepage to download free dictionaries that you can use with this extension. </p> - <div id="dict-purge-progress" class="text-danger">Dictionary data is being purged, please be patient...</div> - - <div class="alert alert-warning" id="dict-warning"> - <strong>Warning:</strong> - <span>no dictionaries found; please use the importer below to install packaged dictionaries</span> - </div> - - <div class="alert alert-danger" id="dict-error"> - <strong>Error:</strong> - <span></span> - </div> + <div class="text-danger" id="dict-purge">Dictionary data is being purged, please be patient...</div> + <div class="alert alert-warning" id="dict-warning">No dictionaries have been installed</div> + <div class="alert alert-danger" id="dict-error"></div> <div id="dict-groups"></div> @@ -174,10 +166,7 @@ <a href="https://foosoft.net/projects/anki-connect/" target="_blank">AnkiConnect</a> plugin. </p> - <div class="alert alert-danger" id="anki-error"> - <strong>Error:</strong> - <span></span> - </div> + <div class="alert alert-danger" id="anki-error"></div> <div class="checkbox"> <label><input type="checkbox" id="anki-enable"> Enable Anki integration</label> |