diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2014-10-23 23:07:01 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2014-10-23 23:07:01 +0200 |
| commit | 8ee6bfe97633d31c6b89cebbc434837eca04d6dd (patch) | |
| tree | 3d346e6d6b18e608813924b784ebda1d6520beef /templates/tag.php | |
| parent | a6e6dc9e303ccddf1cb6e699f5e43295af361e0f (diff) | |
| download | grauphel-8ee6bfe97633d31c6b89cebbc434837eca04d6dd.tar.gz grauphel-8ee6bfe97633d31c6b89cebbc434837eca04d6dd.zip | |
note preview
Diffstat (limited to 'templates/tag.php')
| -rw-r--r-- | templates/tag.php | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/templates/tag.php b/templates/tag.php index 68fa813..8c7eecc 100644 --- a/templates/tag.php +++ b/templates/tag.php @@ -3,14 +3,28 @@ <?php /** @var $l OC_L10N */ ?> <?php $_['appNavigation']->printPage(); ?> -<div id="app-content" class="content"> +<div id="app-content" class="list"> <h1>Notebook: <?php p($_['tag']); ?></h1> - <p class="error"> - Work in progress: You can't do anything here. - </p> - <ul> + + <table class="table" id="grauphel-notes"> + <thead> + <tr> + <th>Title</th> + <th>Last change</th> + </tr> + </thead> + <tbody> + <?php foreach ($_['notes'] as $note) { ?> - <li data-id="<?php p($note['guid']); ?>"><a href="#"><?php p($note['title']); ?></a></li> + <tr id="note-<?php p($note['guid']); ?>"> + <td> + <a class="cellclick" href="<?php p(OCP\Util::linkToRoute('grauphel.gui.note', array('guid' => $note['guid']))); ?>"><?php p($note['title']); ?></a> + </td> + <td> + </td> + </tr> <?php } ?> - </ul> + + </tbody> + </table> </div> |
