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