From ce31539a0d91b6083b0cf906aef2ad71afa1d465 Mon Sep 17 00:00:00 2001 From: markheloking Date: Mon, 8 Dec 2014 13:54:28 +0100 Subject: [PATCH 1/5] Startup scripts Startup scripts windows to hide all traces in the windows interface --- HideScript.vbs | 32 ++++++++++++++++++++++++++++++++ startscript.bat | 3 +++ 2 files changed, 35 insertions(+) create mode 100644 HideScript.vbs create mode 100644 startscript.bat diff --git a/HideScript.vbs b/HideScript.vbs new file mode 100644 index 00000000..e5602a54 --- /dev/null +++ b/HideScript.vbs @@ -0,0 +1,32 @@ +'--------------------8<---------------------- +sTitle = "Batch launcher" + +Set oArgs = WScript.Arguments +Set oFSO = CreateObject("Scripting.FileSystemObject") +Set oShell = CreateObject("WScript.Shell") + +If oArgs.Count <> 1 Then +' Will die after 10 seconds if no one is pressing the OK button +oShell.Popup "Error: You need to supply a file path " _ +& "as input parameter!", 10, sTitle, vbCritical + vbSystemModal + +Wscript.Quit 1 +End If + +sFilePath = oArgs(0) + +If Not oFSO.FileExists(sFilePath) Then +' Will die after 10 seconds if no one is pressing the OK button +oShell.Popup "Error: Batch file not found", _ +10, sTitle, vbCritical + vbSystemModal + +Wscript.Quit 1 +End If + +' add quotes around the path in case of spaces +iRC = oShell.Run("""" & sFilePath & """", 0, True) + +' Return with the same errorlevel as the batch file had +Wscript.Quit iRC + +'--------------------8<---------------------- \ No newline at end of file diff --git a/startscript.bat b/startscript.bat new file mode 100644 index 00000000..23422037 --- /dev/null +++ b/startscript.bat @@ -0,0 +1,3 @@ +@echo off +pythonw SickBeard.py +exit \ No newline at end of file From daf2e9400087d30fece31b29e4cac7acc277ba60 Mon Sep 17 00:00:00 2001 From: markheloking Date: Mon, 8 Dec 2014 14:08:07 +0100 Subject: [PATCH 2/5] Searchprovider page layout cleanup Small cleanup so that the symbols will be on the same line as the explenations instead of having the symbols as HTML headers. --- gui/slick/interfaces/default/config_providers.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/slick/interfaces/default/config_providers.tmpl b/gui/slick/interfaces/default/config_providers.tmpl index 65bbda82..666f2ce8 100644 --- a/gui/slick/interfaces/default/config_providers.tmpl +++ b/gui/slick/interfaces/default/config_providers.tmpl @@ -75,9 +75,9 @@ var show_nzb_providers = #if $sickbeard.USE_NZBS then "true" else "false"#; #end if
-

*

Provider does not support backlog searches at this time.

-

**

Provider supports limited backlog searches, all episodes/qualities may not be available.

-

!

Provider is NOT WORKING.

+

* Provider does not support backlog searches at this time.

+

** Provider supports limited backlog searches, all episodes/qualities may not be available.

+

! Provider is NOT WORKING.

From f4450bec46010fa9af09e4c31c473800496d076b Mon Sep 17 00:00:00 2001 From: markheloking Date: Mon, 8 Dec 2014 15:13:07 +0100 Subject: [PATCH 3/5] Fix 2-row on home Fix the search and layout buttons being on two different rows --- gui/slick/interfaces/default/home.tmpl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gui/slick/interfaces/default/home.tmpl b/gui/slick/interfaces/default/home.tmpl index fe1403b4..c4244626 100644 --- a/gui/slick/interfaces/default/home.tmpl +++ b/gui/slick/interfaces/default/home.tmpl @@ -214,6 +214,10 @@ + #if $layout != 'poster': + Search: + + #end if #if $layout == 'poster': @@ -238,12 +242,6 @@ #end if -#if $layout != 'poster': -
- -
-#end if - #for $curShowlist in $showlists: #set $curListType = $curShowlist[0] #set $myShowList = $list($curShowlist[1]) From f2bcc7217c391ea823f0e0ed99ababaef4b3622d Mon Sep 17 00:00:00 2001 From: markheloking Date: Mon, 8 Dec 2014 15:14:52 +0100 Subject: [PATCH 4/5] Fixed bootstrap @grid-float-breakpoint http://getbootstrap.com/components/ Look in that page for: "Changing the collapsed mobile navbar breakpoint" Fixed collapse fixed width from 768px to the width of our current navbar: 1010px --- gui/slick/css/lib/bootstrap.css | 84 ++++++++++++++++----------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/gui/slick/css/lib/bootstrap.css b/gui/slick/css/lib/bootstrap.css index 3daf57ec..adaaf82d 100644 --- a/gui/slick/css/lib/bootstrap.css +++ b/gui/slick/css/lib/bootstrap.css @@ -1108,7 +1108,7 @@ p { font-weight: 300; line-height: 1.4; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .lead { font-size: 21px; } @@ -1257,7 +1257,7 @@ dt { dd { margin-left: 0; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .dl-horizontal dt { float: left; width: 160px; @@ -1396,12 +1396,12 @@ pre code { margin-right: auto; margin-left: auto; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .container { width: 750px; } } -@media (min-width: 992px) { +@media (min-width: 1011px) { .container { width: 970px; } @@ -1583,7 +1583,7 @@ pre code { .col-xs-offset-0 { margin-left: 0; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { float: left; } @@ -1741,7 +1741,7 @@ pre code { margin-left: 0; } } -@media (min-width: 992px) { +@media (min-width: 1011px) { .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { float: left; } @@ -2636,7 +2636,7 @@ select[multiple].input-lg { margin-bottom: 10px; color: #737373; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .form-inline .form-group { display: inline-block; margin-bottom: 0; @@ -2699,7 +2699,7 @@ select[multiple].input-lg { margin-right: -15px; margin-left: -15px; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .form-horizontal .control-label { padding-top: 7px; margin-bottom: 0; @@ -2710,12 +2710,12 @@ select[multiple].input-lg { top: 0; right: 15px; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .form-horizontal .form-group-lg .control-label { padding-top: 14.3px; } } -@media (min-width: 768px) { +@media (min-width: 1010px) { .form-horizontal .form-group-sm .control-label { padding-top: 6px; } @@ -3239,7 +3239,7 @@ tbody.collapse.in { bottom: 100%; margin-bottom: 1px; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-right .dropdown-menu { right: 0; left: auto; @@ -3658,7 +3658,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { top: auto; left: auto; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .nav-tabs.nav-justified > li { display: table-cell; width: 1%; @@ -3676,7 +3676,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { .nav-tabs.nav-justified > .active > a:focus { border: 1px solid #ddd; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .nav-tabs.nav-justified > li > a { border-bottom: 1px solid #ddd; border-radius: 4px 4px 0 0; @@ -3723,7 +3723,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { top: auto; left: auto; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .nav-justified > li { display: table-cell; width: 1%; @@ -3744,7 +3744,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { .nav-tabs-justified > .active > a:focus { border: 1px solid #ddd; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .nav-tabs-justified > li > a { border-bottom: 1px solid #ddd; border-radius: 4px 4px 0 0; @@ -3772,12 +3772,12 @@ select[multiple].input-group-sm > .input-group-btn > .btn { margin-bottom: 20px; border: 1px solid transparent; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar { border-radius: 4px; } } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-header { float: left; } @@ -3794,7 +3794,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { .navbar-collapse.in { overflow-y: auto; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-collapse { width: auto; border-top: 0; @@ -3834,7 +3834,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { margin-right: -15px; margin-left: -15px; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, @@ -3847,7 +3847,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { z-index: 1000; border-width: 0 0 1px; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-static-top { border-radius: 0; } @@ -3859,7 +3859,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { left: 0; z-index: 1030; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-fixed-top, .navbar-fixed-bottom { border-radius: 0; @@ -3885,7 +3885,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { .navbar-brand:focus { text-decoration: none; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { margin-left: -15px; @@ -3915,7 +3915,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { .navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-toggle { display: none; } @@ -3951,7 +3951,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { background-image: none; } } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-nav { float: left; margin: 0; @@ -3967,7 +3967,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { margin-right: -15px; } } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-left { float: left !important; } @@ -3986,7 +3986,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-form .form-group { display: inline-block; margin-bottom: 0; @@ -4038,7 +4038,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { margin-bottom: 5px; } } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-form { width: auto; padding-top: 0; @@ -4078,7 +4078,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { margin-top: 15px; margin-bottom: 15px; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .navbar-text { float: left; margin-right: 15px; @@ -4565,7 +4565,7 @@ a.list-group-item.active > .badge, .jumbotron .container { max-width: 100%; } -@media screen and (min-width: 768px) { +@media screen and (min-width: 1010px) { .jumbotron { padding-top: 48px; padding-bottom: 48px; @@ -5473,7 +5473,7 @@ button.close { height: 50px; overflow: scroll; } -@media (min-width: 768px) { +@media (min-width: 1010px) { .modal-dialog { width: 600px; margin: 30px auto; @@ -5486,7 +5486,7 @@ button.close { width: 300px; } } -@media (min-width: 992px) { +@media (min-width: 1011px) { .modal-lg { width: 900px; } @@ -5873,7 +5873,7 @@ button.close { .carousel-caption .btn { text-shadow: none; } -@media screen and (min-width: 768px) { +@media screen and (min-width: 1010px) { .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, @@ -6040,7 +6040,7 @@ button.close { display: inline-block !important; } } -@media (min-width: 768px) and (max-width: 991px) { +@media (min-width: 1010px) and (max-width: 1012px) { .visible-sm { display: block !important; } @@ -6055,22 +6055,22 @@ button.close { display: table-cell !important; } } -@media (min-width: 768px) and (max-width: 991px) { +@media (min-width: 1010px) and (max-width: 1012px) { .visible-sm-block { display: block !important; } } -@media (min-width: 768px) and (max-width: 991px) { +@media (min-width: 1010px) and (max-width: 1012px) { .visible-sm-inline { display: inline !important; } } -@media (min-width: 768px) and (max-width: 991px) { +@media (min-width: 1010px) and (max-width: 1012px) { .visible-sm-inline-block { display: inline-block !important; } } -@media (min-width: 992px) and (max-width: 1199px) { +@media (min-width: 1011px) and (max-width: 1199px) { .visible-md { display: block !important; } @@ -6085,17 +6085,17 @@ button.close { display: table-cell !important; } } -@media (min-width: 992px) and (max-width: 1199px) { +@media (min-width: 1011px) and (max-width: 1199px) { .visible-md-block { display: block !important; } } -@media (min-width: 992px) and (max-width: 1199px) { +@media (min-width: 1011px) and (max-width: 1199px) { .visible-md-inline { display: inline !important; } } -@media (min-width: 992px) and (max-width: 1199px) { +@media (min-width: 1011px) and (max-width: 1199px) { .visible-md-inline-block { display: inline-block !important; } @@ -6135,12 +6135,12 @@ button.close { display: none !important; } } -@media (min-width: 768px) and (max-width: 991px) { +@media (min-width: 1010px) and (max-width: 1012px) { .hidden-sm { display: none !important; } } -@media (min-width: 992px) and (max-width: 1199px) { +@media (min-width: 1011px) and (max-width: 1199px) { .hidden-md { display: none !important; } From fccb439c1f26d3de452f81ebdabc360f8e14def0 Mon Sep 17 00:00:00 2001 From: markheloking Date: Mon, 8 Dec 2014 15:21:32 +0100 Subject: [PATCH 5/5] Revert "Startup scripts" This reverts commit ce31539a0d91b6083b0cf906aef2ad71afa1d465. --- HideScript.vbs | 32 -------------------------------- startscript.bat | 3 --- 2 files changed, 35 deletions(-) delete mode 100644 HideScript.vbs delete mode 100644 startscript.bat diff --git a/HideScript.vbs b/HideScript.vbs deleted file mode 100644 index e5602a54..00000000 --- a/HideScript.vbs +++ /dev/null @@ -1,32 +0,0 @@ -'--------------------8<---------------------- -sTitle = "Batch launcher" - -Set oArgs = WScript.Arguments -Set oFSO = CreateObject("Scripting.FileSystemObject") -Set oShell = CreateObject("WScript.Shell") - -If oArgs.Count <> 1 Then -' Will die after 10 seconds if no one is pressing the OK button -oShell.Popup "Error: You need to supply a file path " _ -& "as input parameter!", 10, sTitle, vbCritical + vbSystemModal - -Wscript.Quit 1 -End If - -sFilePath = oArgs(0) - -If Not oFSO.FileExists(sFilePath) Then -' Will die after 10 seconds if no one is pressing the OK button -oShell.Popup "Error: Batch file not found", _ -10, sTitle, vbCritical + vbSystemModal - -Wscript.Quit 1 -End If - -' add quotes around the path in case of spaces -iRC = oShell.Run("""" & sFilePath & """", 0, True) - -' Return with the same errorlevel as the batch file had -Wscript.Quit iRC - -'--------------------8<---------------------- \ No newline at end of file diff --git a/startscript.bat b/startscript.bat deleted file mode 100644 index 23422037..00000000 --- a/startscript.bat +++ /dev/null @@ -1,3 +0,0 @@ -@echo off -pythonw SickBeard.py -exit \ No newline at end of file