parent
7b6cb27f7f
commit
815b79dc64
5 changed files with 12 additions and 9 deletions
|
@ -85,6 +85,9 @@
|
||||||
if (e.name === 'HTTPError' && e.code == 411) {
|
if (e.name === 'HTTPError' && e.code == 411) {
|
||||||
$('.progress-dialog').hide();
|
$('.progress-dialog').hide();
|
||||||
$('.error-dialog').show();
|
$('.error-dialog').show();
|
||||||
|
$('.error-dialog .ok').click(function(e) {
|
||||||
|
chrome.runtime.reload();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw e;
|
throw e;
|
||||||
|
|
|
@ -116,9 +116,9 @@
|
||||||
<div class='status'></div>
|
<div class='status'></div>
|
||||||
<div class='bar-container'><div class='bar'></div></div>
|
<div class='bar-container'><div class='bar'></div></div>
|
||||||
</div>
|
</div>
|
||||||
<div class='error-dialog'>
|
<div class='error-dialog clearfix'>
|
||||||
<div>Error: Too many devices.</div>
|
<div class='panel'>Sorry, you have too many devices registered already. Try removing some.</div>
|
||||||
<button class='ok'>Continue</span>
|
<button class='ok'>Ok</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6392,12 +6392,12 @@ ul.country-list {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: left; }
|
text-align: left; }
|
||||||
.modal-container .modal-main .confirmation-dialog, .modal-container .modal-main .progress-dialog {
|
.modal-container .modal-main .confirmation-dialog, .modal-container .modal-main .progress-dialog, .modal-container .modal-main .error-dialog {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
text-align: left; }
|
text-align: left; }
|
||||||
.modal-container .modal-main .confirmation-dialog .number {
|
.modal-container .modal-main .confirmation-dialog .number {
|
||||||
text-align: center; }
|
text-align: center; }
|
||||||
.modal-container .modal-main .confirmation-dialog button {
|
.modal-container .modal-main .confirmation-dialog button, .modal-container .modal-main .error-dialog button {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 10px; }
|
margin-left: 10px; }
|
||||||
.modal-container .modal-main .progress-dialog {
|
.modal-container .modal-main .progress-dialog {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -195,12 +195,12 @@ ul.country-list {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.confirmation-dialog, .progress-dialog {
|
.confirmation-dialog, .progress-dialog, .error-dialog {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
.confirmation-dialog {
|
.confirmation-dialog .number { text-align: center; }
|
||||||
.number { text-align: center; }
|
.confirmation-dialog, .error-dialog {
|
||||||
button {
|
button {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
|
Loading…
Reference in a new issue