From d09c7b13b3c833bf132b32fc0a06793580e7ca6c Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Wed, 4 May 2016 22:56:04 -0700 Subject: [PATCH] Add browser notifications --- data/interfaces/default/base.html | 2 + .../default/css/pnotify.custom.min.css | 1 + .../default/js/pnotify.custom.min.js | 49 ++++++++++++ data/interfaces/default/js/script.js | 41 +++++++++- .../default/notification_config.html | 55 ++++++++----- plexpy/config.py | 14 ++++ plexpy/notifiers.py | 80 ++++++++++++++++++- plexpy/webserve.py | 16 ++++ 8 files changed, 236 insertions(+), 22 deletions(-) create mode 100644 data/interfaces/default/css/pnotify.custom.min.css create mode 100644 data/interfaces/default/js/pnotify.custom.min.js diff --git a/data/interfaces/default/base.html b/data/interfaces/default/base.html index c273a6bf..9ca3af07 100644 --- a/data/interfaces/default/base.html +++ b/data/interfaces/default/base.html @@ -13,6 +13,7 @@ from plexpy.helpers import anon_url + @@ -293,6 +294,7 @@ ${next.headerIncludes()} +