Skip to content

Commit

Permalink
[web] Sidebar option for iSCSI page
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Mar 14, 2023
1 parent 8f8f421 commit 74f0681
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions web/src/components/storage/ProposalPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@

import React, { useReducer, useEffect } from "react";
import { Alert } from "@patternfly/react-core";
import { Link } from "react-router-dom";

import { useInstallerClient } from "~/context/installer";
import { useCancellablePromise } from "~/utils";
import { Icon } from "~/components/layout";
import { Page, SectionSkeleton } from "~/components/core";
import { Page, PageOptions, SectionSkeleton } from "~/components/core";
import {
ProposalTargetSection,
ProposalSettingsSection,
Expand Down Expand Up @@ -113,8 +114,14 @@ export default function ProposalPage() {
};

return (
<Page title="Storage settings" icon="hard_drive">
<Page title="Storage Settings" icon="hard_drive" actionLabel="Back" actionVariant="secondary">
<PageContent />
<PageOptions title="Storage">
<Link to="/storage/iscsi">
<Icon name="settings" size="24" />
Configure iSCSI
</Link>
</PageOptions>
</Page>
);
}

0 comments on commit 74f0681

Please sign in to comment.