git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
note preview
[grauphel.git]
/
templates
/
tag.php
diff --git
a/templates/tag.php
b/templates/tag.php
index 68fa8131ea893ceeaec686bf5b969d020655e920..8c7eecc2a4f8b0b98613ddc4b251b8b8b0361f43 100644
(file)
--- a/
templates/tag.php
+++ b/
templates/tag.php
@@
-3,14
+3,28
@@
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
-<div id="app-content" class="
conten
t">
+<div id="app-content" class="
lis
t">
<h1>Notebook: <?php p($_['tag']); ?></h1>
<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) { ?>
<?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 } ?>
<?php } ?>
- </ul>
+
+ </tbody>
+ </table>
</div>
</div>