716 B · text History e832e77
{% extends "base.html" %}
{% block title %}devendra · published{% endblock %}
{% block content %}
  <p class="muted"><a href="/">← hosts</a></p>
  <h1>Published</h1>
  {% if outcomes %}
  <table>
    <thead><tr><th>Host</th><th>Generation</th><th>Result</th></tr></thead>
    <tbody>
    {% for o in outcomes %}
      <tr>
        <td><a href="/hosts/{{ o.host_id }}">{{ o.host_id }}</a></td>
        <td>{{ o.generation }}</td>
        <td>{% if o.changed %}<span class="pill changed">updated</span>{% else %}<span class="pill ok">unchanged</span>{% endif %}</td>
      </tr>
    {% endfor %}
    </tbody>
  </table>
  {% else %}
  <div class="card muted">No hosts to publish.</div>
  {% endif %}
{% endblock %}