{# App cards of a board (`apps`: [(app, [children])]). Search, favorites and live status come from _ux.html. #} {% set kinds = {"sl": "Streamlit", "py": "Python", "url": "Link", "curl": "External", "cmd": "Built-in", "internal": "Hub page"} %}
{% for app, children in apps %} {% if app.display != "hidden" %} {% set off = app.display == "disabled" %} {% set new_tab = app.kind != "internal" %}

{% if off %}{{ app.name }}{% else %}{{ app.name }}{% end %}

{{ app.runtime.capitalize() if app.runtime != "process" else kinds.get(app.kind, app.kind) }} {% if off %}Disabled{% end %}
{% if app.description %}

{{ app.description }}

{% end %} {% set shown = [c for c in children if c.display != "hidden"] %} {% if shown %} {% end %}
{% if not off %}Open {% end %} {% if not off and app.kind != "internal" %} Report an issue{% end %}
{% end %} {% end %}