]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
310de113c4aac67fb0f8d3346dc6d10ebe901f67
[ceph.git] /
1 <ng-container *ngIf="selection">
2   <table class="table table-striped table-bordered">
3     <tbody>
4       <tr>
5         <td i18n
6             class="bold w-25">Name</td>
7         <td class="w-75">{{ selection.bid }}</td>
8       </tr>
9       <tr>
10         <td i18n
11             class="bold">ID</td>
12         <td>{{ selection.id }}</td>
13       </tr>
14       <tr>
15         <td i18n
16             class="bold">Owner</td>
17         <td>{{ selection.owner }}</td>
18       </tr>
19       <tr>
20         <td i18n
21             class="bold">Index type</td>
22         <td>{{ selection.index_type }}</td>
23       </tr>
24       <tr>
25         <td i18n
26             class="bold">Placement rule</td>
27         <td>{{ selection.placement_rule }}</td>
28       </tr>
29       <tr>
30         <td i18n
31             class="bold">Marker</td>
32         <td>{{ selection.marker }}</td>
33       </tr>
34       <tr>
35         <td i18n
36             class="bold">Maximum marker</td>
37         <td>{{ selection.max_marker }}</td>
38       </tr>
39       <tr>
40         <td i18n
41             class="bold">Version</td>
42         <td>{{ selection.ver }}</td>
43       </tr>
44       <tr>
45         <td i18n
46             class="bold">Master version</td>
47         <td>{{ selection.master_ver }}</td>
48       </tr>
49       <tr>
50         <td i18n
51             class="bold">Modification time</td>
52         <td>{{ selection.mtime | cdDate }}</td>
53       </tr>
54       <tr>
55         <td i18n
56             class="bold">Zonegroup</td>
57         <td>{{ selection.zonegroup }}</td>
58       </tr>
59       <tr>
60         <td i18n
61             class="bold">Versioning</td>
62         <td>{{ selection.versioning }}</td>
63       </tr>
64       <tr>
65         <td i18n
66             class="bold">MFA Delete</td>
67         <td>{{ selection.mfa_delete }}</td>
68       </tr>
69     </tbody>
70   </table>
71
72   <!-- Bucket quota -->
73   <div *ngIf="selection.bucket_quota">
74     <legend i18n>Bucket quota</legend>
75     <table class="table table-striped table-bordered">
76       <tbody>
77         <tr>
78           <td i18n
79               class="bold w-25">Enabled</td>
80           <td class="w-75">{{ selection.bucket_quota.enabled | booleanText }}</td>
81         </tr>
82         <tr>
83           <td i18n
84               class="bold">Maximum size</td>
85           <td *ngIf="selection.bucket_quota.max_size <= -1"
86               i18n>Unlimited</td>
87           <td *ngIf="selection.bucket_quota.max_size > -1">
88             {{ selection.bucket_quota.max_size | dimless }}
89           </td>
90         </tr>
91         <tr>
92           <td i18n
93               class="bold">Maximum objects</td>
94           <td *ngIf="selection.bucket_quota.max_objects <= -1"
95               i18n>Unlimited</td>
96           <td *ngIf="selection.bucket_quota.max_objects > -1">
97             {{ selection.bucket_quota.max_objects }}
98           </td>
99         </tr>
100       </tbody>
101     </table>
102   </div>
103
104   <!-- Locking -->
105   <legend i18n>Locking</legend>
106   <table class="table table-striped table-bordered">
107     <tbody>
108       <tr>
109         <td i18n
110             class="bold w-25">Enabled</td>
111         <td class="w-75">{{ selection.lock_enabled | booleanText }}</td>
112       </tr>
113       <ng-container *ngIf="selection.lock_enabled">
114         <tr>
115           <td i18n
116               class="bold">Mode</td>
117           <td>{{ selection.lock_mode }}</td>
118         </tr>
119         <tr>
120           <td i18n
121               class="bold">Days</td>
122           <td>{{ selection.lock_retention_period_days }}</td>
123         </tr>
124         <tr>
125           <td i18n
126               class="bold">Years</td>
127           <td>{{ selection.lock_retention_period_years }}</td>
128         </tr>
129       </ng-container>
130     </tbody>
131   </table>
132 </ng-container>