aboutsummaryrefslogtreecommitdiff
path: root/templates/gui-note.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-10-23 23:07:01 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-10-23 23:07:01 +0200
commit8ee6bfe97633d31c6b89cebbc434837eca04d6dd (patch)
tree3d346e6d6b18e608813924b784ebda1d6520beef /templates/gui-note.php
parenta6e6dc9e303ccddf1cb6e699f5e43295af361e0f (diff)
downloadgrauphel-8ee6bfe97633d31c6b89cebbc434837eca04d6dd.tar.gz
grauphel-8ee6bfe97633d31c6b89cebbc434837eca04d6dd.zip
note preview
Diffstat (limited to 'templates/gui-note.php')
-rw-r--r--templates/gui-note.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/gui-note.php b/templates/gui-note.php
new file mode 100644
index 0000000..a7e0587
--- /dev/null
+++ b/templates/gui-note.php
@@ -0,0 +1,17 @@
+<link rel="stylesheet" href="<?php p(OCP\Util::linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+
+<?php /** @var $l OC_L10N */ ?>
+<?php $_['appNavigation']->printPage(); ?>
+
+<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
+
+<div id="app-content" class="content">
+ <h1><?php p($_['note']->title); ?></h1>
+ <p class="muted">
+ Last modified:
+ <?php p(\OCP\Util::formatDate(strtotime($_['note']->{'last-change-date'}))); ?>
+ </p>
+ <div class="note-content">
+ <?php echo $_['note-content']; ?>
+ </div>
+</div>