]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html
import ceph nautilus 14.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / rgw / rgw-bucket-details / rgw-bucket-details.component.html
1 <tabset *ngIf="selection.hasSingleSelection">
2 <tab i18n-heading heading="Details">
3 <div *ngIf="bucket">
4 <table class="table table-striped table-bordered">
5 <tbody>
6 <tr>
7 <td i18n
8 class="bold col-sm-1">Name</td>
9 <td class="col-sm-3">{{ bucket.bid }}</td>
10 </tr>
11 <tr>
12 <td i18n
13 class="bold col-sm-1">ID</td>
14 <td>{{ bucket.id }}</td>
15 </tr>
16 <tr>
17 <td i18n
18 class="bold col-sm-1">Owner</td>
19 <td>{{ bucket.owner }}</td>
20 </tr>
21 <tr>
22 <td i18n
23 class="bold col-sm-1">Index type</td>
24 <td>{{ bucket.index_type }}</td>
25 </tr>
26 <tr>
27 <td i18n
28 class="bold col-sm-1">Placement rule</td>
29 <td>{{ bucket.placement_rule }}</td>
30 </tr>
31 <tr>
32 <td i18n
33 class="bold col-sm-1">Marker</td>
34 <td>{{ bucket.marker }}</td>
35 </tr>
36 <tr>
37 <td i18n
38 class="bold col-sm-1">Maximum marker</td>
39 <td>{{ bucket.max_marker }}</td>
40 </tr>
41 <tr>
42 <td i18n
43 class="bold col-sm-1">Version</td>
44 <td>{{ bucket.ver }}</td>
45 </tr>
46 <tr>
47 <td i18n
48 class="bold col-sm-1">Master version</td>
49 <td>{{ bucket.master_ver }}</td>
50 </tr>
51 <tr>
52 <td i18n
53 class="bold col-sm-1">Modification time</td>
54 <td>{{ bucket.mtime | cdDate }}</td>
55 </tr>
56 <tr>
57 <td i18n
58 class="bold col-sm-1">Zonegroup</td>
59 <td>{{ bucket.zonegroup }}</td>
60 </tr>
61 </tbody>
62 </table>
63
64 <!-- Bucket quota -->
65 <div *ngIf="bucket.bucket_quota">
66 <legend i18n>Bucket quota</legend>
67 <table class="table table-striped table-bordered">
68 <tbody>
69 <tr>
70 <td i18n
71 class="bold col-sm-1">Enabled</td>
72 <td class="col-sm-3">{{ bucket.bucket_quota.enabled | booleanText }}</td>
73 </tr>
74 <tr>
75 <td i18n
76 class="bold col-sm-1">Maximum size</td>
77 <td *ngIf="bucket.bucket_quota.max_size <= -1"
78 i18n
79 class="col-sm-3">Unlimited</td>
80 <td *ngIf="bucket.bucket_quota.max_size > -1"
81 class="col-sm-3">
82 {{ bucket.bucket_quota.max_size | dimless }}
83 </td>
84 </tr>
85 <tr>
86 <td i18n
87 class="bold col-sm-1">Maximum objects</td>
88 <td *ngIf="bucket.bucket_quota.max_objects <= -1"
89 i18n
90 class="col-sm-3">Unlimited</td>
91 <td *ngIf="bucket.bucket_quota.max_objects > -1"
92 class="col-sm-3">
93 {{ bucket.bucket_quota.max_objects }}
94 </td>
95 </tr>
96 </tbody>
97 </table>
98 </div>
99 </div>
100 </tab>
101 </tabset>