Skip to content

Commit 0b854aa

Browse files
committed
Informative messages ("UF_MSG_*") have more emphasis (Bulma box)
1 parent 87cfeb0 commit 0b854aa

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

website/src/queries-init.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,19 @@ function clearTable() {
9595
getTableBody().empty();
9696
}
9797
function setMsg(msg) {
98-
JQ_ID_MSG.html(msg);
98+
JQ_ID_MSG
99+
.html(msg)
100+
.addClass("box")
101+
.addClass("has-background-info-light")
102+
.css("border-width", "thin")
103+
.css("border-color", "rgba(0,0,0,0.25)")
104+
.css("border-style", "solid");
99105
}
100106
function clearMsg() {
101-
JQ_ID_MSG.empty();
107+
JQ_ID_MSG
108+
.empty()
109+
.removeClass("box")
110+
.css("border-style", "");
102111
}
103112
function clearNonErrorMsg() {
104113
const msg = JQ_ID_MSG.html();

0 commit comments

Comments
 (0)