29 lines
1.2 KiB
PHP
29 lines
1.2 KiB
PHP
|
<?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"); ?>
|