Skip to content

Commit

Permalink
add another style glitch patch which brings back the more dense device
Browse files Browse the repository at this point in the history
list presentation in the device status display.
  • Loading branch information
jens-maus committed Sep 27, 2024
1 parent 55fdb0f commit b86c8b2
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@
string sStyle = "";
--- occu/WebUI/www/rega/pages/tabs/control/devices.htm.orig
+++ occu/WebUI/www/rega/pages/tabs/control/devices.htm
@@ -21,15 +21,10 @@
@@ -21,19 +21,14 @@
<tr>
<!-- Linke Spalte -->
<td id="contentLeft" class="hidden">
Expand All @@ -1548,16 +1548,26 @@
- </script>
<table id="tblFunctionNames" class="StatViewTbl CLASS03903 j_translate" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup>
<col style="width:50%;"/>
@@ -92,7 +87,7 @@
- <col style="width:50%;"/>
- <col style="width:50%;"/>
+ <col style="width:80%;"/>
+ <col style="width:20%;"/>
</colgroup>
<tr>
<th>${thName}</th>
@@ -92,10 +87,10 @@
}
string trId = "devices"#devs.ID();
WriteLine('<tr id="'#trId#'" class="CLASS03904">');
- Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")'>");
+ Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
+ Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write(devs.Name());
Write("</td>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;'>");
- Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;'>");
+ Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906'>");

