{% extends "base.html" %} {% load i18n ui %}{% comment %} Open a workspace file (#240), from Workspaces' "Open a workspace file" and Get started's "Or open a saved workspace file" (the WorkspaceList and Start boards, which draw the two links but not this page). The file field, the human check where the site has one, and Open: a new workspace of this browser is made from the file, and its stations are checked and calculated again. A refused file says why under the field. Context from views_workspace_file.open_file: form. {% endcomment %} {% block title %}{% translate "Open a workspace file" %}{% endblock %} {% block content %}
{% csrf_token %}

{% translate "Open a workspace file" %}

{% if workspace_expiry %}{% blocktranslate trimmed with file="climpact_workspace.zip" %}A workspace file ({{ file }}) holds a workspace's input files and settings. Opening it makes a new workspace in this browser with the same stations and settings; the checks and indices are calculated again.{% endblocktranslate %}{% else %}{% blocktranslate trimmed with file="climpact_workspace.zip" %}A workspace file ({{ file }}) holds a workspace's input files and settings. Opening it makes a new workspace on this computer with the same stations and settings; the checks and indices are calculated again.{% endblocktranslate %}{% endif %}

{% include "components/form_errors.html" with form=form %} {% include "components/dropzone.html" with field=form.file hint=form.file.help_text %} {% turnstile %}
{% translate "Open" as open_label %}{% include "components/button.html" with label=open_label type="submit" %} {% url 'stations:workspaces' as back %}{% translate "Cancel" as cancel_label %}{% include "components/button.html" with label=cancel_label href=back variant="ghost" %}
{% endblock %}