link api from web interface, make single note fetching work, redo note storage username
[grauphel.git] / templates / appnavigation.php
1 <div id="app-navigation">
2   <ul>
3     <?php foreach ($_['navigationItems'] as $item) { ?>
4       <li data-id="<?php p($item['id']) ?>" class="nav-<?php p($item['id']) ?>"><a href="<?php p(isset($item['href']) ? $item['href'] : '#') ?>"><?php p($item['name']);?></a></li>
5     <?php } ?>
6   </ul>
7
8   <div id="app-settings">
9     <div id="app-settings-header">
10       <button class="settings-button" data-apps-slide-toggle="#app-settings-content"></button>
11     </div>
12     <div id="app-settings-content" style="display: none;">
13       <h2><?php p($l->t('Tomboy note server'));?></h2>
14       <em><?php print_unescaped($l->t('Use the following sync server URL with tomboy/conboy/tomdroid:')); ?></em>
15       <div><input id="resturl" type="text" readonly="readonly" value="<?php p($_['apiroot']); ?>" /></div>
16     </div>
17   </div>
18 </div>