@ -1,12 +1,12 @@
<!DOCTYPE html>
< html lang = "en" >
< head >
< head >
< title > TräHus dashboard< / title >
< meta charset = "UTF-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< link rel = "icon" href = "imgs/infravis.ico" type = "image/x-icon" >
<!-- Required meta tags -->
<!-- required placeholder=" Required" meta tags -->
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
@ -18,84 +18,9 @@
< link rel = "stylesheet" href = "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css" >
< link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" >
<!-- <link href="./css/dash.css" rel="stylesheet"> -- >
< link href = "./css/dash.css" rel = "stylesheet" >
< style >
.card-img-top {
width:150px;
}
#myhouse {
background-color: #3e3e3e;
color:#ffffff;
padding:1.5em;
}
#templates {
margin-top:10px;
margin-bottom:10px;
}
.frama {
margin-top:20px;
width:100%;
}
.col {
border-right: 1rem solid #3e3e3e;
padding: 3px;
overflow: auto;
width: 30%;
float:left;
resize:horizontal
}
.frame div:hover {
border-bottom:1px dashed #c51313;
}
.resizable-column {
overflow: auto;
}
.resizable-column:hover {
cursor: col-resize;
}
div span, h5, h4, svg, canvas, .col div {
cursor: default;
}
.mysvg {
/* Set the width of each div */
margin: 10px; /* Set the margin to create space between divs */
background-color: #dddcdc; /* Optional background color for clarity */
border-bottom: 4px solid #7f7f81;
display:block;
}
div svg {
display:block;
}
.myheight {
height:360px;
}
div.sortable-item {
cursor:move;
}
#tooltip {
display: block;
position: absolute;
background-color: white;
padding: 5px;
border: 1px solid #ccc;
}
/*------------------*/
.tooltip {
position: absolute;
background-color: rgba(255, 255, 255, 0.8);
padding: 5px;
border: 1px solid #ddd;
border-radius: 3px;
pointer-events: none;
font-size: 12px;
}
.axis {
fill: none;
font-size: 10px;
shape-rendering: crispEdges;
}
< / style >
<!-- JS libs -->
@ -112,16 +37,12 @@
< script src = "./js/d3-horizon-chart0.0.5.js" > < / script >
< script src = "./config/config.js" > < / script >
< script src = "./config/datamap.js" > < / script >
< / head >
< body >
< div class = "container" style = "max-width:90%" >
<!-- Navbar -->
< nav id = "navbar" class = "navbar navbar-dark bg-primary navbar-expand-lg navbar-light bg-light" >
< / nav >
@ -165,7 +86,7 @@
< form id = "saveBoardForm" class = "addtext" >
< div class = "mb-3" >
< label for = "boardNameLabel" class = "form-label" > Board name< / label >
< input type = "email" class = "form-control" id = "boardName" placeholder = "name@example.com" >
< input required placeholder = "required placeholder=" Required " " type = "email" class = "form-control" id = "boardName" placeholder = "name@example.com" >
< / div >
< div class = "mb-3" >
< label for = "boardDescLabel" class = "form-label" > Description< / label >
@ -332,7 +253,7 @@
< p > Select Month and Year:< / p >
< div id = "SelectYearMonth1" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< input id = "PMYearMonth" name = "PMYearMonth" type = "text" class = "span2" >
< input required placeholder = "Required" id = "PMYearMonth" name = "PMYearMonth" type = "text" class = "span2" >
< / div >
< p > < / p >
@ -383,7 +304,7 @@
< div id = "parallelSelectYearMonthWeek" class = "input-group date" >
< label for = "time" > Select a week,< br / > (clicking in a Monday)< / label >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< input id = "PWWeekMonday" name = "PWWeekMonday" type = "text" class = "span2" >
< input required placeholder = "Required" id = "PWWeekMonday" name = "PWWeekMonday" type = "text" class = "span2" >
< / div >
< p > < / p >
@ -435,9 +356,8 @@
<!-- DD/MM/YYYY SELECT -->
< div id = "SelectYearMonthDay" class = "input-group date" >
< label style = "width:100%;" for = "day" > Select Day, Month, Year< / label >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< input id = "PDYearMonthDay" name = "PDYearMonthDay" type = "text" class = "span2" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< input required placeholder = "Required" id = "PDYearMonthDay" name = "PDYearMonthDay" type = "text" class = "span2" >
< / div >
<!-- TIME SELECT -->
< p > < / p >
@ -455,7 +375,6 @@
< / div >
< / form >
< / div >
< / div >
< / div >
< / div >
@ -525,7 +444,6 @@
< div id = "SelectSensor" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "GYSensor" name = "GYSensor" class = "form-select col-md-3 span2" aria-label = "parallel-family-select" >
< / select >
< / div >
< p > < / p >
@ -533,16 +451,13 @@
< div class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "GYParameter" name = "GYParameter" class = "form-select col-md-3 span2" aria-label = "grid-family-select" >
< / select >
< / div >
< p > < / p >
< div id = "gridSelectYear" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< select id = "GYYear" name = "GYYear" class = "form-select" aria-label = "grid-yearly-select" >
< select id = "GYYear" name = "GYYear" class = "form-select" aria-label = "grid-yearly-select" >
< / select >
< / div >
<!-- TIME SELECT -->
< p > < / p >
@ -582,15 +497,13 @@
< div class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "GMParameter" name = "GMParameter" class = "form-select col-md-3 span2" aria-label = "grid-family-select" >
< / select >
< / div >
< p > < / p >
< div id = "grid-SelectYearMonth" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< input id = "GMYearMonth" name = "GMYearMonth" type = "text" class = "span2" >
< input required placeholder = "Required" id = "GMYearMonth" name = "GMYearMonth" type = "text" class = "span2" >
< / div >
< p > < / p >
@ -623,15 +536,13 @@
< div id = "SelectSensor" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "GWSensor" name = "GWSensor" class = "form-select col-md-3 span2" aria-label = "parallel-family-select" >
< / select >
< / div >
< p > < / p >
< p > Select parameter:< / p >
< div class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "GWParameter" name = "GWParameter" class = "form-select col-md-3 span2" aria-label = "grid-family-select" >
< select id = "GWParameter" name = "GWParameter" class = "form-select col-md-3 span2" aria-label = "grid-family-select" >
< / select >
< / div >
< p > < / p >
@ -640,7 +551,7 @@
<!-- Monday/MM/YYYY - > week selecting a Monday -->
< div id = "SelectYearMonthWeek" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< input id = "GWYearMonthMonday" name = "GWYearMonthMonday" type = "text" class = "span2" >
< input required placeholder = "Required" id = "GWYearMonthMonday" name = "GWYearMonthMonday" type = "text" class = "span2" >
< / div >
<!-- TIME SELECT -->
< p > < / p >
@ -658,7 +569,6 @@
< / div >
< / form >
< / div >
< / div >
< / div >
< / div >
@ -725,7 +635,7 @@
< form id = "HY" >
< div >
< span class = "col-md-3" > Diagram title: < / span >
< input id = "HYTitle" name = "HYTitle" type = "text" class = "span2" >
< input required placeholder = "Required" id = "HYTitle" name = "HYTitle" type = "text" class = "span2" >
< / div >
< p > < / p >
@ -733,12 +643,10 @@
< div id = "SelectSensor" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "HYFamSensor" name = "HYFamSensor" class = "form-select col-md-3 span2" aria-label = "parallel-family-select" >
< / select >
< / div >
< p > < / p >
< p > < / p >
< p > Select parameter:< / p >
< div class = "input-group date" >
@ -751,7 +659,6 @@
< div id = "horizon-optionMonthly" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< select id = "HYYear" name = "HYYear" class = "form-select" aria-label = "horizon-yearly-select" >
< / select >
< / div >
@ -761,7 +668,7 @@
< label for = "time" > Time< / label >
< div class = "input-group date" id = "timePicker" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-clock" aria-hidden = "true" > < / i > < / span >
< input id = "HYTime" disabled name = "HYTime" type = "text" class = "timePicker span2" >
< input required placeholder = "Required" id = "HYTime" disabled name = "HYTime" type = "text" class = "timePicker span2" >
< / div >
< / div >
<!-- SUBMIT BUTTON -->
@ -788,7 +695,6 @@
< div id = "SelectSensor" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "HMFamSensor" name = "HMFamSensor" class = "form-select col-md-3 span2" aria-label = "parallel-family-select" >
< / select >
< / div >
< p > < / p >
@ -799,14 +705,13 @@
< div class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "HMParameter" name = "HMParameter" class = "form-select col-md-3 span2" aria-label = "grid-family-select" >
< / select >
< / div >
< p > < / p >
< div id = "horizon-SelectYearMonth" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< input id = "HMYearMonth" name = "GMYearMonth" type = "text" class = "span2" >
< input required placeholder = "Required" id = "HMYearMonth" name = "GMYearMonth" type = "text" class = "span2" >
< / div >
< p > < / p >
@ -845,7 +750,6 @@
< div id = "SelectSensor" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "HWFamSensor" name = "HWFamSensor" class = "form-select col-md-3 span2" aria-label = "parallel-family-select" >
< / select >
< / div >
< p > < / p >
@ -856,7 +760,6 @@
< div class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "HWParameter" name = "HWParameter" class = "form-select col-md-3 span2" aria-label = "grid-family-select" >
< / select >
< / div >
< p > < / p >
@ -866,7 +769,7 @@
< div id = "horizonSelectYearMonthWeek" class = "input-group date" >
< label for = "time" > Select a week,< br / > (clicking in a Monday)< / label >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< input id = "HWWeek" name = "HWWeek" type = "text" class = "span2" >
< input required placeholder = "Required" id = "HWWeek" name = "HWWeek" type = "text" class = "span2" >
< / div >
<!-- TIME SELECT -->
< p > < / p >
@ -899,7 +802,6 @@
< div id = "SelectSensor" class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "HDFamSensor" name = "HDFamSensor" class = "form-select col-md-3 span2" aria-label = "parallel-family-select" >
< / select >
< / div >
< p > < / p >
@ -907,7 +809,6 @@
< div class = "input-group date" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-list-ul" aria-hidden = "true" > < / i > < / span >
< select id = "HDParameter" name = "HDParameter" class = "form-select col-md-3 span2" aria-label = "parallel-family-select" >
< / select >
< / div >
< p > < / p >
@ -917,7 +818,7 @@
< label style = "width:100%;" for = "day" > Select Day, Month, Year< / label >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-calendar3" aria-hidden = "true" > < / i > < / span >
< input id = "HDYearMonthDay" name = "HDYearMonthDay" type = "text" class = "span2" >
< input required placeholder = "Required" id = "HDYearMonthDay" name = "HDYearMonthDay" type = "text" class = "span2" >
< / div >
<!-- TIME SELECT -->
< p > < / p >
@ -925,7 +826,7 @@
< label for = "time" > Time< / label >
< div class = "input-group date" id = "timePicker" >
< span class = "input-group-text input-group-addon" > < i class = "bi bi-clock" aria-hidden = "true" > < / i > < / span >
< input placeholder = "Disabled Input" disabled id = "PDTime" disabled name = "PDTime" type = "text" class = "timePicker span2" >
< input placeholder = "Disabled Input" disabled id = "PDTime" disabled name = "PDTime" type = "text" class = "timePicker span2" >
< / div >
< / div >
<!-- SUBMIT BUTTON -->
@ -935,13 +836,16 @@
< / div >
< / form >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< footer class = "fixed-bottom bg-dark text-light text-center py-2" >
<!-- Footer content -->
This is the fixed footer.
< / footer >
< / div > <!-- Closing MODAL dialog -->
@ -952,27 +856,16 @@
<!-- Add the tooltip element here -->
< div id = "tooltip_gm" > < / div >
< / div > <!-- main body container closing -->
<!-- //////////////////////////////////////// -->
<!-- //////////////////////////////////////// -->
<!-- rich text editor -->
<!-- rich text editor -->
< link href = "https://cdn.quilljs.com/1.3.6/quill.snow.css" rel = "stylesheet" >
< script src = "https://cdn.quilljs.com/1.3.6/quill.js" > < / script >
< script >
< / script >
< script src = "//cdn.quilljs.com/1.0.0/quill.js" > < / script >
<!-- // Main dash JS code -->
< script src = "./js/dash.js" > < / script >
<!-- // Main dash JS code -->
< script src = "./js/dash.js" > < / script >
<!-- // Bootstrap Bundle with Popper -->
< script src = "https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity = "sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin = "anonymous" > < / script >