Blame view

app/modbus-data-viewer/src/service-web/templates/main.tmpl 854 Bytes
fd05639c9   김태훈   웹으로 모드버스 테이블 보여주는...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
  <!DOCTYPE html>
  <html lang="en">
    <head>
      <style>
  th, td { padding: 0.5em }
  table.data
  {
      display: inline-block;
      text-align: right;
      font-family: monospace;
      font-size: 1.2em;
      border: 1px solid black;
  }
      </style>
    </head>
    <body>
      <table class="data">
        <tr>
          <th>Address</th>
          <th>Address</th>
          <th>Value</th>
          <th>Value</th>
        </tr>
        <tr>
          <th>(Dec)</th>
          <th>(Hex)</th>
          <th>(Hex)</th>
          <th>(Dec)</th>
        </tr>
  {{.Table_Control}}
      </table>
      <table class="data">
        <tr>
          <th>Address</th>
          <th>Address</th>
          <th>Value</th>
          <th>Value</th>
        </tr>
        <tr>
          <th>(Dec)</th>
          <th>(Hex)</th>
          <th>(Hex)</th>
          <th>(Dec)</th>
        </tr>
  {{.Table_State}}
      </table>
    </body>
  </html>