mark last record in table uutinfo as blue
This commit is contained in:
parent
3f7ac44875
commit
ed4c7515a2
BIN
APIServer.exe
BIN
APIServer.exe
Binary file not shown.
4
APIServer.log
Normal file
4
APIServer.log
Normal file
@ -0,0 +1,4 @@
|
||||
2023/11/26 13:55:57.704762 [MSG] Starting Service ...
|
||||
2023/11/26 13:55:57.705863 [MSG] Starting HTTP Server On Port: 9000
|
||||
2023/11/26 14:18:51.150028 [MSG] Stopping Service ...
|
||||
2023/11/26 14:18:51.490959 [MSG] Service Stop.
|
11
ews/ews.go
11
ews/ews.go
@ -324,7 +324,16 @@ func (e *EWS) GetUutInfo(cfg cnf.Cfg, logger *log.Logger, host string, addr stri
|
||||
)
|
||||
|
||||
if err == nil {
|
||||
last = fmt.Sprintf(`<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>`,
|
||||
last = fmt.Sprintf(`<tr>
|
||||
<td style="color: blue;">%s</td>
|
||||
<td style="color: blue;">%s</td>
|
||||
<td style="color: blue;">%s</td>
|
||||
<td style="color: blue;">%s</td>
|
||||
<td style="color: blue;">%s</td>
|
||||
<td style="color: blue;">%s</td>
|
||||
<td style="color: blue;">%s</td>
|
||||
<td style="color: blue;">%s</td>
|
||||
</tr>`,
|
||||
ui.USN, ui.MAC, ui.IPAddr, ui.Relay, ui.Item, ui.Status, ui.Message, ui.LastChg)
|
||||
partNO = ui.PartNO
|
||||
mfgMO = ui.MfgMO
|
||||
|
Loading…
x
Reference in New Issue
Block a user