aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-09-30 18:07:45 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-09-30 18:07:45 +0200
commit37e17f2198f4629fb7d4ec2ed68d96f664ec55ad (patch)
treec9b10a2e4821dab9a7c033dae15fb0d2da21ef8c /templates
parent35be0ae011c70e766417b1e640a8dac03644a3b6 (diff)
downloadgrauphel-37e17f2198f4629fb7d4ec2ed68d96f664ec55ad.tar.gz
grauphel-37e17f2198f4629fb7d4ec2ed68d96f664ec55ad.zip
style the token list a bit
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php2
-rw-r--r--templates/tag.php2
-rw-r--r--templates/tokens.php23
3 files changed, 21 insertions, 6 deletions
diff --git a/templates/index.php b/templates/index.php
index e59b381..fb57acd 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -3,7 +3,7 @@
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
-<div id="app-content">
+<div id="app-content" class="content">
<div>
<h1>grauphel - Tomboy notes server</h1>
<p>
diff --git a/templates/tag.php b/templates/tag.php
index ea80ed0..fec3bc2 100644
--- a/templates/tag.php
+++ b/templates/tag.php
@@ -3,7 +3,7 @@
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
-<div id="app-content">
+<div id="app-content" class="content">
<h1>Notebook: <?php p($_['tag']); ?></h1>
<ul>
<?php foreach ($_['notes'] as $note) { ?>
diff --git a/templates/tokens.php b/templates/tokens.php
index 531883d..4a578f5 100644
--- a/templates/tokens.php
+++ b/templates/tokens.php
@@ -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>