@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
42 lines (41 loc) • 1.76 kB
HTML
<div ng-if="!vm.project.notFound" class="project-dashboard container">
<div class="row">
<div class="col-md-7 project-column">
<h3>
Application Status
<component-refresher
state="vm.state.clusters"
template-url="vm.clusterRefreshTooltipTemplate"
refresh="vm.refreshClusters()"
></component-refresher>
<region-filter region-filter="regionFilter" regions="vm.allRegions"></region-filter>
</h3>
<project-cluster ng-repeat="cluster in vm.clusters" project="vm.project" cluster="cluster"></project-cluster>
<div class="horizontal center" ng-if="!vm.state.clusters.loaded">
<loading-spinner size="'small'"></loading-spinner>
</div>
<h4 ng-if="!vm.project.config.clusters.length">No clusters configured</h4>
<h4 ng-if="vm.state.clusters.error">There was a problem loading the clusters for this project.</h4>
</div>
<div class="col-md-5 project-column">
<h3>
Pipeline Status
<component-refresher
state="vm.state.executions"
template-url="vm.executionRefreshTooltipTemplate"
refresh="vm.refreshExecutions()"
></component-refresher>
</h3>
<div class="horizontal center" ng-if="!vm.state.executions.loaded">
<loading-spinner size="'small'"></loading-spinner>
</div>
<project-pipeline
ng-repeat="execution in vm.executions"
execution="execution"
application="vm.application"
></project-pipeline>
<h4 ng-if="!vm.project.config.pipelineConfigs.length">No pipelines configured</h4>
<h4 ng-if="vm.state.executions.error">There was a problem loading the executions for this project.</h4>
</div>
</div>
</div>