Merge branch 'master' of gitea.haschek.at:Crispi/dogstats
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
2023-10-30 19:27:46 +01:00
3 changed files with 17 additions and 47 deletions

View File

@ -60,49 +60,3 @@
<?php endforeach; ?>
</div>
</div>
<!--
<figure class="table-responsive">
<table class="table" role="grid">
<thead>
<tr>
<th>
Login
</th>
<th>
Edit
</th>
<?php foreach (array_keys($userdata[0]) as $key) : ?>
<th>
<?= $key ?>
</th>
<?php endforeach; ?>
</tr>
</thead>
<tbody>
<?php foreach ($userdata as $user) : ?>
<tr>
<td>
<button name="email" value="<?= $user['email'] ?>" hx-post="/admin/loginas/">Login</button>
</td>
<td>
<button name="email" value="<?= $user['email'] ?>" hx-post="/admin/edituser/" hx-target="#main">Edit</button>
</td>
<?php foreach (array_keys($user) as $key) : ?>
<td class="px-6 py-4 text-sm text-gray-500">
<?= is_array($user[$key])?json_encode($user[$key]):$user[$key] ?>
</td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</figure> -->