Skip to content

Commit

Permalink
Merge pull request #886 from yaacov/select-vms-for-plan
Browse files Browse the repository at this point in the history
🐾 Add a placeholder create plan, to replace the wizard
  • Loading branch information
yaacov authored Feb 6, 2024
2 parents 2225acc + f70e860 commit 6e6c482
Show file tree
Hide file tree
Showing 34 changed files with 972 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"Create NetworkMap": "Create NetworkMap",
"Create new provider": "Create new provider",
"Create plan": "Create plan",
"Create Plan": "Create Plan",
"Create provider": "Create provider",
"Create Provider": "Create Provider",
"Create Providers by using the form or manually entering YAML or JSON definitions. Provider CRs store attributes that enable MTV to connect to and interact with the source and target providers.": "Create Providers by using the form or manually entering YAML or JSON definitions. Provider CRs store attributes that enable MTV to connect to and interact with the source and target providers.",
Expand Down Expand Up @@ -171,6 +170,7 @@
"Filter by status": "Filter by status",
"Filter by template": "Filter by template",
"Filter by tenant": "Filter by tenant",
"Filter provider": "Filter provider",
"Flavor": "Flavor",
"For example: <1>https://identity_service.com:5000/v3</1>.": "For example: <1>https://identity_service.com:5000/v3</1>.",
"From": "From",
Expand Down Expand Up @@ -345,6 +345,8 @@
"Secrets": "Secrets",
"Select migration network": "Select migration network",
"Select provider type": "Select provider type",
"Select source provider": "Select source provider",
"Select virtual machines": "Select virtual machines",
"Select virtual machines and create a migration plan.": "Select virtual machines and create a migration plan.",
"Selected columns will be displayed in the table.": "Selected columns will be displayed in the table.",
"Selected VMs": "Selected VMs",
Expand Down Expand Up @@ -403,12 +405,14 @@
"This plan cannot be edited because it is running must gather.": "This plan cannot be edited because it is running must gather.",
"This plan cannot be edited because the inventory data for its associated providers is not ready.": "This plan cannot be edited because the inventory data for its associated providers is not ready.",
"This plan cannot be restarted because it is running must gather service": "This plan cannot be restarted because it is running must gather service",
"This plan will be created in <1>{defaultNamespace}</1> namespace, if you wish to choose another namespace please cancel, and choose a namespace from the top bar.": "This plan will be created in <1>{defaultNamespace}</1> namespace, if you wish to choose another namespace please cancel, and choose a namespace from the top bar.",
"This provider will be created in <1>{defaultNamespace}</1> namespace, if you wish to choose another namespace please cancel, and choose a namespace from the top bar.": "This provider will be created in <1>{defaultNamespace}</1> namespace, if you wish to choose another namespace please cancel, and choose a namespace from the top bar.",
"This resource is managed by <2></2> and any modifications may be overwritten. Edit the managing resource to preserve changes.": "This resource is managed by <2></2> and any modifications may be overwritten. Edit the managing resource to preserve changes.",
"To": "To",
"To make changes to the plan, select Duplicate and edit the duplicate plan.": "To make changes to the plan, select Duplicate and edit the duplicate plan.",
"To migrate virtual machines from <1>{name}</1> provider, select the virtual machines to migrate from the list of available virtual machines and click the <4>Migrate</4> button.": "To migrate virtual machines from <1>{name}</1> provider, select the virtual machines to migrate from the list of available virtual machines and click the <4>Migrate</4> button.",
"To migrate virtual machines from <1>{name}</1> provider, select the virtual machines to migrate from the list of available virtual machines and click the <4>Create migration plan</4> button.": "To migrate virtual machines from <1>{name}</1> provider, select the virtual machines to migrate from the list of available virtual machines and click the <4>Create migration plan</4> button.",
"To migrate virtual machines from <1>{provider.metadata.name}</1> provider, select the virtual machines to migrate from the list of available virtual machines located in the virtual machines tab. <4>Go to <1>Virtual Machines</1> tab</4>": "To migrate virtual machines from <1>{provider.metadata.name}</1> provider, select the virtual machines to migrate from the list of available virtual machines located in the virtual machines tab. <4>Go to <1>Virtual Machines</1> tab</4>",
"To migrate virtual machines select a provider, then select the virtual machines to migrate and click the <1>Create migration plan</1> button.": "To migrate virtual machines select a provider, then select the virtual machines to migrate and click the <1>Create migration plan</1> button.",
"To troubleshoot, check the Forklift controller pod events and logs.": "To troubleshoot, check the Forklift controller pod events and logs.",
"To troubleshoot, check the Forklift controller pod logs.": "To troubleshoot, check the Forklift controller pod logs.",
"To troubleshoot, view the provider status available in the provider details page\n and check the Forklift controller pod logs.": "To troubleshoot, view the provider status available in the provider details page\n and check the Forklift controller pod logs.",
Expand Down
52 changes: 52 additions & 0 deletions packages/forklift-console-plugin/src/components/images/logos.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import React from 'react';

import openshiftImg from './resources/openshift.svg';
import openstackImg from './resources/openstack.svg';
import ovaImg from './resources/ova.svg';
import redhatImg from './resources/redhat.svg';
import vmImg from './resources/vm.svg';

export const openshiftLogo = (
<img
className="forklift--create-provider-edit-card-title-logo"
src={openshiftImg}
alt="PatternFly logo"
width="27px"
/>
);

export const openstackLogo = (
<img
className="forklift--create-provider-edit-card-title-logo"
src={openstackImg}
alt="PatternFly logo"
width="27px"
/>
);

export const vmLogo = (
<img
className="forklift--create-provider-edit-card-title-logo"
src={vmImg}
alt="PatternFly logo"
width="27px"
/>
);

export const redhatLogo = (
<img
className="forklift--create-provider-edit-card-title-logo"
src={redhatImg}
alt="PatternFly logo"
width="27px"
/>
);

export const ovaLogo = (
<img
className="forklift--create-provider-edit-card-title-logo"
src={ovaImg}
alt="PatternFly logo"
width="27px"
/>
);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6e6c482

Please sign in to comment.