Add token management page (only shows tokens for now)
[grauphel.git] / templates / tokens.php
diff --git a/templates/tokens.php b/templates/tokens.php
new file mode 100644 (file)
index 0000000..531883d
--- /dev/null
@@ -0,0 +1,13 @@
+<link rel="stylesheet" href="<?php p(OCP\Util::linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+
+<?php /** @var $l OC_L10N */ ?>
+<?php $_['appNavigation']->printPage(); ?>
+
+<div id="app-content">
+  <h1>Manage access tokens</h1>
+  <ul>
+    <?php foreach ($_['tokens'] as $token) { ?>
+      <li data-id="<?php p($token->tokenKey); ?>"><a href="#"><?php p($token->tokenKey); ?></a></li>
+    <?php } ?>
+  </ul>
+</div>