Cleaner implementation of flagging active machines
This commit is contained in:
1 parent
f7b184c435
commit
7b826b22ef
2 files changed
+3
-4
No files matched your search
@@ -396,7 +396,6 @@ td pre {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#content .green-tint {
|
||||
background-image: linear-gradient(to right, rgba(123, 192, 123, 0.5), rgba(123, 192, 123, 0.5));
|
||||
background-blend-mode: overlay;
|
||||
#content .active-highlight {
|
||||
border-left: 4px solid var(--color-font3);
|
||||
}
|
||||
@@ -199,7 +199,7 @@
|
||||
|
||||
{% for result in results %}
|
||||
|
||||
<tr {% if result.active %} class="green-tint" {% endif %}>
|
||||
<tr {% if result.active %} class="active-highlight" {% endif %}>
|
||||
<td><a href="/machines/{{result.data.machine.id}}">{{result.data.machine.id}}</a></td>
|
||||
<td>{{result.data.machine.user.username|capfirst}}</td>
|
||||
<td class="timestamp">{{result.data.updated|date:'U'}}</td>
|
||||
|
||||
Reference in new issue
Block a user