summaryrefslogtreecommitdiff
path: root/ext/bg/options.html
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/options.html')
-rw-r--r--ext/bg/options.html21
1 files changed, 6 insertions, 15 deletions
diff --git a/ext/bg/options.html b/ext/bg/options.html
index 4d67716e..b79332af 100644
--- a/ext/bg/options.html
+++ b/ext/bg/options.html
@@ -6,7 +6,7 @@
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.6-dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.6-dist/css/bootstrap-theme.min.css">
<style>
- #anki-spinner, #anki-general, #options-advanced {
+ #anki-spinner, #anki-general, #anki-error, #options-advanced {
display: none;
}
@@ -16,10 +16,6 @@
border-right: 1px #ddd solid;
padding: 10px;
}
-
- .status-dlg {
- display: none;
- }
</style>
</head>
<body>
@@ -91,6 +87,11 @@
<h3>Anki Options</h3>
+ <div class="alert alert-danger" id="anki-error">
+ <strong>Error</strong>
+ <span></span>
+ </div>
+
<div class="form-group">
<label class="control-label" for="anki-method">Connection method</label>
<select class="form-control" id="anki-method">
@@ -100,16 +101,6 @@
</select>
</div>
- <div class="alert alert-danger status-dlg" id="error-dlg">
- <strong>Error</strong>
- <span>Unable to connect</span>
- </div>
-
- <div class="alert alert-success status-dlg" id="success-dlg">
- <strong>Success</strong>
- <span>Connection established</span>
- </div>
-
<form class="form-horizontal" id="anki-general">
<div class="form-group anki-login">
<label for="anki-username" class="control-label col-sm-2">Username</label>