Download note as XML and JSON
[grauphel.git] / templates / gui-note.php
1 <link rel="stylesheet" href="<?php p(OCP\Util::linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
2
3 <?php /** @var $l OC_L10N */ ?>
4 <?php $_['appNavigation']->printPage(); ?>
5
6 <script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
7
8 <div id="app-content" class="content">
9  <div class="actions">
10   <a class="button" href="<?php echo p($_['links']['json']); ?>">JSON</a>
11   <a class="button" href="<?php echo p($_['links']['xml']); ?>">XML</a>
12  </div>
13  <h1><?php echo ($_['note']->title); ?></h1>
14  <p class="muted">
15   Last modified:
16   <?php p(\OCP\Util::formatDate(strtotime($_['note']->{'last-change-date'}))); ?>
17  </p>
18  <div class="note-content">
19   <?php echo $_['note-content']; ?>
20  </div>
21 </div>