Fix bug #19: Tabs ignored in HTML export
[grauphel.git] / templates / tag.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 <div id="app-content" class="list">
7   <h1>Notebook: <?php p($_['tag']); ?></h1>
8
9   <table class="table" id="grauphel-notes">
10    <thead>
11     <tr>
12      <th id="headerTitle">Title</th>
13      <th>Modified</th>
14     </tr>
15    </thead>
16    <tbody>
17
18     <?php foreach ($_['notes'] as $note) { ?>
19      <tr id="note-<?php p($note['guid']); ?>">
20       <td>
21        <a class="cellclick" href="<?php p(OCP\Util::linkToRoute('grauphel.gui.note', array('guid' => $note['guid']))); ?>"><?php echo ($note['title']); ?></a>
22       </td>
23       <td style="color: <?php echo p($note['dateColor']); ?>">
24        <?php p(\OCP\Util::formatDate(strtotime($note['last-change-date']))); ?>
25       </td>
26      </tr>
27     <?php } ?>
28
29    </tbody>
30   </table>
31 </div>