~ubuntu-branches/ubuntu/trusty/horizon/trusty-updates

« back to all changes in this revision

Viewing changes to openstack_dashboard/dashboards/project/volumes/templates/volumes/_attach.html

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-03-06 16:53:28 UTC
  • mfrom: (1.1.37)
  • Revision ID: package-import@ubuntu.com-20140306165328-w2vgmtfriqlhp27m
Tags: 1:2014.1~b3-0ubuntu1
* New upstream milestone release.
* d/static/*: Refreshed assets for new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "horizon/common/_modal_form.html" %}
2
 
{% load i18n %}
3
 
{% load url from future %}
4
 
 
5
 
{% block form_id %}attach_volume_form{% endblock %}
6
 
{% block form_action %}{% url 'horizon:project:volumes:attach' volume.id %}{% endblock %}
7
 
{% block form_class %}{{ block.super }} horizontal {% if show_attach %}split_half{% else %} no_split{% endif %}{% endblock %}
8
 
 
9
 
{% block modal_id %}attach_volume_modal{% endblock %}
10
 
{% block modal-header %}{% trans "Manage Volume Attachments" %}{% endblock %}
11
 
 
12
 
{% block modal-body %}
13
 
    {% if show_attach %}
14
 
    <h3>{% trans "Attach To Instance" %}</h3>
15
 
    <fieldset>
16
 
    {% include "horizon/common/_form_fields.html" %}
17
 
    </fieldset>
18
 
    {% endif %}
19
 
{% endblock %}
20
 
 
21
 
{% block modal-footer %}
22
 
    {% if show_attach %}
23
 
        <input class="btn btn-primary pull-right" type="submit" value="{% trans "Attach Volume" %}" />
24
 
    {% endif %}
25
 
    <a href="{% url 'horizon:project:volumes:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>
26
 
{% endblock %}