{% extends 'layouts/base.html' %} {% block title %} Dashboard {% endblock title %} {% block stylesheets %}{% endblock stylesheets %} {% block content %}
{% if BACKEND == "compose" %}

{% if remote_desktop_dict %}

Remote Desktops

{% for remote_desktop in remote_desktop_dict %} {% endfor %}
User Link SSH
{{ remote_desktop }}
maia-user@{{ssh_hostname}} -p {{ssh_ports|get_item:remote_desktop}}
{% endif %}
{% if monai_models %}

MONAI Label Models

{% for model in monai_models %} {% endfor %}
Name MONAI Label Link
{% endif %}
{% if orthanc_list %}

Orthanc DICOM Web

{% for orthanc in orthanc_list %} {% endfor %}
Orthanc Name DICOM Port DicomWeb
{{ orthanc.name }}
{{ssh_hostname}}:{{ orthanc.dicom_port }}
{% endif %}
{% if nvflare_dashboards %}

NVFlare Dashboard

{% for dashboard in nvflare_dashboards %} {% endfor %}
Dashboard Name URL
{{ dashboard.name }}
{% endif %}
Services
Name Ports Ingress {% for k in service %}
{{ k.metadata.name }}
{% for port in k.spec.ports %}
  • {{ port.name }} : {{ k.metadata.name }}:{{ port.port }}
  • {% endfor %}
    {% for port in k.spec.ports %} {% with name=port.name %} {% if name != "ssh" %} {% with port_str=port.port|to_str %} {% with svc_name=k.metadata.name|add:":"|add:port_str %} {% if ingress|get_item:svc_name is None %}
    {% with svc_name=k.metadata.name|add:":"|add:name %} {% with ingress_list=ingress|get_item:svc_name %} {% for ing in ingress_list %}
  • {{ ing }}
  • {% endfor %} {% endwith %} {% endwith %}
    {% else %}
    {% with ingress_list=ingress|get_item:svc_name %} {% for ing in ingress_list %}
  • {{ ing }}
  • {% endfor %} {% endwith %}
    {% endif %} {% endwith %} {% endwith %} {% else %} {% if k.spec.type == "LoadBalancer" %}
  • ssh maia-user@maia.cloud.cbh.kth.se -p {{ port.port }}
  • {% elif k.spec.type == "NodePort" %}
  • ssh maia-user@maia.cloud.cbh.kth.se -p {{ port.nodePort }}
  • {% endif %} {% endif %} {% endwith %} {% endfor %} {% endfor %}
    {% endblock content %} {% block javascripts %} {% endblock javascripts %}