From 9b9088bd5ec4dd1cbcdc5f74ea192a08d64c031e Mon Sep 17 00:00:00 2001 From: Jonathan Wong Date: Mon, 24 Aug 2015 19:34:15 -0700 Subject: [PATCH] Fixed alert messages on settings validation --- data/interfaces/default/css/plexpy.css | 28 ++++++++++++++++++ data/interfaces/default/settings.html | 40 ++++++++++++++++---------- 2 files changed, 53 insertions(+), 15 deletions(-) diff --git a/data/interfaces/default/css/plexpy.css b/data/interfaces/default/css/plexpy.css index 3b5ca948..57153fd2 100644 --- a/data/interfaces/default/css/plexpy.css +++ b/data/interfaces/default/css/plexpy.css @@ -1954,6 +1954,34 @@ a .home-platforms-instance-list-oval:hover, -o-transition: none !important; transition: none !important; } +.settings-alert { + float: left; + padding: 0; + margin: 5px 0; + border: 0; + position: relative; +} +.settings-alert ul { + padding: 0; +} +.settings-alert ul li { + list-style: none; + padding: 5px 12px 5px 35px; + margin: 0; + border: 1px solid #ebccd1; + border-radius: 4px; +} +.settings-alert ul li:before { + content: "\f071"; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + text-decoration: inherit; + font-size: 18px; + position: absolute; + top: 5px; + left: 12px; +} #users-to-delete > li { color: #e9a049; } diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index e3e210c5..b06e5c8c 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -91,8 +91,9 @@ available_notification_agents = notifiers.available_notification_agents()
- +
+

Specify the number of days for the statistics on the home page. Default is 30 days.

@@ -100,8 +101,9 @@ available_notification_agents = notifiers.available_notification_agents()
- +
+

Specify the number of items to show in the top lists for the statistics on the home page. Max is 10 items, default is 5 items, 0 to disable.

@@ -131,8 +133,9 @@ available_notification_agents = notifiers.available_notification_agents()
- +
+

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

@@ -232,8 +235,9 @@ available_notification_agents = notifiers.available_notification_agents()
- +
+

Port that Plex Media Server is listening on.

@@ -295,8 +299,9 @@ available_notification_agents = notifiers.available_notification_agents()
- +
+

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

@@ -337,10 +342,11 @@ available_notification_agents = notifiers.available_notification_agents()
- +
+
-

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

+

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

@@ -353,11 +359,12 @@ available_notification_agents = notifiers.available_notification_agents()

Keep records of all video items played from your Plex Media Server.

- +
- +
+

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

@@ -389,8 +396,9 @@ available_notification_agents = notifiers.available_notification_agents()
- +
+

How many buffer events should we wait before triggering the first warning. Buffer events increment on each monitor ping if play state is buffering. 0 to disable buffer warnings.

@@ -398,8 +406,9 @@ available_notification_agents = notifiers.available_notification_agents()
- +
+

The value (in seconds) PlexPy should wait before triggering the next buffer warning. 0 to always trigger.

@@ -430,8 +439,9 @@ available_notification_agents = notifiers.available_notification_agents()
- +
+

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

@@ -561,7 +571,7 @@ available_notification_agents = notifiers.available_notification_agents()

Notification Agents

- Toggle the desired notification options by clicking the bolt icon and configure it by selecting the settings icon to the right. + Toggle the desired notification options by clicking the bell icon and configure it by clicking the settings icon to the right.