From 5f365c44a33754c210871fb9815cbbf0a3798f6b Mon Sep 17 00:00:00 2001 From: Brinken Date: Sun, 2 Sep 2012 19:46:33 +0200 Subject: [PATCH] Checkbox now animate with style --- data/interfaces/brink/base.html | 4 +- data/interfaces/brink/config.html | 142 +++++++++++++---------- data/interfaces/brink/css/style.css | 16 +-- data/interfaces/brink/js/configscript.js | 8 +- 4 files changed, 89 insertions(+), 81 deletions(-) diff --git a/data/interfaces/brink/base.html b/data/interfaces/brink/base.html index 986f6792..5fcc20ed 100644 --- a/data/interfaces/brink/base.html +++ b/data/interfaces/brink/base.html @@ -63,9 +63,9 @@ $(document).ready(function(){ % if not headphones.CURRENT_VERSION: var noty_id = noty({ - text:'V New version available!', + text:'V Headpones Update Available!
A new version is ready to be installed.', layout: 'bottomRight', - type:'information' + type:'information }); % elif headphones.CURRENT_VERSION != headphones.LATEST_VERSION and headphones.INSTALL_TYPE != 'win': var noty_id = noty({ diff --git a/data/interfaces/brink/config.html b/data/interfaces/brink/config.html index 2fbc01b3..140334ba 100644 --- a/data/interfaces/brink/config.html +++ b/data/interfaces/brink/config.html @@ -294,64 +294,68 @@ "We provide you with a automated search service to locate binary files/secgments that can be found on the public access network called Usenet." +
+ - - -

DNZBMatrix

-
+
- - - - - - - -
+
+ + + + + + + + + +
+
+
+ -

DNewznab Providers

-
-
- - - - - - - - - - - - -
- - -
e.g. http://nzb.su -
- - -
- - -
-
+
+
+ + + + + + + + + + + + +
+ + +
e.g. http://nzb.su +
+ + +
+ + +
+
%for newznab in config['extra_newznabs']: @@ -389,20 +393,20 @@
+ -

DNzbs.org

- - - - - - -
-
+
+ + + + + +
+
@@ -410,17 +414,15 @@
+ -

DNewzbin

- -
- - +
+
@@ -430,7 +432,7 @@
-
+
@@ -595,7 +597,7 @@
- + @@ -728,15 +730,17 @@

W Notifications

+

Encoder Options

Encoder Options

+ -

Prowl Options

- +
+
@@ -749,17 +753,22 @@ -
+ +
+
+ +
+ -

XBMC

- +
+
-
e.g. http://localhost:8080. Separate hosts with commas @@ -783,19 +792,24 @@
+ +
+
+ +
+ -

Notify My Android

- +
+
Separate multiple api keys with ",". @@ -840,7 +854,9 @@
+
+

Synology NAS

diff --git a/data/interfaces/brink/css/style.css b/data/interfaces/brink/css/style.css index 4bd53141..37aeb4c4 100644 --- a/data/interfaces/brink/css/style.css +++ b/data/interfaces/brink/css/style.css @@ -347,23 +347,15 @@ div#config_wrapper { margin: auto; width: 640px;} div#config_wrapper > div > table { width: 100%; border-collapse:separate; border-spacing: 10px; } div#config_wrapper > div > table tr td:first-child{ width: 240px; } div#config_wrapper > div > table tr td{ vertical-align: middle; } -group, div.group { padding: 5px; background-color: rgba(0,0,0,0.1); - border: 1px solid rgba(255,255,255,0.1); - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; - -o-border-radius: 10px; + border-top: 1px solid rgba(0,0,0,0.1); + border-left: 1px solid rgba(0,0,0,0.1); + border-bottom: 1px solid rgba(255,255,255,0.1); + border-right: 1px solid rgba(255,255,255,0.1); display: block; } -div.group table { -margin-left: 10px; -} -div.group:first-child { -margin-left: 0px; -} /*end config*/ /* Artist Table Style*/ diff --git a/data/interfaces/brink/js/configscript.js b/data/interfaces/brink/js/configscript.js index 71d0bee4..8382f5f9 100644 --- a/data/interfaces/brink/js/configscript.js +++ b/data/interfaces/brink/js/configscript.js @@ -46,12 +46,12 @@ $(document).ready(function(){ var switchId = $( this ).attr( "name" ) + "_switch"; if ( $( this ).is(':checked') ){ $( labelName ).text( 'Enabled' ); - $("#" + switchId ).show(); + $("#" + switchId ).slideDown(); enit(); } else { $( labelName ).text( 'Disabled' ); - $("#" + switchId ).hide(); + $("#" + switchId ).slideUp(); enit(); } //Change label @@ -59,12 +59,12 @@ $(document).ready(function(){ if ( $( this ).is( ':checked' ) ){ $( labelName ).text( 'Enabled' ); - $("#" + switchId ).show(); + $("#" + switchId ).slideDown(); enit(); } else{ $( labelName ).text( 'Disabled' ); - $("#" + switchId ).hide(); + $("#" + switchId ).slideUp(); enit(); } });