<% let height = 0; let width = 0; let left = 0; let top = 0; if(cue.parent){ width = 100/allCues[cue.parent].cartColumns; height = 600/allCues[cue.parent].cartRows; top = (cue.cartPosition[0]-1)*height; left = (cue.cartPosition[1]-1)*width; } let style = `style="left:${left}%; top:${top}px; width:${width }%; height:${height}px;"`; %>
>
<% if(cue.broken){ %> <% }else if(cue.running){ %> <% }else{ %> <% } %>

<%= cue.number %> • <%= cue.displayName %>