Browse Source

更新 'templates/device.html'

nemo0526 3 years ago
parent
commit
6e0dc2e8f9
1 changed files with 18 additions and 6 deletions
  1. 18 6
      templates/device.html

+ 18 - 6
templates/device.html

@@ -6,10 +6,22 @@
 
 
 {% block body %}
-    <div id="select_devices">
-        <button>設備</button>
-        <button>通道</button>
-        <button>事件</button>
-
-    </div>
+    <table>
+  <tr>
+    <td>設備編碼</td>
+    <td>設備名稱</td>
+    <td>網路位置</td>
+    <td>區域編碼</td>
+    <td>區域編碼2</td>
+    <td>區域編碼3</td>
+  </tr>
+ 
+{%for col in a %}
+<tr>
+    {% for cell in col %}
+    <td>{{cell}}</td>
+    {% endfor %}
+</tr>
+{% endfor %}
+</table>
 {% endblock %}