{% extends "base.html" %} {% block title %}Kerbside sources{% endblock %} {% block content %} {# Fields are named one by one, never iterated: the view passes db.get_sources() dicts unfiltered, and they carry password, url, username, project_name, user_domain_id and project_domain_id alongside what is rendered here. #}
| Name | Type | Last Seen | Seen By | Errored | CA Certificate |
|---|---|---|---|---|---|
| {{ source.name }} | {{ source.type }} | {% if source.last_seen %} {{ source.last_seen.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} never {% endif %} | {{ source.seen_by }} | {% if source.errored %} errored {% else %} ok {% endif %} | {# The disclosure id is derived from the source name, a unique db key, so a later polling phase can morph the table and leave an operator's open disclosure open. #}
{% if source.ca_cert %}
Certificate{{ source.ca_cert }}
|