forked from openshift/origin-web-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_volume-claim-templates.html
46 lines (42 loc) · 1.37 KB
/
_volume-claim-templates.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
<div class="pod-template-block">
<div
ng-repeat="template in templates"
class="pod-template">
<div class="component-label">Storage claim: {{template.metadata.name}}</div>
<div row class="pod-template-image icon-row">
<div>
<span class="fa fa-lock" aria-hidden="true"></span>
</div>
<div flex class="word-break">
<span class="pod-template-key">Access Modes:</span>
<span ng-repeat="mode in template.spec.accessModes">
{{mode | sentenceCase }}<span ng-if="!$last">, </span>
</span>
</div>
</div>
<div row class="pod-template-image icon-row">
<div>
<span class="fa fa-database" aria-hidden="true"></span>
</div>
<div flex class="word-break">
<span class="pod-template-key">Capacity:</span>
<span>
{{template.spec.resources.requests.storage}}
</span>
</div>
</div>
<div
row class="pod-template-image icon-row"
ng-if="template.spec.selector.matchLabels">
<div>
<span class="fa fa-tag" aria-hidden="true"></span>
</div>
<div flex class="word-break">
<span class="pod-template-key">Selector:</span>
<span ng-repeat="(key, value) in template.spec.selector.matchLabels">
{{key}}={{value}}<span ng-if="!$last">, </span>
</span>
</div>
</div>
</div>
</div>