]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
c947e4490625b9e94b64df826170f83f736903af
[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">Versioning</td>
7         <td class="w-75">{{ selection.versioning }}</td>
8       </tr>
9       <tr>
10         <td i18n
11             class="bold">Encryption</td>
12         <td>{{ selection.encryption }}</td>
13       </tr>
14       <tr>
15         <td i18n
16             class="bold">MFA Delete</td>
17         <td>{{ selection.mfa_delete }}</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">Last modification time</td>
32         <td>{{ selection.mtime | cdDate }}</td>
33       </tr>
34     </tbody>
35   </table>
36
37   <!-- Bucket quota -->
38   <div>
39     <legend i18n>Bucket quota</legend>
40     <table class="table table-striped table-bordered">
41       <tbody>
42         <tr>
43           <td i18n
44               class="bold w-25">Enabled</td>
45           <td class="w-75">{{ selection.bucket_quota.enabled | booleanText }}</td>
46         </tr>
47         <ng-container *ngIf="selection.bucket_quota.enabled">
48           <tr>
49             <td i18n
50                 class="bold">Maximum size</td>
51             <td *ngIf="selection.bucket_quota.max_size <= -1"
52                 i18n>Unlimited</td>
53             <td *ngIf="selection.bucket_quota.max_size > -1">
54               {{ selection.bucket_quota.max_size | dimless }}
55             </td>
56           </tr>
57           <tr>
58             <td i18n
59                 class="bold">Maximum objects</td>
60             <td *ngIf="selection.bucket_quota.max_objects <= -1"
61                 i18n>Unlimited</td>
62             <td *ngIf="selection.bucket_quota.max_objects > -1">
63               {{ selection.bucket_quota.max_objects }}
64             </td>
65           </tr>
66         </ng-container>
67       </tbody>
68     </table>
69   </div>
70
71   <!-- Locking -->
72   <legend i18n>Locking</legend>
73   <table class="table table-striped table-bordered">
74     <tbody>
75       <tr>
76         <td i18n
77             class="bold w-25">Enabled</td>
78         <td class="w-75">{{ selection.lock_enabled | booleanText }}</td>
79       </tr>
80       <ng-container *ngIf="selection.lock_enabled">
81         <tr>
82           <td i18n
83               class="bold">Mode</td>
84           <td>{{ selection.lock_mode }}</td>
85         </tr>
86         <tr>
87           <td i18n
88               class="bold">Days</td>
89           <td>{{ selection.lock_retention_period_days }}</td>
90         </tr>
91       </ng-container>
92     </tbody>
93   </table>
94 </ng-container>