{% load action_buttons %} {% if recent_workflow %} {% if recent_workflow_failed %} {% elif recent_workflow_succeeded %} {% endif %} {% endif %}
+ Workspace
{% if workspaces_with_workbenches %} {% for workspace in workspaces_with_workbenches %}
{{ workspace.gcp_project_id }}
{% if workspace.is_owner %} {% if workspace.gcp_billing_id %} Billing Account: ({{ billing_account_id_to_name_map|get_dict_value:workspace.gcp_billing_id }}, {{ workspace.gcp_billing_id }}) {% endif %} {% if workspace.status.value == "created" %} Check workspace quotas {% if workspace.gcp_billing_id %} Change billing account {% endif %} {% endif %} {% else %} (shared) {% endif %}
{% if not workspace.status.value == "created" %}
{{ workspace.status.value|capfirst }}...
Loading...
{% elif workspace.is_owner %}
{% workspace_destroy_modal_button workspace=workspace %}
{% if should_display_google_link %} Go to Google console {% endif %}
{% endif %}
{% if workspace.status.value == "created" %}
{% if workspace.workbenches %}
    {% for environment in workspace.workbenches %}
  • {% if environment.status.value == "creating" %}
    Creating...
    {% else %}
    Environment type: {% if environment.type.value == "collaborative" %} Collaborative Jupyter {% else %} {{ environment.type.value|capfirst }} {% endif %}
    CPU: {{ environment.cpu }}
    Memory: {{ environment.memory }}
    Region: {{ environment.region.value }}
    {{ environment.status.value|capfirst }}
    {% if environment.is_in_progress %}
    Loading...
    {% elif environment.is_running or environment.is_paused %} {% if environment.is_running %} Open {% if workspace.is_owner %} {% environment_modal_button environment=environment button_type="modal_pause" %} {% endif %} {% elif workspace.is_owner %} {% environment_modal_button environment=environment button_type="modal_start" %} {% endif %} {% if environment.type.value == "collaborative" and user.username == environment.workbench_owner_username %} Manage {% endif %} {% if workspace.is_owner %} {% environment_modal_button environment=environment button_type="modal_instance" %} {% environment_modal_button environment=environment button_type="modal_destroy" %} {% elif environment.type.value == "collaborative" and environment.service_account_name %} {% environment_modal_button environment=environment button_type="modal_leave" %} {% endif %} {% endif %}
    {% endif %}
  • {% endfor %}
{% else %}
You don't have any workbenches in this workspace.
Create one using the button below.
{% endif %} {% if workspace.is_owner %} {% endif %}
{% endif %}
{% endfor %} {% else %}
You don't have any workspaces yet.
Create one before creating a workbench.
{% endif %}