link api from web interface, make single note fetching work, redo note storage username
[grauphel.git] / templates / index.php
1 <style type="text/css">
2 .app-grauphel #app-content {
3     box-sizing: border-box;
4     padding: 2ex;
5 }
6
7 .app-grauphel #app-content h1 {
8     font-weight: bold;
9     font-size: 2em;
10     margin-bottom: 1ex;
11 }
12 .app-grauphel #app-content h2 {
13     font-weight: bold;
14     font-size: 150%;
15     margin-bottom: 1ex;
16     margin-top: 2ex;
17 }
18 .app-grauphel #app-content dt {
19     font-weight: bold;
20 }
21 .app-grauphel #app-content dd {
22     margin-left: 3ex;
23 }
24 .app-grauphel #app-content pre {
25     margin: 1em;
26     background-color: #DDD;
27     padding: 1ex;
28     font-family: monospace;
29 }
30 </style>
31
32 <?php /** @var $l OC_L10N */ ?>
33 <?php $_['appNavigation']->printPage(); ?>
34
35 <div id="app-content">
36   <div>
37     <h1>Tomboy notes server</h1>
38     <p>
39       Use the following sync server URL with tomboy/conboy/tomdroid:
40     </p>
41     <pre><?php p($_['apiroot']); ?></pre>
42     <p>
43       You may also explore the API yourself at
44       <a style="text-decoration: underline" href="<?php p($_['apiurl']); ?>">api/1.0</a>.
45     </p>
46   </div>
47
48   <?php isset($_['stats']) && $_['stats']->printPage(); ?>
49 </div>