OXYGENHUB
# 33d98147511b oxygenhub / templates / admin_diffusion.html
1.5 KiB · HTML · last changed Diffusion: a two-half pill, upstream and downstream 23 days ago source blame history raw
757195ad Andy McCall ↶ 1
{% extends "base.html" %}
2
{% import "diffusion_rows.html" as d %}
3
{% block title %}Diffusion · Administration{% endblock %}
4
{% block mainclass %} class="wide"{% endblock %}
5
{% block content %}
6
<div class="head"><h1>Diffusion <small>{{ upstreams.len()|plural("upstream", "upstreams") }} · <a href="/admin">Administration</a></small></h1></div>
73ef9f76 Andy McCall ↶ 7
<p class="small mute df-key">Each pill has two halves. Left, the upstream: <span class="df-pill"><span class="df-half df-green">checked</span></span> its own run passed, <span class="df-pill"><span class="df-half df-amber">untested</span></span> it has no checks, <span class="df-pill"><span class="df-half df-red">failing</span></span> its run failed. Right, the repository that pins it: <span class="df-pill"><span class="df-half df-green">passes</span></span> its run on the bump passed, <span class="df-pill"><span class="df-half df-red">fails</span></span> it failed, <span class="df-pill"><span class="df-half df-grey">testing</span></span> still running, <span class="df-pill"><span class="df-half df-green">up to date</span></span> nothing to bump.</p>
757195ad Andy McCall ↶ 8
{% if upstreams.is_empty() %}<p class="empty">No repository on this hub is pinned by another yet.</p>{% endif %}
9
{% for (up, list, unverified) in upstreams %}
73ef9f76 Andy McCall ↶ 10
<h2><a href="/{{ up.owner }}/{{ up.name }}/diffusion">{{ up.owner }}/{{ up.name }}</a> <small>{{ list.len()|plural("consumer", "consumers") }}{% if *unverified %} · <span class="df-pill"><span class="df-half df-amber">untested</span></span>{% endif %}</small></h2>
757195ad Andy McCall ↶ 11
{% call d::rows(list) %}
12
{% endfor %}
13
{% endblock %}