From 514844ec2dfa81e68129e0e9e9bfcc7cdcf18fff Mon Sep 17 00:00:00 2001 From: Remy Varma Date: Fri, 27 Jan 2012 11:48:03 +0000 Subject: [PATCH] Fixed prowl config layout --- data/interfaces/default/config.html | 38 ++++++++++++++++++++------ data/interfaces/remix/config.html | 42 ++++++++++++++++++++++++----- 2 files changed, 65 insertions(+), 15 deletions(-) diff --git a/data/interfaces/default/config.html b/data/interfaces/default/config.html index 028e1f87..29727398 100644 --- a/data/interfaces/default/config.html +++ b/data/interfaces/default/config.html @@ -321,14 +321,6 @@

Log Directory:

- -

Prowl Notification:

-
-

Enabled?


-

API key:



-

Notify on snatch?


-

Priority (-2,-1,0,1 or 2):

- @@ -428,6 +420,16 @@

Path to Encoder:

+ +

Prowl Notification:

+
+

Enabled Prowl Notification


+
+

API key:



+

Notify on snatch?


+

Priority (-2,-1,0,1 or 2):

+
+ @@ -460,6 +462,26 @@ $("#encoderoptions").hide("fast"); } }); + + if ($("#prowl").is(":checked")) + { + $("#prowloptions").show(); + } + else + { + $("#prowloptions").hide(); + } + + $("#prowl").click(function(){ + if ($("#prowl").is(":checked")) + { + $("#prowloptions").show("fast"); + } + else + { + $("#prowloptions").hide("fast"); + } + }); }); diff --git a/data/interfaces/remix/config.html b/data/interfaces/remix/config.html index 8fb63f75..29727398 100644 --- a/data/interfaces/remix/config.html +++ b/data/interfaces/remix/config.html @@ -54,7 +54,7 @@

Download Settings

- + @@ -149,7 +149,7 @@

SABnzbd:

- + @@ -246,8 +246,6 @@

Kick Ass Torrents:

- -

SABnzbd:

@@ -296,7 +294,7 @@

Renaming Options:


Folder Format:


- Use: artist, album, year and first (first letter in artist name)
+ Use: artist, album, year, releasetype and first (first letter in artist name)
E.g.: first/artist/album [year] = G/Girl Talk/All Day [2010]


File Format:

@@ -422,13 +420,23 @@

Path to Encoder:

+ +

Prowl Notification:

+
+

Enabled Prowl Notification


+
+

API key:



+

Notify on snatch?


+

Priority (-2,-1,0,1 or 2):

+
+


(Web Interface changes require a restart to take effect) -  + <%def name="javascriptIncludes()"> @@ -454,6 +462,26 @@ $("#encoderoptions").hide("fast"); } }); + + if ($("#prowl").is(":checked")) + { + $("#prowloptions").show(); + } + else + { + $("#prowloptions").hide(); + } + + $("#prowl").click(function(){ + if ($("#prowl").is(":checked")) + { + $("#prowloptions").show("fast"); + } + else + { + $("#prowloptions").hide("fast"); + } + }); }); - \ No newline at end of file +