clean up table
This commit is contained in:
parent
c11edf96c9
commit
e5e47d5741
3 changed files with 23 additions and 19 deletions
|
@ -14,8 +14,8 @@
|
|||
<tr>
|
||||
<th>UID</th>
|
||||
<th>was</th>
|
||||
<th>wann</th>
|
||||
<th>wo</th>
|
||||
<!--th>wann</th>
|
||||
<th>wo</th-->
|
||||
<th>kiste</th>
|
||||
<th>foto</th>
|
||||
<th></th>
|
||||
|
@ -25,8 +25,8 @@
|
|||
<tr>
|
||||
<th>UID</th>
|
||||
<th>was</th>
|
||||
<th>wann</th>
|
||||
<th>wo</th>
|
||||
<!--th>wann</th>
|
||||
<th>wo</th-->
|
||||
<th>kiste</th>
|
||||
<th>foto</th>
|
||||
<th></th>
|
||||
|
@ -34,13 +34,13 @@
|
|||
</tfoot>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach( get_founditems(true) as $item){
|
||||
foreach( get_founditems() as $item){
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $item["uid"]; ?> </td>
|
||||
<td><?php echo $item["was"]; ?></td>
|
||||
<td><?php echo $item["wann"]; ?></td>
|
||||
<td><?php echo $item["wo"]; ?></td>
|
||||
<!--td><?php echo $item["wann"]; ?></td>
|
||||
<td><?php echo $item["wo"]; ?></td-->
|
||||
<td><?php echo $item["container"];?></td>
|
||||
<td>
|
||||
<?php
|
||||
|
@ -53,17 +53,15 @@
|
|||
}
|
||||
?>
|
||||
</td>
|
||||
<!--<td><img style="height: 48px;" src="/upload/<?php echo $item["hash"]; ?>"></td>-->
|
||||
<td>
|
||||
<div class="btn-group" role="group">
|
||||
<button type="button" class="btn btn-outline-secondary"><i class="fas fa-fw fa-check-circle"></i></button>
|
||||
<!--<a href="/found_item_edit/<?php echo $item["id"]; ?>/" type="button" class="btn btn-outline-secondary"><i class="fas fa-fw fa-edit"></i></a>-->
|
||||
<button type="button" class="btn btn-outline-secondary" data-toggle="modal" data-target="#exampleModal"
|
||||
onclick="fill_edit_form(<?php echo $item["id"]; ?>,'<?php echo $item["was"]; ?>','<?php echo $item["wann"]; ?>',
|
||||
'<?php echo $item["wo"]; ?>','<?php echo $item["hash"]; ?>','<?php echo $item["container"];?>')">
|
||||
onclick='fill_edit_form(<?php echo json_encode($item); ?>);' title="edit">
|
||||
<i class="fas fa-fw fa-edit"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-outline-danger" onclick="delete_item(<?php echo $item["id"]; ?>)"><i class="fas fa-fw fa-trash-alt"></i></button>
|
||||
<button type="button" class="btn btn-outline-danger" onclick="delete_item(<?php echo $item["id"]; ?>)" title="delete"><i class="fas fa-fw fa-trash-alt"></i></button>
|
||||
</div>
|
||||
</td>
|
||||
<!--td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue