murano-dashboard/muranodashboard/templates/packages/_import_bundle.html
Kirill Zaitsev 67223ea1f0 Rename 'murano' dashboard to 'app-catalog'
Before this commit murano used 'murano' as the name of it's dashboard.
This is too specific and contradicts with general practice of naming
dashboards after the names of the service.
This also prevents us from re-using the same dashboard in
murano-dashboard and app-catalog-ui

Targets bp: catalog-dashboard-reorg

Change-Id: I3df3865f6bf82626325e66120c408552260c7e2b
2016-09-06 12:46:46 +03:00

53 lines
2.2 KiB
HTML

{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load static %}
{% block form_id %}import_bundle{% endblock %}
{% block form_action %}{% url 'horizon:app-catalog:packages:import_bundle' %}{% endblock %}
{% block modal_id %}upload_bundle_modal{% endblock %}
{% block modal-header %}{% trans 'Import Bundle' %}{% endblock %}
{% block modal-body %}
<div class="left" >
{{ wizard.management_form }}
{% if wizard.form.forms %}
{{ wizard.form.management_form }}
{% for form in wizard.form.forms %}
{{ form }}
{% endfor %}
{% else %}
<fieldset>
{% with form=wizard.form %}
{% include "horizon/common/_form_fields.html" %}
{% endwith %}
</fieldset>
{% endif %}
</div>
<div class="right">
<div class='description-by_name'>
<h3>{% trans "Description" %}:</h3>
<p><strong>{% trans "Bundle Name" %}: </strong>{% trans "Bundle's full name."%}</p>
<p>{% blocktrans trimmed %}The bundle is going to be installed from <a href="{{murano_repo_url}}" target="_blank">{{murano_repo_url}}</a> repository.{% endblocktrans %}</p>
</div>
<div class='description-by_url'>
<h3>{% trans "Description" %}:</h3>
<p><strong>{% trans "Bundle URL" %}: </strong>{% trans "HTTP/HTTPS URL of the bundle file."%}</p>
</div>
<div class='description-common'>
<p><strong><i>{% trans "Note" %}: </i></strong>{% trans "You'll have to configure each package installed from this bundle separately." %}
<br>{% trans "If packages depend upon other packages and/or require specific glance images, those are going to be installed with them from murano repository." %}
</p>
</div>
</div>
{% endblock %}
{% block modal-footer %}
<a href='{% url 'horizon:app-catalog:packages:index' %}' class='btn btn-default cancel'>{% trans 'Cancel' %}</a>
{% if wizard.steps.next %}
<input type='submit' class='btn btn-primary' value='{% trans 'Next' %}'/>
{% else %}
<input type='submit' class='btn btn-primary' value='{% trans 'Create' %}'/>
{% endif %}
{% endblock %}