circus/crates/server/templates/queue.html
NotAShelf b4d3c9d501
crates/server: update templates with improved dashboard and styling
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I07f9de61588f61aae003f78c30fd6d326a6a6964
2026-02-02 01:49:35 +03:00

61 lines
1.5 KiB
HTML

{% extends "base.html" %}
{% block title %}Queue - FC CI{% endblock %}
{% block breadcrumbs %}
<nav class="breadcrumbs">
<a href="/">Home</a> <span class="sep">/</span>
<span class="current">Queue</span>
</nav>
{% endblock %}
{% block content %}
<h1>Build Queue</h1>
<h2>Running ({{ running_count }})</h2>
{% if running_builds.is_empty() %}
<div class="empty">
<div class="empty-title">No builds currently running</div>
<div class="empty-hint">Running builds will appear here when the queue runner picks them up.</div>
</div>
{% else %}
<div class="table-wrap">
<table>
<thead>
<tr><th>Job</th><th>System</th><th>Started</th></tr>
</thead>
<tbody>
{% for b in running_builds %}
<tr>
<td><a href="/build/{{ b.id }}">{{ b.job_name }}</a></td>
<td>{{ b.system }}</td>
<td>{{ b.created_at }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
<h2>Pending ({{ pending_count }})</h2>
{% if pending_builds.is_empty() %}
<div class="empty">
<div class="empty-title">No builds pending</div>
<div class="empty-hint">Pending builds appear after an evaluation discovers new derivations to build.</div>
</div>
{% else %}
<div class="table-wrap">
<table>
<thead>
<tr><th>Job</th><th>System</th><th>Created</th></tr>
</thead>
<tbody>
{% for b in pending_builds %}
<tr>
<td><a href="/build/{{ b.id }}">{{ b.job_name }}</a></td>
<td>{{ b.system }}</td>
<td>{{ b.created_at }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
{% endblock %}