Skip to content

Commit d59afe4

Browse files
committed
Adds pages for creating VolumeGroupSnapshot
Signed-off-by: vbadrina <[email protected]>
1 parent 028e543 commit d59afe4

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
@@ -618,22 +618,30 @@
618618
"Select an option": "Select an option",
619619
"User Preferences {{activeTab}}": "User Preferences {{activeTab}}",
620620
"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.",
621-
"VolumeSnapshotClass with same provisioner as claim": "VolumeSnapshotClass with same provisioner as claim",
622-
"Select volume snapshot class": "Select volume snapshot class",
623-
"PersistentVolumeClaim details": "PersistentVolumeClaim details",
621+
"VolumeGroupSnapshotClass": "VolumeGroupSnapshotClass",
622+
"Select volumegroup snapshot class": "Select volumegroup snapshot class",
624623
"Create VolumeGroupSnapshot": "Create VolumeGroupSnapshot",
624+
"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.",
625625
"Edit YAML": "Edit YAML",
626-
"Creating snapshot for claim <1>{{pvcName}}</1>": "Creating snapshot for claim <1>{{pvcName}}</1>",
627-
"PersistentVolumeClaim": "PersistentVolumeClaim",
628-
"PersistentVolumeClaim in {{namespace}} namespace": "PersistentVolumeClaim in {{namespace}} namespace",
629-
"Snapshot Class": "Snapshot Class",
626+
"GroupSnapshot Class": "GroupSnapshot Class",
627+
"Persistent Volume Claim": "Persistent Volume Claim",
628+
"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.",
629+
"PVC Name": "PVC Name",
630+
"Storage class": "Storage class",
631+
"Applied filters:": "Applied filters:",
632+
"Error loading PVCs": "Error loading PVCs",
633+
"There was an error loading the PersistentVolumeClaims. Please try again.": "There was an error loading the PersistentVolumeClaims. Please try again.",
634+
"Filter PVCs with label selector expressions": "Filter PVCs with label selector expressions",
635+
"No PVCs have been identified for the volume group yet.": "No PVCs have been identified for the volume group yet.",
636+
"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.",
637+
"PVCs": "PVCs",
638+
"are selected to form volume group for VolumeGroupSnapshots.": "are selected to form volume group for VolumeGroupSnapshots.",
630639
"VolumeGroupSnapshotClass details": "VolumeGroupSnapshotClass details",
631640
"Driver": "Driver",
632641
"Deletion policy": "Deletion policy",
633642
"Create VolumeGroupSnapshotClass": "Create VolumeGroupSnapshotClass",
634643
"VolumeGroupSnapshotContent details": "VolumeGroupSnapshotContent details",
635644
"VolumeGroupSnapshot": "VolumeGroupSnapshot",
636-
"VolumeGroupSnapshotClass": "VolumeGroupSnapshotClass",
637645
"Volume handle": "Volume handle",
638646
"GroupSnapshot handle": "GroupSnapshot handle",
639647
"SnapshotClass": "SnapshotClass",
@@ -643,7 +651,14 @@
643651
"VolumeGroupSnapshotContent": "VolumeGroupSnapshotContent",
644652
"GroupSnapshot content": "GroupSnapshot content",
645653
"Only {{volumeMode}} volume mode is available for {{storageClass}} with {{accessMode}} access mode": "Only {{volumeMode}} volume mode is available for {{storageClass}} with {{accessMode}} access mode",
654+
"VolumeSnapshotClass with same provisioner as claim": "VolumeSnapshotClass with same provisioner as claim",
655+
"Select volume snapshot class": "Select volume snapshot class",
656+
"PersistentVolumeClaim details": "PersistentVolumeClaim details",
646657
"Create VolumeSnapshot": "Create VolumeSnapshot",
658+
"Creating snapshot for claim <1>{{pvcName}}</1>": "Creating snapshot for claim <1>{{pvcName}}</1>",
659+
"PersistentVolumeClaim": "PersistentVolumeClaim",
660+
"PersistentVolumeClaim in {{namespace}} namespace": "PersistentVolumeClaim in {{namespace}} namespace",
661+
"Snapshot Class": "Snapshot Class",
647662
"VolumeSnapshotClass details": "VolumeSnapshotClass details",
648663
"Create VolumeSnapshotClass": "Create VolumeSnapshotClass",
649664
"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)