mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-09 21:36:44 +08:00
Add loading label to settings printers search [SCI-7253]
This commit is contained in:
parent
db0a5ede84
commit
d22ec4960d
2 changed files with 11 additions and 2 deletions
|
@ -21,8 +21,11 @@
|
||||||
},
|
},
|
||||||
beforeRefresh: function() {
|
beforeRefresh: function() {
|
||||||
zebraContainer.empty();
|
zebraContainer.empty();
|
||||||
zebraContainer.append(`<li>
|
zebraContainer.append(`
|
||||||
${I18n.t('users.settings.account.label_printer.looking_for_printers')}</li>`);
|
<li class="searching-printers">
|
||||||
|
<img src="/images/medium/loading.svg"></img>
|
||||||
|
${I18n.t('users.settings.account.label_printer.looking_for_printers')}
|
||||||
|
</li>`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
@ -130,4 +130,10 @@
|
||||||
.update-printers {
|
.update-printers {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.searching-printers {
|
||||||
|
img {
|
||||||
|
margin-right: .5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue