From 852b4d626cddac12fa8097be6bcff183f228bf52 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 18 May 2017 23:26:05 +0200 Subject: okpush --- lib/okpush/templates/index.liquid | 76 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 lib/okpush/templates/index.liquid (limited to 'lib/okpush/templates/index.liquid') diff --git a/lib/okpush/templates/index.liquid b/lib/okpush/templates/index.liquid new file mode 100644 index 0000000..124fb4e --- /dev/null +++ b/lib/okpush/templates/index.liquid @@ -0,0 +1,76 @@ +{% include 'partials/head' %} + +{% include 'partials/flash' %} + + + + + +
+ +

Push Notifications

+ + + + + + + + + + {% for pair in notifications %} + {% assign name = pair[0] %} + {% assign spec = pair[1] %} + + + + + + + + {% endfor %} +
KeyMessageLast PushTokens
+ {{name | capitalize}} + + {{spec.alert}} + + {% unless spec.last_push %} + Never + {% else %} + {{ spec.last_push | date: "%a %d-%b-%Y %H:%M" }} + {% endunless %} + + {{spec.count}} + + +
+ +
+ +{% include 'partials/tail' %} + + \ No newline at end of file -- cgit v1.2.3-70-g09d2