aboutsummaryrefslogtreecommitdiff
path: root/templates/indexStats.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/indexStats.php
parent92943b3dbac9db26d95500e129bd70475c376b1e (diff)
downloadgrauphel-f7ecfa21088175bc236b1136c1a4b2aa2488f37c.tar.gz
grauphel-f7ecfa21088175bc236b1136c1a4b2aa2488f37c.zip
show some statistics on the index page
Diffstat (limited to 'templates/indexStats.php')
-rw-r--r--templates/indexStats.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/indexStats.php b/templates/indexStats.php
new file mode 100644
index 0000000..78274da
--- /dev/null
+++ b/templates/indexStats.php
@@ -0,0 +1,11 @@
+<h2>Stats</h2>
+<dl>
+ <dt>Number of notes</dt>
+ <dd><?php p($_['notes']); ?></dd>
+
+ <dt>Number of registered apps</dt>
+ <dd><?php p($_['tokens']); ?></dd>
+
+ <dt>Sync revision</dt>
+ <dd><?php p($_['syncrev']); ?></dd>
+</dl>