summaryrefslogtreecommitdiff
path: root/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_plan.html
blob: 52b3c275a7f8702c01e63506cab6899101a1f431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{% extends "infrastructure/overview/deployment_base.html" %}

{% load i18n %}
{% load url from future%}
{% load horizon %}

{% block deployment-icon %}
{% if plan_invalid %}fa-exclamation-circle{% else %}fa-check-circle{% endif %}
{% endblock %}

{% block deployment-title %}
  {% trans "Deployment Checklist" %}
{% endblock %}

{% block deployment-info %}
<a data-toggle="collapse" href="#messages"  aria-expanded="false" aria-controls="messages" id="collapse-steps">{{ steps_message }}</a>
<ul class="fa-ul collapse" id="messages">
    {% for message in plan_messages %}
    <li style="margin-left:{{ message.indent|default:0 }}em">
        <i class="fa-li fa {{ message.classes }}" ></i>
        {{ message.text }}
    </li>
    {% endfor %}
</ul>
{% endblock %}

{% block deployment-buttons %}
<a href="{% url 'horizon:infrastructure:overview:deploy_confirmation' %}"
class="btn btn-primary ajax-modal btn-default {% if plan_invalid %}disabled{% endif %}">
<i class="fa fa-lg fa-rocket"></i> {% trans "Verify and Deploy" %}
</a>
{% endblock %}

{% block templates %}
<script type="text/html" id="title-template">{% spaceless %}{% jstemplate %}
<h4>
[[#validating]]{% trans "Validating the Plan..." %}[[/validating]]
[[^validating]]{% trans "Deployment Checklist" %}[[/validating]]
</h4>
{% endjstemplate %}{% endspaceless %}</script>
<script type="text/html" id="message-template">{% spaceless %}{% jstemplate %}
<ul class="fa-ul collapse" id="messages">
[[#messages]]
  <li style="margin-left: [[indent]]em">
    <i class="fa-li fa [[classes]]"></i>
    [[text]]
  </li>
[[/messages]]
</ul>
{% endjstemplate %}{% endspaceless %}</script>
{% endblock %}