From c8c0b465d9796b526d268ea0e641fd7ba00e44bb Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 6 Oct 2016 14:46:54 -0400 Subject: displaying list of notifications, slight css tweaks --- examples/lib/okpush/templates/index.liquid | 63 +++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) (limited to 'examples/lib/okpush/templates/index.liquid') diff --git a/examples/lib/okpush/templates/index.liquid b/examples/lib/okpush/templates/index.liquid index 388a95b..e0547c3 100644 --- a/examples/lib/okpush/templates/index.liquid +++ b/examples/lib/okpush/templates/index.liquid @@ -2,10 +2,71 @@ {% include 'partials/flash' %} + + -
+
+ +

Push Notifications

+ + + + + + + + + {% for pair in notifications %} + {% assign name = pair[0] %} + {% assign spec = pair[1] %} + + + + + + + {% endfor %} +
KeyMessageLast Push
+ {{name | escape}} + + {{spec.alert}} + + {% unless spec.last_fired %} + Never + {% else %} + {{spec.last_fired}} + {% endunless %} + + +
+
+ {% include 'partials/tail' %} -- cgit v1.2.3-70-g09d2