Skip to content

Commit

Permalink
kdump: Add title to kdump card
Browse files Browse the repository at this point in the history
  • Loading branch information
skobyda authored and martinpitt committed Jan 22, 2024
1 parent ad5d2a5 commit 9c31ad9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/kdump/kdump-view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import cockpit from "cockpit";
import React, { useEffect, useState } from "react";
import { Button } from "@patternfly/react-core/dist/esm/components/Button/index.js";
import { Checkbox } from "@patternfly/react-core/dist/esm/components/Checkbox/index.js";
import { Card, CardBody } from "@patternfly/react-core/dist/esm/components/Card/index.js";
import { Card, CardBody, CardTitle } from "@patternfly/react-core/dist/esm/components/Card/index.js";
import { HelperText, HelperTextItem } from "@patternfly/react-core/dist/esm/components/HelperText/index.js";
import { Flex, FlexItem } from "@patternfly/react-core/dist/esm/layouts/Flex/index.js";
import { Form, FormGroup, FormSection } from "@patternfly/react-core/dist/esm/components/Form/index.js";
Expand Down Expand Up @@ -576,6 +576,7 @@ ${enableCrashKernel}
{kdumpSwitch}
</Tooltip>);
}

return (
<Page>
<PageSection variant={PageSectionVariants.light}>
Expand All @@ -592,6 +593,11 @@ ${enableCrashKernel}
</PageSection>
<PageSection>
<Card>
<CardTitle>
<Title headingLevel="h4" size="xl">
{_("Kdump settings")}
</Title>
</CardTitle>
<CardBody>
<DescriptionList className="pf-m-horizontal-on-sm">
<DescriptionListGroup>
Expand Down

0 comments on commit 9c31ad9

Please sign in to comment.