{% extends 'layouts/base.html' %} {% block title %} Dashboard {% endblock title %} {% block stylesheets %}{% endblock stylesheets %} {% block content %} {% if BACKEND == "compose" %} {% else %} {% endif %} {{ "MAIA Users and Projects"|title }} {% csrf_token %} Namespaces Name Register Deploy Users Memory Limit CPU Limit Requested GPU Allocation Date Expiration Conda Assigned Cluster Workspace Type {% for namespace in maia_groups_dict %} {{ namespace }} {% if maia_groups_dict|get_item:namespace|get_item:"pending" == True %} {% endif %} {% if project_argo_status|get_item:namespace == -1 %} {% elif project_argo_status|get_item:namespace == 0 %} {%else%} {% endif %} {% if project_argo_status|get_item:namespace == 1 %} {% endif %} {% for user in maia_groups_dict|get_item:namespace|get_item:"users" %} {{ user }} {% endfor %} {% with form_key="memory_limit_"|add:namespace %} {{ form|index:form_key }} {% endwith %} {% with form_key="cpu_limit_"|add:namespace %} {{ form|index:form_key }} {% endwith %} {% with form_key="gpu_"|add:namespace %} {{ form|index:form_key }} {% endwith %} {% with form_key="date_"|add:namespace %} {{ form|index:form_key }} {% endwith %} {% for conda_env in maia_groups_dict|get_item:namespace|get_item:"conda" %} {% if conda_env != "N/A" %} {{ conda_env }} {% else %} N/A {% endif %} {% endfor %} {% with form_key="cluster_"|add:namespace %} {{ form|index:form_key }} {% endwith %} {% with form_key="minimal_environment_"|add:namespace %} {{ form|index:form_key }} {% endwith %} {% endfor %} Users Registration Username Email Admin Active Date Joined Requested Namespace {% for user in user_table %} {% if user.is_registered_in_keycloak == 1 %} {% else %} {% endif %} {% if user.is_registered_in_groups == 1 %} {% else %} {% endif %} {% if user.remove_from_group == 0 %} {% else %} {% endif %} {{ user.username }} {{ user.email }} {% if user.is_superuser == 1 %} {% else %} {% endif %} {% if user.is_active == 1 %} {% else %} {% endif %} {{ user.date_joined }} {% with form_key="namespace_"|add:user.username %} {{ form|index:form_key }} {% endwith %} {% endfor %} Update Table {% endblock content %} {% block javascripts %} {% endblock javascripts %}