Add style for errors

This commit is contained in:
Rob Vella 2020-08-02 00:40:49 -07:00
parent fbb72da6ee
commit 6063b2421b
2 changed files with 5 additions and 1 deletions

View File

@ -72,4 +72,8 @@ tr.keyed:first-child, tr.keyed:first-child a {
color: #fff;
}
tr.keyed:first-child {
background-color: red;
}
[v-cloak] {display: none}

View File

@ -37,7 +37,7 @@
</tr>
</thead>
<tbody v-cloak>
<tr v-for="row in logs" :class="{ keyed: isKeyedNow(row) }">
<tr v-for="row in logs" :class="{ keyed: isKeyedNow(row), error: (row.node == 0000) }">
<td><lt-node-link :node="row.node" :type="row.type" /></td>
<td>{{ row.via }}</td>
<td>{{ row.keyed }}</td>