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

« back to all changes in this revision

Viewing changes to openstack_dashboard/dashboards/project/volumes/templates/volumes/_create_snapshot.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 %}{% endblock %}
6
 
{% block form_action %}{% url 'horizon:project:volumes:create_snapshot' volume_id %}{% endblock %}
7
 
 
8
 
{% block modal_id %}create_volume_snapshot_modal{% endblock %}
9
 
{% block modal-header %}{% trans "Create Volume Snapshot" %}{% endblock %}
10
 
 
11
 
{% block modal-body %}
12
 
  <div class="left">
13
 
    <fieldset>
14
 
    {% include "horizon/common/_form_fields.html" %}
15
 
    </fieldset>
16
 
  </div>
17
 
  <div class="right quota-dynamic">
18
 
    {% include "project/volumes/_limits.html" with usages=usages snapshot_quota=True %}
19
 
  </div>
20
 
{% endblock %}
21
 
 
22
 
{% block modal-footer %}
23
 
  {% if attached %}
24
 
    <input class="btn btn-primary btn-warning pull-right" type="submit" value="{% trans "Create Volume Snapshot (Force)" %}" />
25
 
  {% else %}
26
 
    <input class="btn btn-primary pull-right" type="submit" value="{% trans "Create Volume Snapshot" %}" />
27
 
  {% endif %}
28
 
  <a href="{% url 'horizon:project:volumes:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>
29
 
{% endblock %}