Merge "Style the Deployment Confirmation dialog"

This commit is contained in:
Jenkins 2014-10-22 11:03:50 +00:00 committed by Gerrit Code Review
commit 610b303ff5
2 changed files with 20 additions and 8 deletions

View File

@ -104,7 +104,7 @@ $link-color: #428bca;
}
#detail__overview {
#detail__overview, #collapseParameters {
ul {
list-style: disc;
margin: 0 0 9px 25px;

View File

@ -10,12 +10,24 @@
{% block modal-body %}
<div>
<p>{% trans "You are about deploy your overcloud" %}
</p>
<p>{% trans "You are about deploy your overcloud." %}</p>
{% if autogenerated_parameters %}
<strong>These parameters will be randomly generated before the deployment:</strong>
<p>{{ autogenerated_parameters|join:", " }}</p>
<i class="fa fa-info-circle"></i> &nbsp;
{{ autogenerated_parameters|length }} parameters will be randomly generated.
<a data-toggle="collapse" href="#collapseParameters">
<span class="caret"></span>
</a>
<div id="collapseParameters" class="panel-collapse collapse">
<ul><li>
{{ autogenerated_parameters|join:"</li><li>" }}
</li></ul>
</div>
{% endif %}
<p>{% trans "This operation cannot be undone. Are you sure you want to do that?" %}</p>
<br /><br />
<div class="alert alert-warning">
<i class="fa fa-exclamation-triangle fa-3x pull-left text-warning"></i>
<p>{% trans "This operation cannot be undone." %}</p>
<p>{% trans "Are you sure you want to deploy changes?" %}</p>
</div>
</div>
{% endblock %}