aboutsummaryrefslogtreecommitdiff
path: root/templates/index.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-08-22 17:17:01 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-08-22 17:17:01 +0200
commitf7ecfa21088175bc236b1136c1a4b2aa2488f37c (patch)
tree2cdc3b15ef8d8e6fed4f9692464d3d0811eced6c /templates/index.php
parent92943b3dbac9db26d95500e129bd70475c376b1e (diff)
downloadgrauphel-f7ecfa21088175bc236b1136c1a4b2aa2488f37c.tar.gz
grauphel-f7ecfa21088175bc236b1136c1a4b2aa2488f37c.zip
show some statistics on the index page
Diffstat (limited to 'templates/index.php')
-rw-r--r--templates/index.php40
1 files changed, 36 insertions, 4 deletions
diff --git a/templates/index.php b/templates/index.php
index 7b7c6a6..e63df37 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -1,13 +1,45 @@
+<style type="text/css">
+.app-grauphel #app-content {
+ box-sizing: border-box;
+ padding: 2ex;
+}
+
+.app-grauphel #app-content h1 {
+ font-weight: bold;
+ font-size: 2em;
+ margin-bottom: 1ex;
+}
+.app-grauphel #app-content h2 {
+ font-weight: bold;
+ font-size: 150%;
+ margin-bottom: 1ex;
+ margin-top: 2ex;
+}
+.app-grauphel #app-content dt {
+ font-weight: bold;
+}
+.app-grauphel #app-content dd {
+ margin-left: 3ex;
+}
+.app-grauphel #app-content pre {
+ margin: 1em;
+ background-color: #DDD;
+ padding: 1ex;
+ font-family: monospace;
+}
+</style>
+
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
<div id="app-content">
- <div style="margin: 1ex">
- <h1 style="font-size: 2em; font-weight: bold">Tomboy notes server</h1>
- <p style="margin: 1em;">
+ <div>
+ <h1>Tomboy notes server</h1>
+ <p>
Use the following sync server URL with tomboy/conboy/tomdroid:
</p>
- <pre style="margin: 1em; background-color: #DDD; padding: 1ex; font-family: monospace"><?php p($_['apiurl']); ?></pre>
+ <pre><?php p($_['apiurl']); ?></pre>
</div>
+ <?php isset($_['stats']) && $_['stats']->printPage(); ?>
</div>