Adopt semantic help center action layout
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
|||||||
Dialog,
|
Dialog,
|
||||||
DismissibleAlert,
|
DismissibleAlert,
|
||||||
ExplorerTree,
|
ExplorerTree,
|
||||||
|
PageActionBar,
|
||||||
PageLayout,
|
PageLayout,
|
||||||
SegmentedControl,
|
SegmentedControl,
|
||||||
StatusBadge,
|
StatusBadge,
|
||||||
@@ -191,9 +192,10 @@ export default function DocsPage({ settings }: { settings: ApiSettings }) {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<PageLayout
|
<PageLayout
|
||||||
|
archetype="workspace"
|
||||||
title="i18n:govoplan-docs.help_center.f3f3a34b"
|
title="i18n:govoplan-docs.help_center.f3f3a34b"
|
||||||
description={adminDocs ? "i18n:govoplan-docs.technical_documentation_for_the_modules_and_conf.267e739e" : "i18n:govoplan-docs.guidance_for_the_functions_available_in_this_ins.723b7cad"}
|
description={adminDocs ? "i18n:govoplan-docs.technical_documentation_for_the_modules_and_conf.267e739e" : "i18n:govoplan-docs.guidance_for_the_functions_available_in_this_ins.723b7cad"}
|
||||||
actions={<Button onClick={() => void load()} disabled={loading}><RefreshCw size={16} /> i18n:govoplan-docs.reload.cce71553</Button>}
|
actions={<PageActionBar variant="workspace" refreshable reloadAction={<Button onClick={() => void load()} disabled={loading}><RefreshCw size={16} /> i18n:govoplan-docs.reload.cce71553</Button>} />}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
loadingLabel="i18n:govoplan-docs.loading_documentation_context.1c091645"
|
loadingLabel="i18n:govoplan-docs.loading_documentation_context.1c091645"
|
||||||
error={error}
|
error={error}
|
||||||
|
|||||||
Reference in New Issue
Block a user