Interaction Alert
This commit is contained in:
@@ -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;">
|
||||
|
||||
@@ -4,4 +4,9 @@
|
||||
|
||||
tr.notneeded {
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
|
||||
tr.fs-alert,
|
||||
tr.fs-alert th {
|
||||
color: orange;
|
||||
}
|
||||
Reference in New Issue
Block a user