standlone HTML output
[grauphel.git] / templates / gui-note.php
index a7e05874e18bebd3210dcd4d6199de796150323e..86336bc29c371404a0ea2fe93f6db11993bfab11 100644 (file)
@@ -6,7 +6,12 @@
 <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>
+ <div class="actions">
+  <a class="button" href="<?php echo p($_['links']['html']); ?>">HTML</a>
+  <a class="button" href="<?php echo p($_['links']['json']); ?>">JSON</a>
+  <a class="button" href="<?php echo p($_['links']['xml']); ?>">XML</a>
+ </div>
+ <h1><?php echo ($_['note']->title); ?></h1>
  <p class="muted">
   Last modified:
   <?php p(\OCP\Util::formatDate(strtotime($_['note']->{'last-change-date'}))); ?>