From 75b8075f480be97209435ad454d9c23d03d0b6c9 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 8 Dec 2021 08:12:45 -0600 Subject: use ShrinkableButton --- src/web/src/components/System/Info.js | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/web/src/components/System/Info.js b/src/web/src/components/System/Info.js index c515fc75..655ac431 100644 --- a/src/web/src/components/System/Info.js +++ b/src/web/src/components/System/Info.js @@ -3,8 +3,9 @@ import YAML from 'yaml'; import { restart, shutdown, getVersion } from '../../lib/application'; -import { Button, Icon, Modal, Header } from 'semantic-ui-react'; +import { Modal, Header } from 'semantic-ui-react'; import CodeEditor from '../Shared/CodeEditor'; +import ShrinkableButton from '../Shared/ShrinkableButton'; const Info = ({ state }) => { const stateAsYaml = YAML.stringify(state, { simpleKeys: true, sortMapEntries: true }) @@ -20,11 +21,24 @@ const Info = ({ state }) => {
- + getVersion({ forceCheck: true })} + > + Check for Updates +
Shut Down + + Shut Down + } centered size='mini' @@ -34,7 +48,13 @@ const Info = ({ state }) => { /> Restart + + Restart + } centered size='mini' -- cgit v1.2.3