Skip to content

Commit

Permalink
feat(app): Add advanced settings card to robot settings page (#1762)
Browse files Browse the repository at this point in the history
addresses #1632
  • Loading branch information
Kadee80 authored Jun 27, 2018
1 parent e0555af commit b70f9b8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
24 changes: 24 additions & 0 deletions app/src/components/RobotSettings/AdvancedSettingsCard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// @flow
// app info card with version and updated
import * as React from 'react'

import {Card} from '@opentrons/components'
import {LabeledButton} from '../controls'

const TITLE = 'Advanced Settings'

export default function AdvancedSettingsCard () {
return (
<Card title={TITLE} column>
<LabeledButton
label='Download Logs'
buttonProps={{
disabled: true,
children: 'Download'
}}
>
<p>Access logs from this robot.</p>
</LabeledButton>
</Card>
)
}
4 changes: 4 additions & 0 deletions app/src/components/RobotSettings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import InformationCard from './InformationCard'
import ControlsCard from './ControlsCard'
import ConnectivityCard from './ConnectivityCard'
import CalibrationCard from './CalibrationCard'
import AdvancedSettingsCard from './AdvancedSettingsCard'
import ConnectAlertModal from './ConnectAlertModal'
import UpdateModal from './UpdateModal'
import styles from './styles.css'
Expand Down Expand Up @@ -40,6 +41,9 @@ export default function RobotSettings (props: Props) {
<CalibrationCard {...props} />
</div>
</div>
<div className={styles.row}>
<AdvancedSettingsCard {...props} />
</div>
</div>
)
}
Expand Down

0 comments on commit b70f9b8

Please sign in to comment.