style: add flexbox layout for job action buttons in dashboard template
Build / Build and Push (push) Successful in 13s

This commit is contained in:
2026-06-05 20:24:22 +01:00
parent d7576c880b
commit a4e41f4156
+4
View File
@@ -61,12 +61,16 @@
let actions = '';
if (job.status === 'pending') {
actions = `
<div style="display: flex; gap: 0.5rem; flex-wrap: wrap;">
<button class="btn btn-sm btn-outline" onclick="bumpJob(${job.id})">Bump</button>
<button class="btn btn-sm btn-danger" onclick="cancelJob(${job.id})">Cancel</button>
</div>
`;
} else if (job.status === 'processing') {
actions = `
<div style="display: flex; gap: 0.5rem; flex-wrap: wrap;">
<button class="btn btn-sm btn-danger" onclick="cancelJob(${job.id})">Cancel</button>
</div>
`;
} else if (job.status === 'failed') {
// Retry not fully implemented in API yet, but could re-enqueue