@@ -12,72 +12,52 @@ const MetricsView = (props) => {
Last 30 Days:
-
- Received: {bytesToSize(props.metrics30.rx)}
- Sent: {bytesToSize(props.metrics30.tx)}
-
-
-
-
-
-
- v.timestamp} scale={"time"} tickFormatter={(v) => moment(v).format("MMM DD") } style={{ fontSize: '75%'}}/>
- bytesToSize(v)} style={{ fontSize: '75%' }}/>
-
-
-
-
-
-
-
+
+
Last 7 Days:
-
- Received: {bytesToSize(props.metrics7.rx)}
- Sent: {bytesToSize(props.metrics7.tx)}
-
-
-
-
-
-
- v.timestamp} scale={"time"} tickFormatter={(v) => moment(v).format("MMM DD") } style={{ fontSize: '75%'}}/>
- bytesToSize(v)} style={{ fontSize: '75%' }}/>
-
-
-
-
-
-
-
+
+
Last 24 Hours:
-
- Received: {bytesToSize(props.metrics1.rx)}
- Sent: {bytesToSize(props.metrics1.tx)}
-
-
-
-
-
-
- v.timestamp} scale={"time"} tickFormatter={(v) => moment(v).format("MMM DD") } style={{ fontSize: '75%'}}/>
- bytesToSize(v)} style={{ fontSize: '75%' }}/>
-
-
-
-
-
-
-
+
+
);
}
-export default MetricsView;
\ No newline at end of file
+const MetricsSummary = (props) => {
+ return (
+