Grid and Full Dashboard is working

This commit is contained in:
Lucas
2024-05-09 22:40:09 -05:00
parent 3db7609bd5
commit 132afabf73
2 changed files with 50 additions and 14 deletions

View File

@ -8,22 +8,19 @@ export default class SummaryComponent extends Component {
<div className="summary">
<img className="summary-image" src={BeldenLogo} alt="Belden" />
<div className="summary-fieldContainer">
<h1 className="summary-title">Grid of Individual Graphs</h1>
<div className="summary-grid">
{/* <div className="summary-iframe"> */}
<iframe
className="summary-iframe"
src="=http://192.168.1.12:3000/d/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&viewPanel=9"
// width="400"
// height="300"
src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=9"
frameborder="0"
></iframe>
<iframe
className="summary-iframe"
src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=7"
// width="400"
// height="300"
frameborder="0"
></iframe>
src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=8"
frameborder="0"></iframe>
<iframe
className="summary-iframe"
src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=7"
@ -31,12 +28,26 @@ export default class SummaryComponent extends Component {
></iframe>
<iframe
className="summary-iframe"
src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=7"
src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=6"
frameborder="0"
></iframe>
<iframe
className="summary-iframe"
src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=5"
frameborder="0"
></iframe>
{/* </div> */}
{/* <iframe src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=7" width="450" height="200" frameborder="0"></iframe> */}
</div>
<h1 className="summary-title">Embed Dashboard in Kiosk Mode</h1>
<iframe
className="summary-dashboard"
src="http://192.168.1.12:3000/d/cdiqwmlr8c9ogf/sensors?orgId=1&theme=light&refresh=1s&kiosk"
frameborder="0"
></iframe>
</div>
</div>
);