index page showing server setting
[grauphel.git] / templates / index.php
diff --git a/templates/index.php b/templates/index.php
new file mode 100644 (file)
index 0000000..f1fd34c
--- /dev/null
@@ -0,0 +1,7 @@
+<div style="margin: 1em;">
+ <h1 style="font-size: 2em; font-weight: bold">Tomboy notes server</h1>
+ <p style="margin: 1em;">
+  To use the REST API, use the follwing server with tomboy:
+ </p>
+ <pre style="margin: 1em; background-color: #DDD; padding: 1ex; font-family: monospace"><?php p($_['apiurl']); ?></pre>
+</div>