prepare release of 0.5.0
[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']['html']); ?>">HTML</a>
11   <a class="button" href="<?php echo p($_['links']['text']); ?>">Text</a>
12   <a class="button" href="<?php echo p($_['links']['json']); ?>">JSON</a>
13   <a class="button" href="<?php echo p($_['links']['xml']); ?>">XML</a>
14  </div>
15  <h1><?php echo ($_['note']->title); ?></h1>
16  <p class="muted">
17   Last modified:
18   <?php p(\OCP\Util::formatDate(strtotime($_['note']->{'last-change-date'}))); ?>
19  </p>
20  <div class="note-content">
21   <?php echo $_['note-content']; ?>
22  </div>
23 </div>