summaryrefslogtreecommitdiff
path: root/tuskar_ui/infrastructure/templates/infrastructure/overview/index.html
blob: fa4273cc6ab2c223b9d7dc54562bfa954ab65be3 (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
{% extends 'infrastructure/base.html' %}
{% load i18n %}
{% load url from future %}

{% block title %}{% trans 'My OpenStack Deployment' %}{% endblock %}

{% block page_header %}
  {% include 'horizon/common/_domain_page_header.html' with title=_('My OpenStack Deployment') %}
{% endblock page_header %}

{% block main %}
<div class="row">
  <div class="col-xs-4">
    {% if stack %}
      {% if stack.is_deleting or stack.is_deploying or stack.is_updating %}
        {% include "infrastructure/overview/deployment_progress.html" %}
      {% elif stack.is_delete_failed or stack.is_failed %}
        {% include "infrastructure/overview/deployment_failed.html" %}
      {% elif stack.is_deployed and not stack.is_initialized %}
        {% include "infrastructure/overview/deployment_initialize.html" %}
      {% else %}
        {% include "infrastructure/overview/deployment_live.html" %}
      {% endif %}
    {% else %}
      {% include "infrastructure/overview/deployment_plan.html" %}
    {% endif %}
  </div>
  <div class="col-xs-8">
    {% if stack %}
      {% include "infrastructure/overview/role_nodes_status.html" %}
    {% else %}
      {% include "infrastructure/overview/role_nodes_edit.html" %}
    {% endif %}
  </div>
</div>
{% endblock %}