<tr>
<th align="left">Unit Type</th>
<th align="left">Amount Expected</th>
- <th>Progress</th>
+ <th colspan="2">Progress</th>
</tr>
${sortedTrainingQueue.map(queue => {
if(queue.unit_type === 'empty') {
<tr>
<td>${queue.display}</td>
<td>${queue.amount}</td>
- <td>
- <span title="${Math.ceil(due.diff(created).as('minutes')).toLocaleString()} minutes remaining">
- ${progressBar(now, duration)}<br>
- </span>
+ <td>${progressBar(now, duration)}</td>
+ <td width="50">
+ <a href="#" hx-post="/training/${queue.id}/cancel" hx-trigger="click" class="danger-text close" title="Cancel Unit Training">×</a>
</td>
</tr>
`;