horizon/openstack_dashboard/contrib/trove/content/databases/templates/databases/_resize_volume.html

28 lines
1.0 KiB
HTML

{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load url from future %}
{% block form_id %}resize_volume_form{% endblock %}
{% block form_action %}{% url "horizon:project:databases:resize_volume" instance_id %}{% endblock %}
{% block modal_id %}resize_volume_modal{% endblock %}
{% block modal-header %}{% trans "Resize Database Volume" %}{% endblock %}
{% block modal-body %}
<div class="left">
<fieldset>
{% include "horizon/common/_form_fields.html" %}
</fieldset>
</div>
<div class="right">
<p>{% blocktrans %}Specify the new volume size for the database instance.{% endblocktrans %}</p>
<p>{% blocktrans %}<strong>Please note:</strong> The new value must be greater than the existing volume size.{% endblocktrans %}</p>
</div>
{% endblock %}
{% block modal-footer %}
<input class="btn btn-primary pull-right" type="submit" value="{% trans "Resize Database Volume" %}" />
<a href="{% url "horizon:project:databases:index" %}" class="btn btn-default secondary cancel close">{% trans "Cancel" %}</a>
{% endblock %}