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

36 lines
1.4 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>
2019-04-30 12:59:28 +00:00
<td style="text-align: right">
<?php
if(!$a->getApp()->user_cant_remove_app) {
echo '<a href="/gui/access/rm?id='.$a->id.'" class="btn btn-danger btn-sm">Remove Access</a>';
2019-04-30 12:59:28 +00:00
}
?>
</td>
2019-04-25 15:33:15 +00:00
</tr>
<?php
}
?>
</table>
</div>
</div>
<?php include(__DIR__."/../layout/bottom.php"); ?>