summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/project/images/templates/images/images/_create.html
blob: e3c471a93268db1640e6758a0e988d3e60d770ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}

{% block ng_controller %}ImageFormController as ctrl{% endblock %}
{% block form_attrs %}enctype="multipart/form-data"{% endblock %}


{% block modal-body-right %}
  <h3>{% trans "Description:" %}</h3>
  <p>
     {% if image_upload_enabled %}
          {% trans "Images can be provided via an HTTP/HTTPS URL or be uploaded from your local file system." %}
     {% else %}
          {% trans "Currently only images available via an HTTP/HTTPS URL are supported. The image location must be accessible to the Image Service." %}
     {% endif %}
  </p>
  <p>
     <strong>{% trans "Please note: " %}</strong>
     {% if image_upload_enabled %}
         {% trans "If you select an image via an HTTP/HTTPS URL, the Image Location field MUST be a valid and direct URL to the image binary; it must also be accessible to the Image Service. URLs that redirect or serve error pages will result in unusable images." %}
     {% else %}
         {% trans "The Image Location field MUST be a valid and direct URL to the image binary. URLs that redirect or serve error pages will result in unusable images." %}
     {% endif %}
  </p>
{% endblock %}