2e793aa2dd
Cancel buttons are quite hard coded in their styles, and most templates are overriding the default modal-footer template. This patch removes most of the straight duplications in the modal-footer. Co-Authored-By: Rob Cresswell <robert.cresswell@outlook.com> Closes-bug: #1551455 Change-Id: I496381e3f512856ad37619108b45af3c1da800a5
24 lines
747 B
HTML
24 lines
747 B
HTML
{% extends "horizon/common/_modal_form.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block form_id %}rebuild_instance_form{% endblock %}
|
|
{% block form_action %}{% url "horizon:project:instances:rebuild" instance_id %}{% endblock %}
|
|
|
|
{% block modal_id %}rebuild_instance_modal{% endblock %}
|
|
{% block modal-header %}{% trans "Rebuild Instance" %}{% endblock %}
|
|
|
|
{% block modal-body %}
|
|
<div class="left">
|
|
<fieldset>
|
|
{% include "horizon/common/_form_fields.html" %}
|
|
</fieldset>
|
|
</div>
|
|
<div class="right">
|
|
<h3>{% trans "Description:" %}</h3>
|
|
<p>{% trans "Select the image to rebuild your instance." %}</p>
|
|
{% if can_set_server_password %}
|
|
<p>{% trans "You may optionally set a password on the rebuilt instance." %}</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|