string sPicDivId = "picDiv"#devs.ID();
Write("<div id='"#sPicDivId#"' class='CLASS03907' style='margin:auto;' ");
@@ -130,12 +125,7 @@
<!-- Rechte Spalte -->
<td id="contentRight">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<div id="divDL" class="CLASS03902">
<table id="tblFunctionNames" class="StatViewTbl CLASS03903 j_translate" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup>
<col style="width:50%;"/>
<col style="width:50%;"/>
<col style="width:80%;"/>
<col style="width:20%;"/>
</colgroup>
<tr>
<th>${thName}</th>
Expand Down Expand Up @@ -87,10 +87,10 @@
}
string trId = "devices"#devs.ID();
WriteLine('<tr id="'#trId#'" class="CLASS03904">');
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write(devs.Name());
Write("</td>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;'>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906'>");

string sPicDivId = "picDiv"#devs.ID();
Write("<div id='"#sPicDivId#"' class='CLASS03907' style='margin:auto;' ");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<div id="divDL" class="CLASS03902">
<table id="tblFunctionNames" class="StatViewTbl CLASS03903 j_translate" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup>
<col style="width:50%;"/>
<col style="width:50%;"/>
<col style="width:80%;"/>
<col style="width:20%;"/>
</colgroup>
<tr>
<th>${thName}</th>
Expand Down Expand Up @@ -87,10 +87,10 @@
}
string trId = "devices"#devs.ID();
WriteLine('<tr id="'#trId#'" class="CLASS03904">');
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write(devs.Name());
Write("</td>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;'>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906'>");

string sPicDivId = "picDiv"#devs.ID();
Write("<div id='"#sPicDivId#"' class='CLASS03907' style='margin:auto;' ");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<div id="divDL" class="CLASS03902">
<table id="tblFunctionNames" class="StatViewTbl CLASS03903 j_translate" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup>
<col style="width:50%;"/>
<col style="width:50%;"/>
<col style="width:80%;"/>
<col style="width:20%;"/>
</colgroup>
<tr>
<th>${thName}</th>
Expand Down Expand Up @@ -87,10 +87,10 @@
}
string trId = "devices"#devs.ID();
WriteLine('<tr id="'#trId#'" class="CLASS03904">');
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write(devs.Name());
Write("</td>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;'>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906'>");

string sPicDivId = "picDiv"#devs.ID();
Write("<div id='"#sPicDivId#"' class='CLASS03907' style='margin:auto;' ");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@
--- occu/WebUI/www/rega/pages/tabs/control/devices.htm.orig
+++ occu/WebUI/www/rega/pages/tabs/control/devices.htm
@@ -90,7 +90,7 @@
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write(devs.Name());
Write("</td>");
- Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;'>");
+ Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;' onclick='picDivHide(jg_250);DeviceListPage.showConfiguration(event, \"DEVICE\", "# devs.ID() #");' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")' >");
- Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906'>");
+ Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' onclick='picDivHide(jg_250);DeviceListPage.showConfiguration(event, \"DEVICE\", "# devs.ID() #");' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");

string sPicDivId = "picDiv"#devs.ID();
Write("<div id='"#sPicDivId#"' class='CLASS03907' style='margin:auto;' ");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<div id="divDL" class="CLASS03902">
<table id="tblFunctionNames" class="StatViewTbl CLASS03903 j_translate" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup>
<col style="width:50%;"/>
<col style="width:50%;"/>
<col style="width:80%;"/>
<col style="width:20%;"/>
</colgroup>
<tr>
<th>${thName}</th>
Expand Down Expand Up @@ -87,10 +87,10 @@
}
string trId = "devices"#devs.ID();
WriteLine('<tr id="'#trId#'" class="CLASS03904">');
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write(devs.Name());
Write("</td>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;' onclick='picDivHide(jg_250);DeviceListPage.showConfiguration(event, \"DEVICE\", "# devs.ID() #");' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")' >");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' onclick='picDivHide(jg_250);DeviceListPage.showConfiguration(event, \"DEVICE\", "# devs.ID() #");' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");

string sPicDivId = "picDiv"#devs.ID();
Write("<div id='"#sPicDivId#"' class='CLASS03907' style='margin:auto;' ");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<div id="divDL" class="CLASS03902">
<table id="tblFunctionNames" class="StatViewTbl CLASS03903 j_translate" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup>
<col style="width:50%;"/>
<col style="width:50%;"/>
<col style="width:80%;"/>
<col style="width:20%;"/>
</colgroup>
<tr>
<th>${thName}</th>
Expand Down Expand Up @@ -87,10 +87,10 @@
}
string trId = "devices"#devs.ID();
WriteLine('<tr id="'#trId#'" class="CLASS03904">');
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write(devs.Name());
Write("</td>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;'>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906'>");

string sPicDivId = "picDiv"#devs.ID();
Write("<div id='"#sPicDivId#"' class='CLASS03907' style='margin:auto;' ");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<div id="divDL" class="CLASS03902">
<table id="tblFunctionNames" class="StatViewTbl CLASS03903 j_translate" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup>
<col style="width:50%;"/>
<col style="width:50%;"/>
<col style="width:80%;"/>
<col style="width:20%;"/>
</colgroup>
<tr>
<th>${thName}</th>
Expand Down Expand Up @@ -82,10 +82,10 @@
}
string trId = "devices"#devs.ID();
WriteLine('<tr id="'#trId#'" class="CLASS03904">');
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write(devs.Name());
Write("</td>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;' onclick='picDivHide(jg_250);DeviceListPage.showConfiguration(event, \"DEVICE\", "# devs.ID() #");' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")' >");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' onclick='picDivHide(jg_250);DeviceListPage.showConfiguration(event, \"DEVICE\", "# devs.ID() #");' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");

string sPicDivId = "picDiv"#devs.ID();
Write("<div id='"#sPicDivId#"' class='CLASS03907' style='margin:auto;' ");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<div id="divDL" class="CLASS03902">
<table id="tblFunctionNames" class="StatViewTbl CLASS03903 j_translate" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup>
<col style="width:50%;"/>
<col style="width:50%;"/>
<col style="width:80%;"/>
<col style="width:20%;"/>
</colgroup>
<tr>
<th>${thName}</th>
Expand Down Expand Up @@ -87,10 +87,10 @@
}
string trId = "devices"#devs.ID();
WriteLine('<tr id="'#trId#'" class="CLASS03904">');
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' style='height: 80px;' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write("<td id='"#devs.ID()#"name' class='ButtonStatusRooms CLASS03905' onclick='fltHD.clearFilters();updateTable();loadChannels("#devs.ID()#")' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");
Write(devs.Name());
Write("</td>");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' style='height: 80px;' onclick='picDivHide(jg_250);DeviceListPage.showConfiguration(event, \"DEVICE\", "# devs.ID() #");' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")' >");
Write("<td id='"#devs.ID()#"pic' class='ButtonStatusRoomsPic CLASS03906' onclick='picDivHide(jg_250);DeviceListPage.showConfiguration(event, \"DEVICE\", "# devs.ID() #");' onmouseover='this.addClassName(\"DeviceListRow_Highlight\")' onmouseout='this.removeClassName(\"DeviceListRow_Highlight\")'>");

string sPicDivId = "picDiv"#devs.ID();
Write("<div id='"#sPicDivId#"' class='CLASS03907' style='margin:auto;' ");
Expand Down

0 comments on commit b86c8b2

Please sign in to comment.