{% extends "base.html" %} {% block title %}Projects — Ontoref{% endblock title %} {% block head %} {% endblock head %} {% block content %}

Projects

{{ projects | length }} project{% if projects | length != 1 %}s{% endif %} registered

Manage
{% if projects %}
{% for p in projects %}
{{ p.slug }} {% if p.auth %} protected {% else %} open {% endif %} {% if p.opmode == "daemon" %} daemon {% elif p.opmode == "push" %} push {% endif %} {% if p.default_mode %} {{ p.default_mode }} {% endif %} {% if p.repo_kind %} {{ p.repo_kind }} {% endif %}
{% if p.card %} {% endif %}
{% if p.card and p.card.tagline %}

{{ p.card.tagline }}

{% elif p.description %}

{{ p.description }}

{% endif %}

{{ p.root }}

{% if p.repos %}
{% for r in p.repos %} {{ r.name }} {% endfor %}
{% endif %} {% if p.showcase or p.generated %} {% endif %}
{% if p.session_count > 0 %} {{ p.session_count }} session{% if p.session_count != 1 %}s{% endif %} {% else %} no sessions {% endif %} {% if p.notif_count > 0 %} {{ p.notif_count }} notif {% endif %} {% if p.backlog_open > 0 %} {{ p.backlog_open }} open {% endif %} {% if p.layers %} {{ p.layers | length }} layers {% endif %} {% if p.op_modes %} {{ p.op_modes | length }} modes {% endif %}
{% if p.layers or p.op_modes %}
Features & Layers
{% if p.layers %}

Layers

{% for l in p.layers %}
{{ l.id }} {{ l.description }}
{% endfor %}
{% endif %} {% if p.op_modes %}

Operational Modes

{% for m in p.op_modes %}
{{ m.id }} {{ m.description }}
{% endfor %}
{% endif %}
{% endif %} {% if p.backlog_items %}
Backlog {{ p.backlog_open }} open
{% for it in p.backlog_items %}
{{ it.status }} {{ it.priority }} {{ it.title }}
{% endfor %}
Manage backlog →
{% endif %} {% if p.sessions %}
Sessions {{ p.session_count }}
{% for s in p.sessions %}
{{ s.actor_type }} {{ s.hostname }} {{ s.last_seen_ago }}s ago
{% endfor %}
{% endif %} {% if p.notifications %}
Notifications {{ p.notif_count }}
{% for n in p.notifications %}
{{ n.event }} {% if n.files %} {{ n.files | first }} {% set fc = n.files | length %} {% if fc > 1 %} +{{ fc - 1 }}{% endif %} {% endif %} {{ n.age_secs }}s
{% endfor %}
{% endif %}
{% endfor %}
{% else %}

No projects registered.

Add a project
{% endif %} {% endblock content %}