mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
add click message to show device details
This commit is contained in:
@@ -83,8 +83,11 @@ class EMSESPDevicesForm extends Component<EMSESPDevicesFormProps, EMSESPDevicesF
|
|||||||
const { width, data } = this.props;
|
const { width, data } = this.props;
|
||||||
return (
|
return (
|
||||||
<TableContainer>
|
<TableContainer>
|
||||||
<Typography variant="h6" color="primary" paragraph>
|
<Typography variant="h6" color="primary" >
|
||||||
Devices:
|
Devices
|
||||||
|
</Typography>
|
||||||
|
<Typography variant="caption" color="initial" paragraph>
|
||||||
|
<i>(click to show details)</i>
|
||||||
</Typography>
|
</Typography>
|
||||||
{!this.noDevices() && (
|
{!this.noDevices() && (
|
||||||
<Table size="small" padding={isWidthDown('xs', width!) ? "none" : "default"}>
|
<Table size="small" padding={isWidthDown('xs', width!) ? "none" : "default"}>
|
||||||
@@ -145,7 +148,7 @@ class EMSESPDevicesForm extends Component<EMSESPDevicesFormProps, EMSESPDevicesF
|
|||||||
<TableContainer>
|
<TableContainer>
|
||||||
<p></p>
|
<p></p>
|
||||||
<Typography variant="h6" color="primary" paragraph>
|
<Typography variant="h6" color="primary" paragraph>
|
||||||
Sensors:
|
Sensors
|
||||||
</Typography>
|
</Typography>
|
||||||
{!this.noSensors() && (
|
{!this.noSensors() && (
|
||||||
<Table size="small" padding="default">
|
<Table size="small" padding="default">
|
||||||
|
|||||||
Reference in New Issue
Block a user