From fc8e58d8dc7edcfc7786ae6a2633adf19411eddb Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 23 Sep 2017 21:58:10 +0200 Subject: hmtl --- lib/okpush/index.js | 4 ++++ lib/okpush/templates/new.liquid | 13 +++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/lib/okpush/index.js b/lib/okpush/index.js index 08ab15ae..49fc5363 100644 --- a/lib/okpush/index.js +++ b/lib/okpush/index.js @@ -94,6 +94,10 @@ function OKPush (options) { }) router.get('/new', function (req, res) { + var data = { + meta: meta, + notifications: config.notifications, + } templates['new'].render(data).then(function(rendered) { res.send(rendered); }).fail(error(req, res, 500)) diff --git a/lib/okpush/templates/new.liquid b/lib/okpush/templates/new.liquid index b16d0ae0..21170b75 100644 --- a/lib/okpush/templates/new.liquid +++ b/lib/okpush/templates/new.liquid @@ -13,14 +13,15 @@

Custom Push Notification

-
- -
+ + + +
-
+
- (will open after push is tapped)
- + +
-- cgit v1.2.3-70-g09d2