mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-01 12:26:19 -05:00
Changing Popup style to have a border that matches the theme.
This commit is contained in:
parent
e4f490b90a
commit
bf36568e13
3 changed files with 14 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import {Accordion, Header, Progress, Segment, Statistic, StatisticGroup, Table} from "../Theme";
|
||||
import React, {useContext} from "react";
|
||||
import {humanBandwidth, humanFileSize, LoadStatistic, useTitle} from "../Common";
|
||||
import {HelpHeader, humanBandwidth, humanFileSize, LoadStatistic, useTitle} from "../Common";
|
||||
import {ProgressPlaceholder} from "../Placeholder";
|
||||
import Grid from "semantic-ui-react/dist/commonjs/collections/Grid";
|
||||
import {Media, SettingsContext, StatusContext, ThemeContext} from "../../contexts/contexts";
|
||||
|
|
@ -281,7 +281,12 @@ export function StatusPage() {
|
|||
</Media>
|
||||
|
||||
<Segment>
|
||||
<SizedHeader>Drive Bandwidth</SizedHeader>
|
||||
<HelpHeader
|
||||
headerSize='h2'
|
||||
headerContent='Drive Bandwidth'
|
||||
popupContent='Inaccurate during startup. Becomes more accurate as the system is used.'
|
||||
style={{marginBottom: '1em'}}
|
||||
/>
|
||||
{!_.isEmpty(diskBandwidthStats) ?
|
||||
Object.entries(diskBandwidthStats).map(([name, disk]) => <DiskBandwidth key={name} {...disk}/>)
|
||||
: <ProgressPlaceholder/>}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue