-
Notifications
You must be signed in to change notification settings - Fork 60
/
create-from-builder-results.html
56 lines (56 loc) · 2.25 KB
/
create-from-builder-results.html
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
52
53
54
55
56
<div class="order-service-config">
<div ng-if="!$ctrl.success && !$ctrl.error">
<div class="results-status">
<span class="spinner spinner-sm" aria-hidden="true"></span>
<span class="sr-only">Pending</span>
<h3 class="results-message">
<strong>{{$ctrl.name}}</strong> is being created in <strong>{{$ctrl.selectedProject | displayName}}</strong>.
</h3>
</div>
</div>
<div ng-if="$ctrl.success">
<div class="results-status">
<span class="pficon pficon-ok" aria-hidden="true"></span>
<span class="sr-only">Success</span>
<h3 class="results-message">
<strong>{{$ctrl.name}}</strong> has been created in <strong>{{$ctrl.selectedProject | displayName}}</strong> successfully.
</h3>
</div>
</div>
<div ng-if="$ctrl.success && $ctrl.binding">
<bind-results error="$ctrl.bindError"
binding="$ctrl.binding"
service-to-bind="$ctrl.serviceToBind.metadata.name"
bind-type="application"
application-to-bind="$ctrl.name"
show-pod-presets="$ctrl.showPodPresets">
</bind-results>
</div>
<div ng-if="$ctrl.success">
<p ng-if="!$ctrl.serviceToBind || $ctrl.bindComplete">
<a ng-href="{{$ctrl.selectedProject | projectUrl : $ctrl.baseProjectUrl}}">Continue to the project overview</a> to check the status of your application as it builds and deploys.
</p>
</div>
<div class="results-failure" ng-if="$ctrl.error">
<div class="results-status">
<span class="pficon pficon-error-circle-o text-danger" aria-hidden="true"></span>
<h3 class="results-message">
<strong>{{$ctrl.name}}</strong> failed to create in <strong>{{$ctrl.selectedProject | displayName}}</strong>.
</h3>
</div>
<div class="sub-title">
<span ng-if="$ctrl.error.data.message">
{{$ctrl.error.data.message | upperFirst}}
</span>
<span ng-if="!$ctrl.error.data.message">
An error occurred creating the application.
</span>
</div>
<!-- TODO: Improve error message presentation -->
<ul ng-if="$ctrl.error.failure.length" class="failure-messages">
<li ng-repeat="failure in $ctrl.error.failure">
{{failure.data.message}}
</li>
</ul>
</div>
</div>