{% extends "system/wizard.html" %}
{% block onSubmit %}
doSubmit({
  form: this,
  event: e,
  url: '{{ request.path }}',
  longRunning: true,
  longRunningUrl: '{% url "system_manualupdate_running" %}',
  progressbar: {
    steps: [
      {"label": "Uploading update"},
      {"label": "Extracting update"},
      {"label": "Applying update"}
    ],
    poolUrl: '{% url "system_manualupdate_progress" %}'
  }
});
{% endblock %}
{% block form %}
<tr>
  <td colspan="2">
    <p>{% trans "Consider downloading your configuration before proceeding" %}
        <a href="javascript:void(0)" onclick="configDownloadObject('{% trans "Save Config"|escapejs %}', '{% url "system_configsave" %}')">
            {% trans "Click here" %}
        </a>
    </p>
  </td>
</tr>
{{ block.super }}
{% endblock %}
{% block oklabel %}{% trans "Apply Update" %}{% endblock %}
