Interaction Alert

This commit is contained in:
Andre Beging
2022-04-08 16:12:25 +02:00
parent 7fb5ecf04a
commit 38eec13a1b
5 changed files with 22 additions and 3 deletions

View File

@@ -34,12 +34,15 @@
private bool Done => Interactions.Count >= Minimum;
private bool NotNeeded => Interactions.Any(x => x.NotNeeded);
private bool Alert => Interactions.Any(x => x.Alert);
}
@{
var rowClass = "";
if (Done) rowClass += " done";
if (NotNeeded) rowClass += " notneeded";
if (Alert) rowClass += " fs-alert";
}
<tr class="@rowClass" style="border-top: 5px solid transparent;">

View File

@@ -4,4 +4,9 @@
tr.notneeded {
filter: grayscale(100%);
}
tr.fs-alert,
tr.fs-alert th {
color: orange;
}