Commit 79774f06 by Félicie

button color changed

parent 3522a711
Pipeline #1750 failed with stage
in 1 minute 34 seconds
...@@ -146,8 +146,14 @@ function preview_results() { ...@@ -146,8 +146,14 @@ function preview_results() {
for (i in results) { for (i in results) {
if (results[i].is_member != false || results[i].is_associated_people != false) { if (results[i].is_member != false) {
var m = $('<button>').attr('data-i', i) var m = $('<button style="background-color: #00A573;">').attr('data-i', i)
.text(results[i].name);
html_elts.multi_results.append(m);
}
if (results[i].is_associated_people != false) {
var m = $('<button style="background: #0275D8;">').attr('data-i', i)
.text(results[i].name); .text(results[i].name);
html_elts.multi_results.append(m); html_elts.multi_results.append(m);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment