mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-10 16:23:40 +00:00
update template to show active cue
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
<% }); %>
|
||||
|
||||
Reference in New Issue
Block a user