mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-11-02 11:17:46 +00:00
Fixed arrow and title in device page
This commit is contained in:
@@ -50,7 +50,7 @@ const DeviceConfiguration = ({ selectedDeviceId }) => {
|
||||
if (device) {
|
||||
return (
|
||||
<CCard>
|
||||
<CCardHeader>#{device.serialNumber} Details</CCardHeader>
|
||||
<CCardHeader>Device Details</CCardHeader>
|
||||
<CCardBody>
|
||||
<CForm action="" method="post" encType="multipart/form-data" className="form-horizontal">
|
||||
<CFormGroup row>
|
||||
@@ -146,11 +146,10 @@ const DeviceConfiguration = ({ selectedDeviceId }) => {
|
||||
<CCardFooter>
|
||||
<CButton
|
||||
show={collapse ? 'true' : 'false'}
|
||||
color="transparent"
|
||||
onClick={toggle}
|
||||
block
|
||||
>
|
||||
<CIcon name={collapse ? 'cilChevronTop' : 'cilChevronBottom'} size="lg" />
|
||||
<CIcon style={{color: 'black'}} name={collapse ? 'cilChevronTop' : 'cilChevronBottom'} size="lg" />
|
||||
</CButton>
|
||||
</CCardFooter>
|
||||
</CForm>
|
||||
|
||||
@@ -9,7 +9,7 @@ import StatisticsChartList from './StatisticsChartList';
|
||||
|
||||
const DeviceStatisticsCard = ({ selectedDeviceId }) => (
|
||||
<CCard>
|
||||
<CCardHeader>Device Statistics</CCardHeader>
|
||||
<CCardHeader>Statistics</CCardHeader>
|
||||
<CCardBody style={{padding: '5%'}}>
|
||||
<StatisticsChartList selectedDeviceId={selectedDeviceId}/>
|
||||
</CCardBody>
|
||||
|
||||
Reference in New Issue
Block a user