From ef3a28e2ee48d6e9904cc6a3661ffe39012ab743 Mon Sep 17 00:00:00 2001 From: Brinken Date: Tue, 22 May 2012 21:00:12 +0200 Subject: [PATCH] Brink interface update * Scrollbar styled * JS minor fix * So many things, that i won't go into detail. --- data/interfaces/brink/CSS/style.css | 20 ++-- data/interfaces/brink/base.html | 13 +- data/interfaces/brink/config.html | 177 ++++++++++------------------ data/interfaces/brink/logs.html | 17 +-- 4 files changed, 77 insertions(+), 150 deletions(-) diff --git a/data/interfaces/brink/CSS/style.css b/data/interfaces/brink/CSS/style.css index ddbbc685..be36092c 100644 --- a/data/interfaces/brink/CSS/style.css +++ b/data/interfaces/brink/CSS/style.css @@ -52,9 +52,9 @@ h1 a:hover border: 1px solid #000; margin: 0; } -h2 { font-size: 15px; color: #000; text-shadow: 1px 1px 0px rgba(255,255,255,0.2); margin-bottom: 0px; text-decoration: none;} -h3 { font-size: 12px; color: #fafafa; text-shadow: 1px 1px 0px rgb(10,10,10); text-decoration: none; margin: 0px;} -h4 { font-size: 10px; color: rgb(100,100,100); text-decoration: none;} +h2 { font-size: 13px; color: #000; text-shadow: 1px 1px 0px rgba(255,255,255,0.2); margin-bottom: 0px; text-decoration: none;} +h3 { font-size: 12px; font-weight: bold; color: rgb(160,160,160); text-shadow: 1px 1px 0px rgb(10,10,10);} +h4 { font-size: 11px; color: rgb(100,100,100); text-decoration: none;} p { color: rgb(160,160,160); text-shadow: 1px 1px 1px #000; margin-top: 8px; margin-bottom: 8px; } @@ -642,19 +642,13 @@ text-shadow: 1px 1px 0px rgb(190,0,31); -webkit-border-radius: 3px; box-shadow: 1px 1px 0px rgba(255,255,255,0.2); border: 1px solid #000; - background: url(../Images/arrow-down.png); + background: url(../Images/arrowDown.png); background-position: 98% 50%; background-repeat: no-repeat; background-color: rgb(160,160,160); overflow: hidden; } -.select:hover, -.select:active -{ - background-color: rgb(210,210,210); -} - /*Tooltip*/ .tooltip { @@ -768,7 +762,11 @@ input[type="text"] .configtable { font-size: 14px; vertical-align: middle; border-spacing: 10px; border-collapse: separate; } .configtable td { - padding: 5px; + padding: 20px; + background-color: rgba(0,0,0,0.2); + box-shadow: 1px 1px 0px rgba(255,255,255,0.2); + border-top: 1px solid rgba(0,0,0,0.2); + border-left: 1px solid rgba(0,0,0,0.2); } .configtable td#middle { vertical-align: middle; } .configtable.open{ diff --git a/data/interfaces/brink/base.html b/data/interfaces/brink/base.html index e08c51a0..d3c84b09 100644 --- a/data/interfaces/brink/base.html +++ b/data/interfaces/brink/base.html @@ -28,21 +28,12 @@ ${next.javascriptIncludes()} - + + - - - - - - diff --git a/data/interfaces/brink/config.html b/data/interfaces/brink/config.html index f624f1f7..f9f80f1c 100644 --- a/data/interfaces/brink/config.html +++ b/data/interfaces/brink/config.html @@ -19,61 +19,43 @@

HTTP Host:

- -
Localhost or 0.0.0.0
- - + +

HTTP Port:

- -
Default is: 8181
- - + - - -

HTTP Username:

- - - - + +

HTTP Password:

- - - - + -

Enable API - -

+

API:

+

Enable +

-

API key:



- - - - + +

Layout:

- - - - - - - -

Launch Browser on Startup:

- - + + +

Launch on Startup:

- - +

This will launch the browser when running Headphones

+ +

Download Scan Interval:

+ mins - mins - - - -

NZB Search Interval:

- - - mins - - + + mins +

Library Scan Interval:

- - - mins + + mins @@ -128,51 +97,36 @@

SABnzbd:

- - - - -

- SABnzbd Host: -

- -
- - Usually http://localhost:8080 - -
- - -

- SABnzbd Username: -

- - - - - -

- SABnzbd API: -

- - - -

SABnzbd Password:

- - - + +

SABnzbd Host:

+ +
+ + Usually http://localhost:8080 + +
- - -

SABnzbd Category:

- - -

Music Download Directory:

-
- - Full path to the directory where SAB downloads your music | i.e. /Users/name/Downloads/music - -
+ + +

SABnzbd API:

+ + +

SABnzbd Username:

+ + +

SABnzbd Password:

+ + +

SABnzbd Category:

+ + +

Music Download Directory:

+ +
+ + Full path to the directory where SAB downloads your music | i.e. /Users/name/Downloads/music + +
@@ -690,7 +644,7 @@

- +
(Web Interface changes require a restart to take effect)

@@ -700,7 +654,7 @@ <%def name="javascriptIncludes()"> diff --git a/data/interfaces/brink/logs.html b/data/interfaces/brink/logs.html index 33da4218..7c743bc4 100644 --- a/data/interfaces/brink/logs.html +++ b/data/interfaces/brink/logs.html @@ -43,18 +43,11 @@ { $('#log_table').dataTable( { - "oLanguage": { - "sLengthMenu":"Show _MENU_ lines per page", - "sEmptyTable": "No log information available", - "sInfo":"Showing _START_ to _END_ of _TOTAL_ lines", - "sInfoEmpty":"Showing 0 to 0 of 0 lines", - "sInfoFiltered":"(filtered from _MAX_ total lines)"}, - "bStateSave": true, - "iDisplayLength": 100, - "sPaginationType": "full_numbers", - "aaSorting": [] - - }); + "aaSorting": [ + ], + "bPaginate": false, + "bFilter": true + }); }); \ No newline at end of file