{% extends "page.html" %} {% block stylesheet %} {{ super() }} {% endblock %} {% block main %}
{% for image in images %} {% endfor %}
Name Repository URL Reference Mem. Limit (GB) CPU Limit Status Add New
{{ image.display_name }} {{ image.repo }} {{ image.ref }} {% if image.mem_limit | length %} {{ image.mem_limit | replace("G", "") }} {% else %} {{ default_mem_limit | replace("G", "") }} {%- endif %} {% if image.cpu_limit | length %} {{ image.cpu_limit | replace("G", "") }} {% else %} {{ default_cpu_limit | replace("G", "") }} {%- endif %} {% if image.status == 'building' %} Logs {%- elif image.status == 'built' %} {%- endif %} {% if image.status == 'built' %} Remove {% else %}

The environment is under construction. This can take several minutes to complete.
Click here to refresh.

{%- endif %}
{% call modal('Adding Environment', btn_label='OK', btn_class='btn-primary adding-button') %}

{% endcall %} {% call modal('Removing Environment', btn_label='OK', btn_class='btn-primary removing-button') %}

{% endcall %} {% call modal('Remove Environment', btn_label='Remove', btn_class='btn-danger remove-button') %} Are you sure you want to remove the following environment?
ENV
{% endcall %} {% call modal('Show Logs', btn_label='Close', btn_class='btn-primary') %}
{% endcall %} {% macro environment_modal(name, multi=False) %} {% call modal(name, btn_class='btn-primary save-button') %}

Example: course-python-101-B37

If empty, a name will be generated from the repo URL

> Advanced
> Credentials (optional)
{% endcall %} {% endmacro %} {{ environment_modal('Create Environment') }} {% endblock %} {% block script %} {{ super() }} {% endblock %}