{% extends "templates/home.html" %} {% block main %}
{% if allow_named_servers %} {% set named_spawners = user.all_spawners(include_default=False)|list %} {% set ns = namespace(non_dashboard_count=0) %} {% macro spawner_row(spawner) %} {# name #} {{ spawner.name }} {# url #} {{ user.server_url(spawner.name) }} {% if spawner.orm_spawner.dashboard_final_of %} {# dashboard_name #} {{ spawner.orm_spawner.dashboard_final_of.name }} {% endif %} {# activity #} {% if spawner.last_activity %} {{ spawner.last_activity.isoformat() + 'Z' }} {% else %} Never {% endif %} {# actions #} stop start delete {% endmacro %} {% if not cds_hide_user_named_servers %}

Named Servers

In addition to your default server, you may have additional {% if named_server_limit_per_user > 0 %}{{ named_server_limit_per_user }} {% endif %}server(s) with names. This allows you to have more than one server running at the same time.

{% for spawner in named_spawners %} {% if not spawner.orm_spawner.dashboard_final_of %} {% set ns.non_dashboard_count = ns.non_dashboard_count + 1 %} {{ spawner_row(spawner) }} {% endif %} {% endfor %}
Server name URL Last activity Actions
Add New Server
{% else %} {% for spawner in named_spawners %} {% if not spawner.orm_spawner.dashboard_final_of %} {% set ns.non_dashboard_count = ns.non_dashboard_count + 1 %} {% endif %} {% endfor %} {% endif %} {% if not cds_hide_user_dashboard_servers and ns.non_dashboard_count != named_spawners|length %}

Dashboard Servers

These are servers running dashboards that you have created.

{% for spawner in named_spawners %} {% if spawner.orm_spawner.dashboard_final_of %} {{ spawner_row(spawner) }} {% endif %} {% endfor %}
Server name URL Dashboard Last activity Actions
{% endif %} {% endif %}
{% endblock main %}