From abc90e12525669d24d24173df30079240b8dff3d Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 27 Jul 2015 20:42:40 +0200 Subject: [PATCH] Styling tweaks. Don't log error everytime OSX Notify agent cannot be found. Add check in PlexWatch importer to skip over rows with bad xml. Move some logging out of places where they would never be executed. --- data/interfaces/default/css/plexwatch.css | 12 ++++++++--- data/interfaces/default/settings.html | 25 ++++++++++++----------- plexpy/notifiers.py | 3 ++- plexpy/plexwatch_import.py | 5 +++++ plexpy/webserve.py | 14 ++++++------- 5 files changed, 36 insertions(+), 23 deletions(-) diff --git a/data/interfaces/default/css/plexwatch.css b/data/interfaces/default/css/plexwatch.css index e80e73e2..836e36a6 100644 --- a/data/interfaces/default/css/plexwatch.css +++ b/data/interfaces/default/css/plexwatch.css @@ -8252,7 +8252,7 @@ ol.test >li { } .card-back { - padding: 20px; + padding: 16px; background-color: #282828; margin-left: auto; margin-right: auto; @@ -8263,7 +8263,7 @@ ol.test >li { } .table-card-back { - padding: 20px; + padding: 16px 16px 16px 16px; background-color: #282828; margin-left: auto; margin-right: auto; @@ -8279,7 +8279,7 @@ ol.test >li { .rounded { padding: 4px 12px; - margin: 4px 4px 4px 0px; + margin: 2px 2px 2px 0px; font-size: 14px; font-weight: normal; line-height: 1.42857143; @@ -8374,6 +8374,9 @@ ol.test >li { display: block; padding: 15px 15px 15px 15px; color: #999; + -webkit-transition: all 0.4s ease; + -o-transition: all 0.4s ease; + transition: all 0.4s ease; } .nav-settings > li > a:hover, @@ -8408,6 +8411,9 @@ ol.test >li { color: #eee; border-left: 2px solid #444; border-top: 1px solid #2d2d2d; + -webkit-transition: all 0.4s ease; + -o-transition: all 0.4s ease; + transition: all 0.4s ease; } .stacked-configs > li > span:hover, diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 0263bb59..369fcb18 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -64,12 +64,12 @@
- +

Set your preferred date format. Click here to see the parameter list.

- +

Set your preferred time format. Click here to see the parameter list.

@@ -83,12 +83,12 @@

Web interface changes require a restart.

- +

e.g. localhost or an IP, such as 0.0.0.0

- +

Port to bind web server to. Note that ports below 1024 may require root.

@@ -139,7 +139,7 @@
- +

Current API key:
${config['api_key']}

@@ -153,13 +153,13 @@
- +

IP Address or hostname for Plex Media Server.

- +

Port that Plex Media Server is listening on.

@@ -192,7 +192,7 @@
- +

The interval (in hours) PlexPy will request an updated friends list from Plex.tv. 1 minimum, 24 maximum.

@@ -218,7 +218,7 @@
- +

Set the folder where your Plex Server logs are. This is required if you enable IP logging.
Click here for help.

@@ -237,7 +237,7 @@
- +

The interval (in seconds) PlexPy will ping your Plex Server. Min 30 seconds, Recommended 60 seconds.

@@ -251,7 +251,7 @@
- +

The interval (in seconds) PlexPy will wait for a video item to be active before logging it. 0 to disable.

@@ -291,7 +291,7 @@
- +

Set the progress percentage of when a watched notification should be triggered. Minimum 50, Maximum 95.

@@ -611,6 +611,7 @@ <%def name="javascriptIncludes()"> +