Explorar el Código

更新 'templates/optim.html'

nemo0526 hace 3 años
padre
commit
1cb531d019
Se han modificado 1 ficheros con 11 adiciones y 11 borrados
  1. 11 11
      templates/optim.html

+ 11 - 11
templates/optim.html

@@ -24,11 +24,11 @@
 </div>
      <div id="tower_temperature">
         <div id="tower_temperature">
-        <div scr="hot_water" style="width: 300px;height:300px;color: #26b72b;float:left">熱水溫度</div>
+        <div scr="hot_water" style="width: 100px;height:100px;color: #26b72b;float:left">熱水溫度</div>
           <font size="1">{{ x }}</font><br>
-        <div id="cold_water" style="width: 300px;height:300px;color: #8600FF;float:left">冷水溫度</div>
+        <div id="cold_water" style="width: 100px;height:100px;color: #8600FF;float:left">冷水溫度</div>
           <font size="1">{{ y }}</font><br>
-        <div id="wet_water" style="width: 300px;height:300px;color: #737300;float:left">濕球溫度</div>
+        <div id="wet_water" style="width: 100px;height:100px;color: #737300;float:left">濕球溫度</div>
           <font size="1">{{ z }}</font><br>
     </div>
     <style>
@@ -56,11 +56,11 @@ tr:nth-child(even) {
   </tr>
   <tr>
     <td>水流量</td>
-    <td>M*3/H</td>
+    <td>{{ x }}  M*3/H</td>
   </tr>
   <tr>
     <td>風扇數</td>
-    <td>台</td>
+    <td>{{ x }}  台</td>
   </tr>
 </table>
 
@@ -71,27 +71,27 @@ tr:nth-child(even) {
   </tr>
   <tr>
     <th>目前溫度</th>
-    <th>度C</th>
+    <th>{{ x }}  度C</th>
   </tr>
   <tr>
     <td>流量建議調整為</td>
-    <td>M*3/H</td>
+    <td>{{ x }}  M*3/H</td>
   </tr>
   <tr>
     <td>可節省水費</td>
-    <td>元/天</td>
+    <td>{{ x }}  元/天</td>
   </tr>
   <tr>
     <td>風扇建議調整為</td>
-    <td>台</td>
+    <td>{{ x }}  台</td>
   </tr>
    <tr>
     <td>可節省電費</td>
-    <td>元/天</td>
+    <td>{{ x }}  元/天</td>
   </tr>
    <tr>
     <td>總節省費用</td>
-    <td>元/天</td>
+    <td>{{ x }}  元/天</td>
   </tr>
 </table>