Multiple UI cleanups + TraceModalWidget created

This commit is contained in:
bourquecharles
2021-05-17 18:34:55 -04:00
parent fe73f34728
commit 814d758f1d
5 changed files with 244 additions and 4 deletions

View File

@@ -106,6 +106,7 @@ const DeviceCommands = () => {
<CCollapse show={collapse}>
<CRow style={{ marginBottom: '10px' }}>
<CCol>
From:
<DatePicker
selected={start === '' ? new Date() : new Date(start)}
value={start === '' ? new Date() : new Date(start)}
@@ -115,6 +116,7 @@ const DeviceCommands = () => {
/>
</CCol>
<CCol>
To:
<DatePicker
selected={end === '' ? new Date() : new Date(end)}
value={end === '' ? new Date() : new Date(end)}
@@ -146,7 +148,7 @@ const DeviceCommands = () => {
toggleDetails(index);
}}
>
{details.includes(index) ? 'Hide' : 'Show'}
<CIcon name="cilList" size="lg" />
</CButton>
</td>
),