Skip to content

Commit 0efec1a

Browse files
committed
Adds pages for creating VolumeGroupSnapshot
Signed-off-by: vbadrina <[email protected]>
1 parent 91178f6 commit 0efec1a

File tree

11 files changed

+1583
-8
lines changed

11 files changed

+1583
-8
lines changed

frontend/packages/console-app/locales/en/console-app.json

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -622,22 +622,30 @@
622622
"Select an option": "Select an option",
623623
"User Preferences {{activeTab}}": "User Preferences {{activeTab}}",
624624
"Set your individual preferences for the console experience. Any changes will be autosaved.": "Set your individual preferences for the console experience. Any changes will be autosaved.",
625-
"VolumeSnapshotClass with same provisioner as claim": "VolumeSnapshotClass with same provisioner as claim",
626-
"Select volume snapshot class": "Select volume snapshot class",
627-
"PersistentVolumeClaim details": "PersistentVolumeClaim details",
625+
"VolumeGroupSnapshotClass": "VolumeGroupSnapshotClass",
626+
"Select volumegroup snapshot class": "Select volumegroup snapshot class",
628627
"Create VolumeGroupSnapshot": "Create VolumeGroupSnapshot",
628+
"Selected PVCs have different storage provisioners. All PVCs must have StorageClasses with the same provisioner.": "Selected PVCs have different storage provisioners. All PVCs must have StorageClasses with the same provisioner.",
629629
"Edit YAML": "Edit YAML",
630-
"Creating snapshot for claim <1>{{pvcName}}</1>": "Creating snapshot for claim <1>{{pvcName}}</1>",
631-
"PersistentVolumeClaim": "PersistentVolumeClaim",
632-
"PersistentVolumeClaim in {{namespace}} namespace": "PersistentVolumeClaim in {{namespace}} namespace",
633-
"Snapshot Class": "Snapshot Class",
630+
"GroupSnapshot Class": "GroupSnapshot Class",
631+
"Persistent Volume Claim": "Persistent Volume Claim",
632+
"Select PVCs in the {{namespace}} namespace using label selectors to form a volume group to take VolumeGroupSnapshots.": "Select PVCs in the {{namespace}} namespace using label selectors to form a volume group to take VolumeGroupSnapshots.",
633+
"PVC Name": "PVC Name",
634+
"Storage class": "Storage class",
635+
"Applied filters:": "Applied filters:",
636+
"Error loading PVCs": "Error loading PVCs",
637+
"There was an error loading the PersistentVolumeClaims. Please try again.": "There was an error loading the PersistentVolumeClaims. Please try again.",
638+
"Filter PVCs with label selector expressions": "Filter PVCs with label selector expressions",
639+
"No PVCs have been identified for the volume group yet.": "No PVCs have been identified for the volume group yet.",
640+
"Use the label selector to filter and display PVCs that match your criteria. These PVCs will be used to form the volume group.": "Use the label selector to filter and display PVCs that match your criteria. These PVCs will be used to form the volume group.",
641+
"PVCs": "PVCs",
642+
"are selected to form volume group for VolumeGroupSnapshots.": "are selected to form volume group for VolumeGroupSnapshots.",
634643
"VolumeGroupSnapshotClass details": "VolumeGroupSnapshotClass details",
635644
"Driver": "Driver",
636645
"Deletion policy": "Deletion policy",
637646
"Create VolumeGroupSnapshotClass": "Create VolumeGroupSnapshotClass",
638647
"VolumeGroupSnapshotContent details": "VolumeGroupSnapshotContent details",
639648
"VolumeGroupSnapshot": "VolumeGroupSnapshot",
640-
"VolumeGroupSnapshotClass": "VolumeGroupSnapshotClass",
641649
"Volume handle": "Volume handle",
642650
"GroupSnapshot handle": "GroupSnapshot handle",
643651
"SnapshotClass": "SnapshotClass",
@@ -647,7 +655,14 @@
647655
"VolumeGroupSnapshotContent": "VolumeGroupSnapshotContent",
648656
"GroupSnapshot content": "GroupSnapshot content",
649657
"Only {{volumeMode}} volume mode is available for {{storageClass}} with {{accessMode}} access mode": "Only {{volumeMode}} volume mode is available for {{storageClass}} with {{accessMode}} access mode",
658+
"VolumeSnapshotClass with same provisioner as claim": "VolumeSnapshotClass with same provisioner as claim",
659+
"Select volume snapshot class": "Select volume snapshot class",
660+
"PersistentVolumeClaim details": "PersistentVolumeClaim details",
650661
"Create VolumeSnapshot": "Create VolumeSnapshot",
662+
"Creating snapshot for claim <1>{{pvcName}}</1>": "Creating snapshot for claim <1>{{pvcName}}</1>",
663+
"PersistentVolumeClaim": "PersistentVolumeClaim",
664+
"PersistentVolumeClaim in {{namespace}} namespace": "PersistentVolumeClaim in {{namespace}} namespace",
665+
"Snapshot Class": "Snapshot Class",
651666
"VolumeSnapshotClass details": "VolumeSnapshotClass details",
652667
"Create VolumeSnapshotClass": "Create VolumeSnapshotClass",
653668
"VolumeSnapshotContent details": "VolumeSnapshotContent details",
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
@import '../../../../../public/style/vars';
2+
@import '../../../../console-shared/src/styles/skeleton-screen.scss';
3+
4+
.co-volume-snapshot__body {
5+
display: inline-flex;
6+
}
7+
8+
.co-volume-snapshot__form {
9+
margin: var(--pf-t--global--spacer--md) 0;
10+
}
11+
12+
.co-volume-snapshot__details-body {
13+
margin-bottom: var(--pf-t--global--spacer--md);
14+
}
15+
16+
.co-volume-snapshot__alert-body {
17+
margin-top: var(--pf-t--global--spacer--md);
18+
}
19+
20+
.co-volume-snapshot__info {
21+
max-width: 50%;
22+
margin-right: 0;
23+
24+
@media (max-width: $screen-sm-max) {
25+
display: none;
26+
}
27+
}
28+
29+
.skeleton-activity {
30+
animation: $skeleton-animation;
31+
background: $skeleton-color;
32+
opacity: 0;
33+
border-radius: 6px;
34+
margin: 0.5rem 0.7em 0.5rem 0.7em;
35+
height: 30px;
36+
37+
&::after {
38+
background-repeat: no-repeat;
39+
content: '';
40+
display: block;
41+
height: 100%;
42+
width: 100%;
43+
}
44+
}

0 commit comments

Comments
 (0)