mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-03 04:47:47 +00:00
58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
<header>
|
|
<h1><%= data.source %> sACN (E1.31)</h1>
|
|
</header>
|
|
|
|
|
|
<div id="universes">
|
|
<% data.orderedUniverses.forEach(universeIndex => {
|
|
let universe = data.universes[universeIndex];
|
|
%>
|
|
|
|
<table id="universe-<%= universeIndex %>">
|
|
<tr>
|
|
<td class="data" colspan="2">
|
|
Universe
|
|
<br><em><%= universeIndex %></em>
|
|
</td>
|
|
<td class="data" colspan="2">
|
|
Priority
|
|
<br><em><%= universe.priority %></em>
|
|
</td>
|
|
<td class="data" colspan="7">
|
|
CID
|
|
<br><em><%= universe.cid %></em>
|
|
</td>
|
|
<td class="data" colspan="4">
|
|
IP
|
|
<br><em><%= data.ip %></em>
|
|
</td>
|
|
<td class="data" colspan="2">
|
|
Flavor
|
|
<br><em id="universe-<%= universeIndex %>-code">0</em>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th></th>
|
|
<% for(col=1; col<=16; col++){ %>
|
|
<th><%= col %></th>
|
|
<% } %>
|
|
</tr>
|
|
|
|
<% let slot = 0; %>
|
|
<% for(row=0; row<32; row++){ %>
|
|
<tr>
|
|
<th><%= row*16+1 %></th>
|
|
<% for(col=0; col<16; col++){ %>
|
|
<% slot++%>
|
|
<td id="<%= universeIndex %>-<%= row*16+col %>" title="<%= universeIndex %>/<%= slot %>"><%= universe.slots[slot-1] %></td>
|
|
<% } %>
|
|
</tr>
|
|
<% } %>
|
|
|
|
|
|
</table>
|
|
|
|
<% }); %>
|
|
|
|
</div> |