Adding HelpHeader to display a modal with the relevant Help document.
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run

This commit is contained in:
Roland 2026-03-11 15:42:52 -06:00
parent f94fc0fc5a
commit fa97b25831
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
3 changed files with 59 additions and 20 deletions

View file

@ -7,6 +7,7 @@ import {ButtonGroup, Container, Dimmer, Dropdown, GridColumn, GridRow, Icon, Inp
import {
APIButton,
ErrorMessage,
HelpHeader,
InfoPopup,
RefreshHeader,
Toggle,
@ -817,7 +818,11 @@ export function SettingsPage() {
<Divider/>
<Header as='h3'>Root CA Certificate</Header>
<HelpHeader
headerSize={'h3'}
headerContent='Root CA Certificate'
helpPath='/system/certificates/'
/>
<p>Install the WROLPi Root CA certificate on your devices to trust all HTTPS connections to this WROLPi.
You only need to do this once per device.</p>
<a href='/ca.crt' download='wrolpi-ca.crt'>