diff options
Diffstat (limited to 'tuskar_ui/infrastructure/templates/infrastructure/overview')
19 files changed, 0 insertions, 624 deletions
diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/_deploy_confirmation.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/_deploy_confirmation.html deleted file mode 100644 index b3daed67..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/_deploy_confirmation.html +++ /dev/null @@ -1,40 +0,0 @@ -{% extends "horizon/common/_modal_form.html" %} -{% load i18n %} -{% load url from future %} - -{% block form_id %}provision_form{% endblock %} -{% block form_action %}{% url 'horizon:infrastructure:overview:deploy_confirmation' %}{% endblock %} - -{% block modal_id %}provision_modal{% endblock %} -{% block modal-header %}{% trans "Deployment Confirmation" %}{% endblock %} - -{% block modal-body %} -<div> - <p>{% trans "You are about deploy your overcloud." %}</p> - {% if autogenerated_parameters %} - <i class="fa fa-info-circle"></i> - {{ 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 %} -</div> -<div> - <fieldset> - <div class="left"> - {% include "horizon/common/_form_fields.html" %} - </div> - </fieldset> - <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 %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/_last_events.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/_last_events.html deleted file mode 100644 index e0659d6a..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/_last_events.html +++ /dev/null @@ -1,18 +0,0 @@ -{% if show_last_events %} -<strong>{{ last_events_title }}</strong> -<div> - <dl> - {% for event in last_events %} - <dd> - <time datetime="{{ event.event_time }}">{{ event.event_time }}</time> - <br /> - {{ event.resource_name }} | - {{ event.resource_status }} | - {{ event.resource_status_reason }} - </dd> - <br /> - {% endfor %} - </dl> -</div> -<p><a href="{% url 'horizon:infrastructure:history:index' %}">See full log</a></p> -{% endif %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/_post_deploy_init.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/_post_deploy_init.html deleted file mode 100644 index d0f9c52a..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/_post_deploy_init.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "horizon/common/_modal_form.html" %} -{% load i18n %} -{% load url from future %} - -{% block form_id %}post_deploy_init_form{% endblock %} -{% block form_action %}{% url 'horizon:infrastructure:overview:post_deploy_init' %}{% endblock %} - -{% block modal_id %}provision_modal{% endblock %} -{% block modal-header %}{% trans "Initialize Overcloud" %}{% endblock %} - -{% block modal-body %} -<div> - <fieldset> - <div class="left"> - {% include "horizon/common/_form_fields.html" %} - </div> - <div class="right"> - {% trans "Your OpenStack cloud nodes are deployed. They need to be initialized before your cloud will be live."%} - </div> - </fieldset> -</div> -{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/_scale_out.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/_scale_out.html deleted file mode 100644 index 550aa42d..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/_scale_out.html +++ /dev/null @@ -1,41 +0,0 @@ -{% extends "horizon/common/_modal_form.html" %} -{% load i18n %} -{% load url from future %} -{% load form_helpers %} - -{% block form_id %}scale_out_form{% endblock %} -{% block form_action %}{% url 'horizon:infrastructure:overview:scale_out' %}{% endblock %} - -{% block modal_id %}scale_out_modal{% endblock %} -{% block modal-header %}{% trans "Scale-out Deployment" %}{% endblock %} - -{% block modal-body %} -<div class="scale-out-form"> - {% include 'horizon/common/_form_errors.html' with form=form %} -{% for role in roles %} - <div class="form-group well well-sm clearfix{% if role.field.errors %} error{% endif %} {{ role.field.css_classes }}"> - <div class="col-xs-8 deploy-role-name"> - <span class="deployment-roles-label">{{ role.name|capfirst }}</span> - {% for error in role.field.errors %} - <span class="help-block"><span class="text-danger"> - {{ error }} - </span></span> - {% endfor %} - </div> - <div class="col-xs-2 deploy-role-count"> - {{ role.planned_node_count }} → - </div> - <div class="col-xs-2 deploy-role-count"> - {{ role.field|add_bootstrap_class }} - </div> - </div> -{% endfor %} -</div> - -<script type="text/javascript"> -(window.$ || window.addHorizonLoadEvent)(function () { - tuskar.number_picker.init(); -}); -</script> - -{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/_undeploy_confirmation.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/_undeploy_confirmation.html deleted file mode 100644 index 50b2c943..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/_undeploy_confirmation.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "horizon/common/_modal_form.html" %} -{% load i18n %} -{% load url from future %} - -{% block form_id %}provision_form{% endblock %} -{% block form_action %}{% url 'horizon:infrastructure:overview:undeploy_confirmation' %}{% endblock %} - -{% block modal_id %}provision_modal{% endblock %} -{% block modal-header %}{% trans "Undeployment Confirmation" %}{% endblock %} - -{% block modal-body %} -<div> - <p>{% trans "You are about undeploy your overcloud" %} - </p> - <p>{% trans "This operation cannot be undone. Are you sure you want to do that?" %}</p> - <fieldset> - {% include "horizon/common/_form_fields.html" %} - </fieldset> -</div> -{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/deploy_confirmation.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/deploy_confirmation.html deleted file mode 100644 index 74f6dc86..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/deploy_confirmation.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'infrastructure/base.html' %} -{% load i18n %} -{% block title %}{% trans "Deploy overcloud" %}{% endblock %} - -{% block page_header %} - {% include "horizon/common/_page_header.html" with title=_("Deploy overcloud") %} -{% endblock page_header %} - -{% block infrastructure_main %} - {% include "infrastructure/overview/_deploy_confirmation.html" %} -{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_base.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_base.html deleted file mode 100644 index 04bf8eef..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_base.html +++ /dev/null @@ -1,27 +0,0 @@ -{% load i18n %} -{% load url from future%} - -<div class="deployment-heading"> - {% block deployment-heading %}{% endblock %} -</div> -<div class="clear"></div> -<div class="deployment-icon"> -<i class="fa {% block deployment-icon %}fa-cloud{% endblock %} fa-3x fa-fw"></i> -</div> -<div class="deployment-box clearfix"> - <h4>{% block deployment-title %}{% endblock %}</h4> - {% block deployment-info %}{% endblock %} - <div class="deployment-buttons clearfix"> - {% block deployment-buttons %} - <a - href="{% url 'horizon:infrastructure:overview:undeploy_confirmation' %}" - class="btn btn-danger ajax-modal"> - <i class="fa fa-lg fa-fire"></i> {% trans "Undeploy" %} - </a> - {% endblock %} - </div> -</div> - -{% block deployment-overcloudrc %}{% endblock %} - -{% block templates %}{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_failed.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_failed.html deleted file mode 100644 index c78acc23..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_failed.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "infrastructure/overview/deployment_base.html" %} - -{% load i18n %} -{% load url from future%} - -{% block deployment-icon %}fa-exclamation-circle{% endblock %} - -{% block deployment-title %} - {% if stack.is_delete_failed %} - {% trans "Undeploying failed" %} - {% elif stack.is_failed %} - {% trans "Deployment failed" %} - {% else %} - {% trans "Failure" %} - {% endif %} -{% endblock %} - -{% block deployment-info %} -{% include "infrastructure/overview/_last_events.html" %} -{% endblock %} - -{% block deployment-buttons %} - {{ block.super }} -{% endblock %} - diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_initialize.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_initialize.html deleted file mode 100644 index af29031e..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_initialize.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "infrastructure/overview/deployment_base.html" %} - -{% load i18n %} -{% load url from future%} - -{% block deployment-icon %}fa-exclamation-triangle{% endblock %} - -{% block deployment-title %}{% trans "Initialization Needed" %}{% endblock %} - -{% block deployment-info %} -<p>{% trans "Your OpenStack cloud is successfully deployed. Before using the cloud you must now initialize it." %}</p> -{% endblock %} - -{% block deployment-buttons %} - {{ block.super }} - <a href="{% url 'horizon:infrastructure:overview:post_deploy_init' %}" - class="btn btn-primary ajax-modal"> - <i class="fa fa-lg fa-cogs"></i> - {% trans "Initialize" %} - </a> -{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_live.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_live.html deleted file mode 100644 index af6dfa81..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_live.html +++ /dev/null @@ -1,113 +0,0 @@ -{% extends "infrastructure/overview/deployment_base.html" %} - -{% load i18n %} -{% load url from future %} - -{% block deployment-heading %} - <div class="deployment-icon"> - <i class="fa fa-check fa-3x fa-fw"></i> - </div> - <div class="deployment-box clearfix"> - <h4>{% trans "Deployment is live" %}</h4> - </div> -{% endblock %} - -{% block deployment-icon %}fa-key{% endblock %} -{% block deployment-title %}{% trans "Access Information" %}{% endblock %} -{% block deployment-info %} -<div> - {% for dashboard_url in dashboard_urls %} - <div class="row"> - <div class="col-xs-4">{% trans "Horizon URL:" %}</div> - <div class="col-xs-8"><a href="{{ dashboard_url }}">{{ dashboard_url }}</a></div> - </div> - {% endfor %} - <div class="row"> - <div class="col-xs-4">{% trans "User name:" %}</div> - <div class="col-xs-8">admin</div> - </div> - <div class="row"> - <div class="col-xs-4">{% trans "Password" %}</div> - <div class="col-xs-8"> - <span class="btn btn-xs btn-default password-button" - data-content="{{ admin_password }}" - ><i class="fa fa-eye"></i> {% trans "Reveal" %}</span> - </div> - </div> -</div> - -<script type="text/javascript"> -(window.$ || window.addHorizonLoadEvent)(function () { - $('span.password-button').popover({ - trigger: 'click', - placement: 'top' - }); -}); -</script> -{% endblock %} - -{% block deployment-buttons %} - {{ block.super }} -<a - href="{% url 'horizon:infrastructure:overview:scale_out' %}" - class="btn ajax-modal btn-default" -> - <i class="fa fa-lg fa-arrows-alt"></i> {% trans "Scale-out" %} -</a> - -{% endblock %} - -{% block deployment-overcloudrc %} - <div class="clear"></div> - <div class="deployment-icon"> - <i class="fa fa-key fa-3x fa-fw"></i> - </div> - <div class="deployment-box clearfix"> - <h4>{% trans "Overcloudrc Information" %}</h4><a data-toggle="collapse" href="#overcloudrc" aria-expanded="false" aria-controls="overcloudrc" id="collapse-rc"><span class='overcloudrc'>{% trans "Show" %}<i class="fa fa-angle-down"></i></span></a> - <div class="collapse" id="overcloudrc"> - <div class="row"> - <div class="col-xs-4">NOVA_VERSION:</div> - <div class="col-xs-8">1.1</div> - </div> - <div class="row"> - <div class="col-xs-4">OS_USERNAME:</div> - <div class="col-xs-8">admin</div> - </div> - <div class="row"> - <div class="col-xs-4">OS_PASSWORD:</div> - <div class="col-xs-8">{{ admin_password }}</div> - </div> - <div class="row"> - <div class="col-xs-4">OS_AUTH_URL:</div> - <div class="col-xs-8">{{ auth_url }}</div> - </div> - <div class="row"> - <div class="col-xs-4">OS_TENANT_NAME:</div> - <div class="col-xs-8">admin</div> - </div> - <div class="row"> - <div class="col-xs-4">COMPUTE_API_VERSION:</div> - <div class="col-xs-8">1.1</div> - </div> - <div class="row"> - <div class="col-xs-4">OS_NO_CACHE:</div> - <div class="col-xs-8">True</div> - </div> - <div class="row"> - <div class="col-xs-4">no_proxy:</div> - <div class="col-xs-8">{{ no_proxy }}</div> - </div> - <div class="row"> - <div class="col-xs-4">{% trans "Download" %}</div> - <div class="col-xs-8"> - <a - href="{% url 'horizon:infrastructure:overview:download_overcloudrc' %}" - class="btn btn-default" - > - <i class="fa fa-lg fa-download"></i> {% trans "Download" %} - </a> - </div> - </div> - </div> - </div> -{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_plan.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_plan.html deleted file mode 100644 index 52b3c275..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_plan.html +++ /dev/null @@ -1,51 +0,0 @@ -{% 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 %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_progress.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_progress.html deleted file mode 100644 index acfdd9dd..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/deployment_progress.html +++ /dev/null @@ -1,69 +0,0 @@ -{% extends "infrastructure/overview/deployment_base.html" %} - -{% load i18n %} -{% load url from future%} -{% load horizon %} - -{% block deployment-icon %}fa-spinner fa-spin{% endblock %} - -{% block deployment-title %} - {% if stack.is_deleting %} - {% trans "Undeploying..." %} - {% elif stack.is_deploying %} - {% trans "Deploying..." %} - {% elif stack.is_updating %} - {% trans "Updating..." %} - {% endif %} -{% endblock %} - -{% block deployment-info %} -{% if progress %} - <div class="progress"> - <div - class="progress-bar progress-bar-striped active" - role="progressbar" - aria-valuenow="{{ progress }}" - aria-valuemin="0" - aria-valuemax="100" - style="width: {{ progress }}%" - ><span class="sr-only">{{ progress }}% {% trans "Complete" %}</span></div> - </div> -{% endif %} -<div class="deploy-last-events"> - {% include "infrastructure/overview/_last_events.html" %} -</div> -{% endblock %} - -{% block deployment-buttons %} - {% if stack.is_deploying or stack.is_updating %} - <a - href="{% url 'horizon:infrastructure:overview:undeploy_confirmation' %}" - class="btn btn-danger ajax-modal"> - <i class="fa fa-lg fa-times"></i> - {% trans "Stop" %} - </a> - {% endif %} -{% endblock %} - -{% block templates %} -<script type="text/html" id="events-template">{% spaceless %}{% jstemplate %} -[[#show_last_events]] -<strong>[[ last_events_title ]]</strong> -<div> - <dl> - [[#last_events]] - <dd> - <time datetime="[[ event_time ]]">[[ event_time ]]</time> - <br /> - [[ resource_name ]] | - [[ resource_status ]] | - [[ resource_status_reason ]] - </dd> - <br /> - [[/last_events]] - </dl> -</div> -[[/show_last_events]] -<p><a href="{% url 'horizon:infrastructure:history:index' %}">See full log</a></p> -{% endjstemplate %}{% endspaceless %}</script> -{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/index.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/index.html deleted file mode 100644 index fa4273cc..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/index.html +++ /dev/null @@ -1,36 +0,0 @@ -{% 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 %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/overcloudrc.sh.template b/tuskar_ui/infrastructure/templates/infrastructure/overview/overcloudrc.sh.template deleted file mode 100644 index 5977bb37..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/overcloudrc.sh.template +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -export NOVA_VERSION=1.1 -export OS_AUTH_URL={{ auth_url }} -export OS_TENANT_NAME="admin" -export OS_USERNAME="admin" -export OS_PASSWORD={{ admin_password }} -export COMPUTE_API_VERSION=1.1 -export OS_NO_CACHE=True -export no_proxy={{ no_proxy }} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/post_deploy_init.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/post_deploy_init.html deleted file mode 100644 index 835c0e52..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/post_deploy_init.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'infrastructure/base.html' %} -{% load i18n %} -{% block title %}{% trans "Initialize" %}{% endblock %} - -{% block page_header %} - {% include "horizon/common/_page_header.html" with title=_("Initialize Overcloud") %} -{% endblock page_header %} - -{% block infrastructure_main %} - {% include "infrastructure/overview/_post_deploy_init.html" %} -{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/role_nodes_edit.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/role_nodes_edit.html deleted file mode 100644 index 5a47a8f6..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/role_nodes_edit.html +++ /dev/null @@ -1,38 +0,0 @@ -{% load i18n %} -{% load url from future %} -{% load form_helpers %} - -<h4>{% trans "Deployment Roles" %}</h4> -<form method="POST" action="." class="deployment-roles-form"> -{% csrf_token %} -{% include 'horizon/common/_form_errors.html' with form=form %} -{% for role in roles %} - <div class="form-group well well-sm clearfix{% if field.errors %} error{% endif %} {{ field.css_classes }}"> - <div class="col-xs-2 deploy-role-icon"> - <a - href="{% url 'horizon:infrastructure:roles:update' role_id=role.id %}" - class="btn" - ><b class="fa fa-lg fa-fw fa-pencil"></b></a> - </div> - <div class="col-xs-8 deploy-role-name"> - <a - href="{% url 'horizon:infrastructure:roles:detail' role_id=role.id %}" - class="deployment-roles-label" - >{{ role.name }}</a> - {% for error in role.field.errors %} - <span class="help-block"><span class="text-danger"> - {{ error }} - </span></span> - {% endfor %} - </div> - <div class="col-xs-2 deploy-role-count"> - {{ role.field|add_bootstrap_class }} - </div> - </div> -{% endfor %} -<hr> -<button type="submit" class="btn btn-default"> - <i class="fa fa-save"></i> - {% trans "Save changes" %} -</button> -</form> diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/role_nodes_status.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/role_nodes_status.html deleted file mode 100644 index f31c6bab..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/role_nodes_status.html +++ /dev/null @@ -1,50 +0,0 @@ -{% load i18n %} -{% load url from future %} -{% load horizon %} - -<h4>{% trans "Deployment Roles" %}</h4> -<div class="deploy-role-status"> -{% for role in roles %} - <div class="well well-sm clearfix"> - <div class="col-xs-2 deploy-role-icon"> - {% if role.planned_node_count %} - <i class="fa fa-fw fa-lg {{ role.icon }}"></i> - {% endif %} - </div> - <div class="col-xs-8 deploy-role-name"> - <strong - class="deployment-roles-label" - >{{ role.name }}</strong> - </div> - <div class="col-xs-2 deploy-role-count"> - {% if role.finished %} - {{ role.deployed_node_count }} - {% else %} - {{ role.deployed_node_count }}<small class="text-muted">/{{ role.planned_node_count }}</small> - {% endif %} - </div> - </div> -{% endfor %} -</div> - -<script type="text/html" id="roles-template">{% spaceless %}{% jstemplate %} -[[#roles]] - <div class="well well-sm clearfix"> - <div class="col-xs-2 deploy-role-icon"> - [[#planned_node_count]] - <i class="fa fa-fw fa-lg [[ icon ]]"></i> - [[/planned_node_count]] - </div> - <div class="col-xs-8 deploy-role-name"><strong class="deployment-roles-label" >[[ name ]]</strong></div> - <div class="col-xs-2 deploy-role-count"> - [[#finished]] - [[ deployed_node_count ]] - [[/finished]] - [[^finished]] - [[ deployed_node_count ]]<small class="text-muted">/[[ planned_node_count ]]</small> - [[/finished]] - </div> - - </div> -[[/roles]] -{% endjstemplate %}{% endspaceless %}</script> diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/scale_out.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/scale_out.html deleted file mode 100644 index 4ef31c20..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/scale_out.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'infrastructure/base.html' %} -{% load i18n %} -{% block title %}{% trans "Scale-out Deployment" %}{% endblock %} - -{% block page_header %} - {% include "horizon/common/_page_header.html" with title=_("Scale-out Deployment") %} -{% endblock page_header %} - -{% block infrastructure_main %} - {% include "infrastructure/overview/_scale_out.html" %} -{% endblock %} diff --git a/tuskar_ui/infrastructure/templates/infrastructure/overview/undeploy_confirmation.html b/tuskar_ui/infrastructure/templates/infrastructure/overview/undeploy_confirmation.html deleted file mode 100644 index b234ac95..00000000 --- a/tuskar_ui/infrastructure/templates/infrastructure/overview/undeploy_confirmation.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'infrastructure/base.html' %} -{% load i18n %} -{% block title %}{% trans "Undeploy overcloud" %}{% endblock %} - -{% block page_header %} - {% include "horizon/common/_page_header.html" with title=_("Undeploy overcloud") %} -{% endblock page_header %} - -{% block infrastructure_main %} - {% include "infrastructure/overview/_undeploy_confirmation.html" %} -{% endblock %} |