This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccount/resources/views/access/list.php

29 lines
1.2 KiB
PHP
Raw Normal View History

2019-04-25 15:33:15 +00:00
<?php include(__DIR__."/../layout/top.php"); ?>
<div class="row">
<div class="col-md-12">
<h3>App Access</h3>
<p>Here is a list of all Apps who have access to your Account. You can remove the Access if you want to.</p>
<table class="table">
<tr>
<th>App Name</th>
<th>App Beschreibung</th>
<th>Zugriff seit</th>
<th style="text-align: right">Aktionen</th>
</tr>
<?php
foreach($access as $a) {
?>
<tr>
<td><?php echo $a->getApp()->name; ?></td>
<td><?php echo $a->getApp()->description; ?></td>
<td><?php echo $a->created_at->format("d.m.Y H:i"); ?></td>
<td style="text-align: right"><a href="/gui/access/rm?id=<?php echo $a->id; ?>" class="btn btn-danger btn-sm">Remove Access</a> </td>
</tr>
<?php
}
?>
</table>
</div>
</div>
<?php include(__DIR__."/../layout/bottom.php"); ?>