update template to show active cue

This commit is contained in:
2023-10-21 14:45:41 -05:00
parent 5600c64f69
commit c5a60622d0
2 changed files with 9 additions and 4 deletions
+5 -2
View File
@@ -7,7 +7,6 @@ section {
overflow: hidden;
}
table {
width: 100%;
border: #414142 1px solid;
background-color: #272727;
}
@@ -22,7 +21,11 @@ th {
padding: 2px 10px;
}
td {
text-align: center;
text-align: left;
padding: 2px 7px;
font-family: 'Courier New', Courier, monospace;
}
.active_indicator {
color: green;
}
+4 -2
View File
@@ -11,14 +11,16 @@
<table>
<tr>
<th>Name</th>
<th></th>
<th>Name</th>
</tr>
<!-- Tracker Loop -->
<% Object.entries(cueListData.cues).forEach(([cueName,cueData]) => { %>
<tr>
<td><%= cueName %></td>
<td class="active_indicator"><%= cueData.active ? '>': '' %></td>
<td><%= cueName %> </td>
</tr>
<% }); %>