Update dashboard styles and API endpoint

This commit is contained in:
Sietse Jonker
2024-04-03 11:09:21 +02:00
parent 045fbb50d9
commit c44c9c82b3
2 changed files with 1 additions and 74 deletions

View File

@@ -196,7 +196,6 @@ body {
.navbar { .navbar {
background-color: #333; background-color: #333;
border-bottom: 2px solid #CC2936;
height: 60px; height: 60px;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -238,76 +237,4 @@ body {
width: 95%; width: 95%;
box-sizing: border-box; box-sizing: border-box;
} }
.data-types {
flex: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
margin-right: 60px;
margin-bottom: 10px;
font-size: 0.8em;
padding: 8px;
border-radius: 5px;
background-color: #f0f0f0;
}
.filters {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
margin-bottom: 10px;
}
.date-filter {
flex: 1;
text-align: center;
margin-right: 60px;
font-size: 1.2em; /* Increase font size for a bigger appearance */
padding: 8px;
border-radius: 5px; /* Add border radius for a rounded look */
background-color: #f0f0f0; /* Light background color for contrast */
}
.node-filter {
flex: 1;
margin: auto;
text-align: center;
margin-right: 60px;
align-content: center;
font-size: 1.2em; /* Increase font size for a bigger appearance */
padding: 8px;
border-radius: 5px; /* Add border radius for a rounded look */
background-color: #f0f0f0; /* Light background color for contrast */
}
.filter-button {
width: 10%;
background-color: #007bff;
color: white;
padding: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.js-plotly-plot {
width: 100%;
height: 100%;
align-self: center center;
}
/* Additional styling as needed */
.graphBody {
display: flex;
padding: 10px;
border: 3px solid #ccc;
border-radius: 10px;
justify-content: center;
width: 95%;
height: 100%;
align-content: center;
align-self: center;
}

View File

@@ -1,4 +1,4 @@
apiGetAllNode = "http://145.92.8.114/getInfoNode?macAdress=*" apiGetAllNode = "http://145.92.8.114/getNodeInfo?macAdress=*"
nodeDataArray = {}; nodeDataArray = {};