voc / wink

(W)o (i)st mei(n)e Winke(k)atze? - C3VOC inventory and transport planning interface.
https://c3voc.de/wink
5 stars 3 forks source link

Empty <tbody> in "missing or broken items" overview (front page) #42

Open fkusei opened 1 year ago

fkusei commented 1 year ago

Generated HTML looks like this:

<table border='1'>
<thead>
<tr>
<th>State</th>
<th>Name</th>
<th>Model</th>
<th>Last comment</th>
<th>Actions</th>
</tr>
</thead>
<tbody></tbody>
<tr>
<td class='missing' title='missing'>missing</td>
<td class='no_color'>
<a href='/wink/items/25'>Ethernet-Kabel</a>
</td>
<td class='no_color'>
<a href='/wink/items/25'>5m</a>
</td>
<td class='no_color'>
<a href='/wink/items/25'>
WINK: Item marked as missing by &#39;fku&#39; during &#39;Eventname&#39;.
</a>
</td>
<td>
<a href='/wink/items/25'>show</a>
<a href='/wink/items/25/edit'>edit</a>
</td>
</tr>

Note the empty <tbody></tbody> after </thead>. This leads to broken Styling, because table rows are outside the tbody.