Compare commits

..

No commits in common. "51f50d59feb26c828a45b07ea03b98ae8ce28a61" and "a883b0b206a58d4d0a37d835e96748a02f76c3e3" have entirely different histories.

2 changed files with 14 additions and 50 deletions

View File

@ -44,17 +44,13 @@ $hover-blue: #25b3ff;
// flex-wrap: wrap;
// below is taken from browse.scss
width: 90%;
width: 100%;
min-height: calc(100% - 200px);
height: auto;
// display: flex;
// align-self: center;
// align-items: center;
// justify-content: center;
// align-items: center;
// justify-content: flex-start;
// justify-self: center;
// flex-direction: column;
display: flex;
align-items: center;
justify-content: flex-start;
flex-direction: column;
overflow: hidden;
background-color: transparent;
margin-bottom: 50px;
@ -63,8 +59,6 @@ $hover-blue: #25b3ff;
.summary-grid {
width: 100%;
height: 100%; /* Adjust the height of iframes */
display: grid;
grid-template-columns: repeat(2, 1fr); /* 2 columns */
grid-gap: 10px; /* Adjust the gap between iframes */
@ -106,25 +100,6 @@ $hover-blue: #25b3ff;
width: 25%;
}
.summary-dashboard {
width: 100%;
height: 900px;
border-radius: 20px;
text-align: center;
padding: 10px;
}
.summary-title {
width: 100%;
height: 100%;
font-size: 1.5em;
font-weight: bold;
color: $dark-blue;
margin: 10px;
}
// .summary-fieldContainer-dashboard {
// width: 100%;
// height: 300px;

View File

@ -8,19 +8,22 @@ 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-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=9"
src="=http://192.168.1.12:3000/d/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&viewPanel=9"
// width="400"
// height="300"
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=8"
frameborder="0"></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>
<iframe
className="summary-iframe"
src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=7"
@ -28,26 +31,12 @@ 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=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"
src="http://192.168.1.12:3000/d-solo/cdiqwmlr8c9ogf/sensors?orgId=1&refresh=1s&theme=light&panelId=7"
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>
);