link grauphel 0.6.4 download
[grauphel.git] / templates / gui-note.php
index a7e0587..8061a50 100644 (file)
@@ -6,7 +6,14 @@
 <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 id="searchresults" class="hidden"></div>
+ <div class="actions">
+  <a class="button" href="<?php echo p($_['links']['html']); ?>">HTML</a>
+  <a class="button" href="<?php echo p($_['links']['text']); ?>">Text</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'}))); ?>