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>
|
<tr>
|
||||||
<th>UID</th>
|
<th>UID</th>
|
||||||
<th>was</th>
|
<th>was</th>
|
||||||
<th>wann</th>
|
<!--th>wann</th>
|
||||||
<th>wo</th>
|
<th>wo</th-->
|
||||||
<th>kiste</th>
|
<th>kiste</th>
|
||||||
<th>foto</th>
|
<th>foto</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
@ -25,8 +25,8 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th>UID</th>
|
<th>UID</th>
|
||||||
<th>was</th>
|
<th>was</th>
|
||||||
<th>wann</th>
|
<!--th>wann</th>
|
||||||
<th>wo</th>
|
<th>wo</th-->
|
||||||
<th>kiste</th>
|
<th>kiste</th>
|
||||||
<th>foto</th>
|
<th>foto</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
@ -34,13 +34,13 @@
|
||||||
</tfoot>
|
</tfoot>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
foreach( get_founditems(true) as $item){
|
foreach( get_founditems() as $item){
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo $item["uid"]; ?> </td>
|
<td><?php echo $item["uid"]; ?> </td>
|
||||||
<td><?php echo $item["was"]; ?></td>
|
<td><?php echo $item["was"]; ?></td>
|
||||||
<td><?php echo $item["wann"]; ?></td>
|
<!--td><?php echo $item["wann"]; ?></td>
|
||||||
<td><?php echo $item["wo"]; ?></td>
|
<td><?php echo $item["wo"]; ?></td-->
|
||||||
<td><?php echo $item["container"];?></td>
|
<td><?php echo $item["container"];?></td>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
|
@ -53,17 +53,15 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<!--<td><img style="height: 48px;" src="/upload/<?php echo $item["hash"]; ?>"></td>-->
|
|
||||||
<td>
|
<td>
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
<button type="button" class="btn btn-outline-secondary"><i class="fas fa-fw fa-check-circle"></i></button>
|
<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>-->
|
<!--<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"
|
<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"]; ?>',
|
onclick='fill_edit_form(<?php echo json_encode($item); ?>);' title="edit">
|
||||||
'<?php echo $item["wo"]; ?>','<?php echo $item["hash"]; ?>','<?php echo $item["container"];?>')">
|
|
||||||
<i class="fas fa-fw fa-edit"></i>
|
<i class="fas fa-fw fa-edit"></i>
|
||||||
</button>
|
</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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<!--td>
|
<!--td>
|
||||||
|
|
|
@ -31,6 +31,15 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="/matches/">
|
||||||
|
<i class="fas fa-fw fa-check"></i>
|
||||||
|
<span>Matches</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="dropdown-divider"></div>
|
||||||
|
|
||||||
|
|
||||||
<!--li class="nav-item">
|
<!--li class="nav-item">
|
||||||
|
@ -57,13 +66,7 @@
|
||||||
<span>Lost</span>
|
<span>Lost</span>
|
||||||
</a>
|
</a>
|
||||||
</li-->
|
</li-->
|
||||||
<li class="nav-item">
|
<!--li class="nav-item">
|
||||||
<a class="nav-link" href="/matches/">
|
|
||||||
<i class="fas fa-fw fa-check"></i>
|
|
||||||
<span>Matches</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="/tinder/">
|
<a class="nav-link" href="/tinder/">
|
||||||
<i class="fas fa-fw fa-comments"></i>
|
<i class="fas fa-fw fa-comments"></i>
|
||||||
<span>Tinder</span>
|
<span>Tinder</span>
|
||||||
|
@ -74,7 +77,7 @@
|
||||||
<i class="fas fa-fw fa-comments"></i>
|
<i class="fas fa-fw fa-comments"></i>
|
||||||
<span>NeoTinder</span>
|
<span>NeoTinder</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li-->
|
||||||
<!--li class="nav-item dropdown">
|
<!--li class="nav-item dropdown">
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="pagesDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a class="nav-link dropdown-toggle" href="#" id="pagesDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<i class="fas fa-fw fa-folder"></i>
|
<i class="fas fa-fw fa-folder"></i>
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
<?php
|
<?php
|
||||||
include "templates/found_item_table.php";
|
include "templates/found_item_table.php";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div>
|
<div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div>
|
||||||
|
|
Loading…
Reference in a new issue