{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% load static %} {% block form_id %}upload_package{% endblock %} {% block form_action %}{% url 'horizon:app-catalog:packages:upload' %}{% endblock %} {% block form_attrs %}enctype="multipart/form-data"{% endblock %} {% block modal_id %}upload_package_modal{% endblock %} {% block modal-header %}{% trans 'Import Package' %}{% endblock %} {% block modal-body %}
{{ wizard.management_form }} {% if wizard.form.forms %} {{ wizard.form.management_form }} {% for form in wizard.form.forms %} {{ form }} {% endfor %} {% else %}
{% with form=wizard.form %} {% include "horizon/common/_form_fields.html" %} {% endwith %}
{% endif %}
{% if wizard.steps.prev == 'upload' %} {% include 'packages/_package_params.html' %} {% elif wizard.steps.prev == 'modify' %}

{% trans "Description" %}:

{% trans "Categories" %} {% trans "Select one or more categories for a package." %}

{% trans "Specifying a category helps to filter applications in the catalog" %}

{% else %}

{% trans "Description" %}:

{% trans "Choose a Zip archive to upload into the catalog." %}

{% trans "Packages should contain:" %}
* {% trans "Manifest file" context "Package requirements" %}
* {% trans "UI definition folder" context "Package requirements" %}
* {% trans "Classes definition folder" context "Package requirements" %}
* {% trans "Execution plans folder" context "Package requirements" %}

{% trans "Description" %}:

{% trans "Package Name" %}: {% trans "Fully qualified package name." %}

{% trans "Package Version" %}: {% trans "Version of the package (optional)." %}

{% blocktrans trimmed %}The package is going to be imported from {{murano_repo_url}} repository.{% endblocktrans %}

{% trans "Description" %}:

{% trans "Package URL" %}: {% trans "HTTP/HTTPS URL of the package file." %}

{% trans "Note" %}: {% trans "If the package depends upon other packages and/or requires specific glance images, those are going to be installed with it from murano repository." %}

{% endif %}
{% endblock %} {% block modal-footer %} {% trans 'Cancel' %} {% if wizard.steps.next %} {% else %} {% endif %} {% endblock %}