style the token list a bit
[grauphel.git] / templates / tokens.php
index 531883d0e4977229034e57a074c9b009206c6b96..4a578f577649e35b0c2cc619a5ea4ff789c23dd8 100644 (file)
@@ -3,11 +3,26 @@
 <?php /** @var $l OC_L10N */ ?>
 <?php $_['appNavigation']->printPage(); ?>
 
-<div id="app-content">
+<div id="app-content" class="list">
   <h1>Manage access tokens</h1>
-  <ul>
+  <table class="table">
+   <thead>
+    <tr>
+     <th>Token</th>
+     <th>Client</th>
+     <th>Last use</th>
+     <th>Actions</th>
+    </tr>
+   </thead>
+   <tbody>
     <?php foreach ($_['tokens'] as $token) { ?>
-      <li data-id="<?php p($token->tokenKey); ?>"><a href="#"><?php p($token->tokenKey); ?></a></li>
+      <tr>
+       <td><?php p($token->tokenKey); ?></td>
+       <td></td>
+       <td></td>
+       <td>Disable Delete</td>
+      </tr>
     <?php } ?>
-  </ul>
+   </tbody>
+ </table>
 </div>