Debian Codegraph @

src/app/components/can-table/can-table.component.html

raw symbols SCIP
1 <div class="table-responsive">
2 <table class="table table-dark table-sm">
3 <thead>
4 <tr>
5 <th width="1%" sortable-column="name" sort-direction="asc">Name</th>
6 <th>Description</th>
7 <th width="1%" sortable-column="frames">Frames</th>
8 <th width="1%" sortable-column="read">Read</th>
9 <th width="1%" class="nowrap" sortable-column="last_seen">Seen</th>
10 </tr>
11 </thead>
12 <tbody>
13
14 <tr *ngIf="devices.length == 0">
15 <td colspan="4" align="center">
16 <i>empty</i>
17 </td>
18 </tr>
19
20 <tr *ngFor="let device of devices | search: omnibar.query" [class.alive]="device | alive:5000">
21 <td class="nowrap">
22 {{ device.name }}
23 </td>
24 <td>
25 {{ device.description ? device.description : ''}}
26 </td>
27 <td class="nowrap">
28 {{ device.frames }}
29 </td>
30 <td class="nowrap">
31 {{ device.read | size }}
32 </td>
33 <td class="nowrap time">{{ device.last_seen | date: 'HH:mm:ss' }}</td>
34 </tr>
35 </tbody>
36 </table>
37 </div>