Update enclosure_tab.jinja2
fix row span issue
This commit is contained in:
committed by
GitHub
parent
eafccfe411
commit
ffb7f8a6e9
@@ -20,8 +20,8 @@
|
||||
|
||||
<!-- ko foreach: $root.rpi_inputs_temperature_sensors() -->
|
||||
<tr>
|
||||
<th class="temperature_sensor" data-bind="text: label, attr: {title: label, rowspan: $root.calculateRowSpan(index_id}"></th>
|
||||
<td class="temperature_actual" data-bind="attr: {rowspan: $root.calculateRowSpan(index_id}">
|
||||
<th class="temperature_sensor" data-bind="text: label, attr: {title: label, rowspan: $root.calculateRowSpan(index_id)}"></th>
|
||||
<td class="temperature_actual" data-bind="attr: {rowspan: $root.calculateRowSpan(index_id)}">
|
||||
<span data-bind="text: temp_sensor_temp, attr: {title: temp_sensor_temp}"> </span>
|
||||
<!-- ko if: (use_fahrenheit()) -->
|
||||
<span class="add-on">°F</span>
|
||||
@@ -31,7 +31,7 @@
|
||||
<!-- /ko -->
|
||||
</td>
|
||||
<!-- ko if: ($root.humidityCapableSensor(temp_sensor_type())) -->
|
||||
<td class="humidity_actual" data-bind="attr: {rowspan: $root.calculateRowSpan(index_id}">
|
||||
<td class="humidity_actual" data-bind="attr: {rowspan: $root.calculateRowSpan(index_id)}">
|
||||
<span data-bind="text: temp_sensor_humidity, attr: {title: temp_sensor_humidity}"> </span>
|
||||
<span class="add-on">%</span>
|
||||
</td>
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
<!-- ko if: ($root.hasAnySensorWithHumidity()) -->
|
||||
<!-- ko ifnot: ($root.humidityCapableSensor(temp_sensor_type())) -->
|
||||
<td class="humidity_actual" data-bind="attr: {rowspan: $root.calculateRowSpan(index_id}">N/A</td>
|
||||
<td class="humidity_actual" data-bind="attr: {rowspan: $root.calculateRowSpan(index_id)}">N/A</td>
|
||||
<!-- /ko -->
|
||||
<!-- /ko -->
|
||||
|
||||
@@ -286,4 +286,4 @@
|
||||
<!-- /ko -->
|
||||
</h4>
|
||||
<!-- /ko -->
|
||||
<!-- /ko -->
|
||||
<!-- /ko -->
|
||||
|
||||
Reference in New Issue
Block a user