{% 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.gcp_billing_id %} Billing Account: {{ workspace.gcp_billing_id }} {% endif %}
{% if not workspace.status.value == "created" %}
{{ workspace.status.value|capfirst }}...
Loading...
{% else %} {% workspace_destroy_modal_button workspace=workspace %} {% endif %}
{% if workspace.status.value == "created" %}
{% if workspace.workbenches %}
    {% for environment in workspace.workbenches %}
  • {% if environment.status.value == "creating" %}
    Creating...
    {% else %}
    Environment type: {{ environment.type.value|capfirst }}
    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 {% environment_modal_button environment=environment button_type="modal_pause" %} {% else %} {% environment_modal_button environment=environment button_type="modal_start" %} {% endif %} {% environment_modal_button environment=environment button_type="modal_instance" %} {% environment_modal_button environment=environment button_type="modal_destroy" %} {% endif %}
    {% endif %}
  • {% endfor %}
{% else %}
You don't have any workbenches in this workspace.
Create one using the button below.
{% endif %}
{% endif %}
{% endfor %} {% else %}
You don't have any workspaces yet.
Create one before creating a workbench.
{% endif %}