Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I07f9de61588f61aae003f78c30fd6d326a6a6964
35 lines
906 B
HTML
35 lines
906 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Channels - FC CI{% endblock %}
|
|
{% block content %}
|
|
<h1>Channels</h1>
|
|
{% if channels.is_empty() %}
|
|
<div class="empty">
|
|
<div class="empty-title">No channels configured</div>
|
|
<div class="empty-hint">Channels track successful evaluations for stable release tracking.</div>
|
|
</div>
|
|
{% else %}
|
|
<div class="table-wrap">
|
|
<table>
|
|
<thead>
|
|
<tr><th>Name</th><th>Current Evaluation</th><th>Updated</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for c in channels %}
|
|
<tr>
|
|
<td>{{ c.name }}</td>
|
|
<td>
|
|
{% match c.current_evaluation_id %}
|
|
{% when Some with (eval_id) %}
|
|
<a href="/evaluation/{{ eval_id }}">{{ eval_id }}</a>
|
|
{% when None %}
|
|
-
|
|
{% endmatch %}
|
|
</td>
|
|
<td>{{ c.updated_at.format("%Y-%m-%d %H:%M") }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|