770751637f9580824a9375aab9c1578358d2004b
[grauphel.git] / templates / tokens.php
1 <link rel="stylesheet" href="<?php p(OCP\Util::linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
2
3 <?php /** @var $l OC_L10N */ ?>
4 <?php $_['appNavigation']->printPage(); ?>
5
6 <div id="app-content" class="list">
7   <h1>Manage access tokens</h1>
8   <table class="table">
9    <thead>
10     <tr>
11      <th>Token</th>
12      <th>Client</th>
13      <th>Last use</th>
14      <th>Actions</th>
15     </tr>
16    </thead>
17    <tbody>
18     <?php foreach ($_['tokens'] as $token) { ?>
19       <tr>
20        <td><?php p($token->tokenKey); ?></td>
21        <td title="<?php p($token->client); ?>"><?php p($_['client']->getNiceName($token->client)); ?></td>
22        <td><?php p(\OCP\Util::formatDate($token->lastuse)); ?></td>
23        <td>Disable Delete</td>
24       </tr>
25     <?php } ?>
26    </tbody>
27  </table>
28 </div>