From 2ad1bc0cbfa09bde8e4f3c989d3be88529fa36dd Mon Sep 17 00:00:00 2001 From: Michael Scherle Date: Tue, 28 Feb 2017 20:23:54 +0300 Subject: frontend: more bugfixes, added design change to seperate rooms --- .../locationinfo/frontend/multidoorsign.html | 58 ++++++++++++++++++---- 1 file changed, 49 insertions(+), 9 deletions(-) diff --git a/modules-available/locationinfo/frontend/multidoorsign.html b/modules-available/locationinfo/frontend/multidoorsign.html index 82fcf19f..950517ed 100755 --- a/modules-available/locationinfo/frontend/multidoorsign.html +++ b/modules-available/locationinfo/frontend/multidoorsign.html @@ -44,6 +44,8 @@ optional: float: left; box-sizing: border-box; display:flex; + background-color: #cacaca; + overflow: hidden; } @@ -62,11 +64,12 @@ optional: padding: 0; height: 80px; + } .progressbar{ width: 0px; height: 2px; - position: relative; + position: absolute; background-color: red; bottom: 0px; z-index: 1; @@ -104,11 +107,21 @@ optional: .roomLayoutDesign { position: relative; - background: linear-gradient(#cccccc, white); float: left; boxSizing: border-box; + } + + .roompadding{ + + + } .room{ + position: relative; + background-color: white; + width: 100%; + height: 100%; + overflow: hidden; } @@ -117,6 +130,8 @@ optional: padding: 0; dboxSizing: border-box; background: linear-gradient(#cccccc, white); + + } .free-busy-busy { @@ -512,16 +527,30 @@ optional: if(roomsToshow == 4){ height = "50%"; } - + var i = 0; for (var property in rooms) { - var text = "
"; - + var text = ""; $("body").append(text); - var obj = document.getElementById("room_" + rooms[property].id); + + + + var obj = document.getElementById("roompadding_" + rooms[property].id); + console.log(obj); + if(roomsToshow > 1){ + obj.style.padding = "5px"; + if(i == 0) { + obj.style.paddingRight = "0px"; + } + } obj.style.width = width; obj.style.height = height; + var text = ""; + + $("#roompadding_" + rooms[property].id).append(text); + + text = "