aboutsummaryrefslogtreecommitdiff
path: root/templates/tag.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-08-22 22:16:16 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-08-22 22:16:16 +0200
commit3e3dfcc65e13be5a49423bb90fc12e67f6b613dd (patch)
tree450ed5b99de648f2a9b86720ecb82fba62cfe50c /templates/tag.php
parentcd37bde4ef0747a11c1221e937027fe17f2894fe (diff)
downloadgrauphel-3e3dfcc65e13be5a49423bb90fc12e67f6b613dd.tar.gz
grauphel-3e3dfcc65e13be5a49423bb90fc12e67f6b613dd.zip
show tags and note titles in the notebook
Diffstat (limited to 'templates/tag.php')
-rw-r--r--templates/tag.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/tag.php b/templates/tag.php
new file mode 100644
index 0000000..ea80ed0
--- /dev/null
+++ b/templates/tag.php
@@ -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>Notebook: <?php p($_['tag']); ?></h1>
+ <ul>
+ <?php foreach ($_['notes'] as $note) { ?>
+ <li data-id="<?php p($note['guid']); ?>"><a href="#"><?php p($note['title']); ?></a></li>
+ <?php } ?>
+ </ul>
+</div>