New Web theme
Added IDownloadClientController & SabController (WIP)
|
@ -0,0 +1,13 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.Controllers
|
||||||
|
{
|
||||||
|
public interface IDownloadClientController
|
||||||
|
{
|
||||||
|
string AddByUrl(string url); //Should accept something other than string (NzbInfo?) returns result if applicable
|
||||||
|
bool IsInQueue(string goodName);//Should accept something other than string (Episode?) returns bool
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,37 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.Controllers
|
||||||
|
{
|
||||||
|
public class SabController : IDownloadClientController
|
||||||
|
{
|
||||||
|
private readonly IConfigController _config;
|
||||||
|
|
||||||
|
public SabController(IConfigController config)
|
||||||
|
{
|
||||||
|
_config = config;
|
||||||
|
}
|
||||||
|
|
||||||
|
public string AddByUrl(string url)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public string AddByPath(string path)
|
||||||
|
{
|
||||||
|
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public bool IsInQueue(string goodName)
|
||||||
|
{
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -134,8 +134,10 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Controllers\DbConfigController.cs" />
|
<Compile Include="Controllers\DbConfigController.cs" />
|
||||||
|
<Compile Include="Controllers\IDownloadClientController.cs" />
|
||||||
<Compile Include="Controllers\ISeriesController.cs" />
|
<Compile Include="Controllers\ISeriesController.cs" />
|
||||||
<Compile Include="Controllers\ITvDbController.cs" />
|
<Compile Include="Controllers\ITvDbController.cs" />
|
||||||
|
<Compile Include="Controllers\SabController.cs" />
|
||||||
<Compile Include="Repository\Config.cs" />
|
<Compile Include="Repository\Config.cs" />
|
||||||
<Compile Include="Repository\Series.cs" />
|
<Compile Include="Repository\Series.cs" />
|
||||||
<Compile Include="Main.cs" />
|
<Compile Include="Main.cs" />
|
||||||
|
|
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 131 B |
After Width: | Height: | Size: 112 B |
After Width: | Height: | Size: 820 B |
After Width: | Height: | Size: 270 B |
|
@ -1,80 +1,82 @@
|
||||||
/*----------------------------------------------------------
|
/*----------------------------------------------------------
|
||||||
The base color for this template is #FFC200. If you'd like
|
The base color for this template is #5c87b2. If you'd like
|
||||||
to use a different color start by replacing all instances of
|
to use a different color start by replacing all instances of
|
||||||
#FFC200 with your new color.
|
#5c87b2 with your new color.
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
body
|
body
|
||||||
{
|
{
|
||||||
background-color: #FFC200;
|
background-image: url( 'Background.jpg' );
|
||||||
font-size: .75em;
|
background-position: left top;
|
||||||
font-family: Verdana, Helvetica, Sans-Serif;
|
background-repeat: repeat-x;
|
||||||
margin: 0;
|
font-size: .75em;
|
||||||
padding: 0;
|
font-family: Verdana, Helvetica, Sans-Serif;
|
||||||
color: #696969;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
color: #696969;
|
||||||
|
background-color: #EEF1FA;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link
|
a:link
|
||||||
{
|
{
|
||||||
color: #FFC200;
|
color: #034af3;
|
||||||
text-decoration: underline;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
a:visited
|
a:visited
|
||||||
{
|
{
|
||||||
color: #505abc;
|
color: #505abc;
|
||||||
}
|
}
|
||||||
a:hover
|
a:hover
|
||||||
{
|
{
|
||||||
color: #1d60ff;
|
color: #3C80DB;
|
||||||
text-decoration: none;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
a:active
|
a:active
|
||||||
{
|
{
|
||||||
color: #12eb87;
|
color: #12eb87;
|
||||||
}
|
}
|
||||||
|
|
||||||
p, ul
|
p, ul
|
||||||
{
|
{
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* HEADINGS
|
/* HEADINGS
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
h1, h2, h3, h4, h5, h6
|
h1, h2, h3, h4, h5, h6
|
||||||
{
|
{
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
color: #000;
|
color: #3C80DB;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1
|
h1
|
||||||
{
|
{
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
h2
|
h2
|
||||||
{
|
{
|
||||||
padding: 0 0 10px 0;
|
padding: 0 0 10px 0;
|
||||||
}
|
}
|
||||||
h3
|
h3
|
||||||
{
|
{
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
h4
|
h4
|
||||||
{
|
{
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
h5, h6
|
h5, h6
|
||||||
{
|
{
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this rule styles <h2> tags that are the
|
/* this rule styles <h2> tags that are the
|
||||||
first child of the left and right table columns */
|
first child of the left and right table columns */
|
||||||
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
|
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
|
||||||
{
|
{
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PRIMARY LAYOUT ELEMENTS
|
/* PRIMARY LAYOUT ELEMENTS
|
||||||
|
@ -84,266 +86,273 @@ first child of the left and right table columns */
|
||||||
page width. Or, you can specify an exact pixel width. */
|
page width. Or, you can specify an exact pixel width. */
|
||||||
.page
|
.page
|
||||||
{
|
{
|
||||||
width: 90%;
|
width: 90%;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header
|
#header
|
||||||
{
|
{
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
color: #000;
|
color: #000;
|
||||||
padding: 0;
|
padding: 0 0 20px 0px;
|
||||||
top: 0px;
|
background-image: url( 'BannerTopEdge.gif' );
|
||||||
left: 0px;
|
background-position: bottom;
|
||||||
|
background-repeat: repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header h1
|
#header h1
|
||||||
{
|
{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: none;
|
border: none;
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-size: 32px !important;
|
||||||
font-size: 32px !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#main
|
#main
|
||||||
{
|
{
|
||||||
padding: 30px 30px 15px 30px;
|
padding: 30px 30px 15px 30px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
_height: 1px; /* only IE6 applies CSS properties starting with an underscore */
|
_height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
|
||||||
|
background-image: url( 'BannerBottomEdge.gif' );
|
||||||
|
background-position: bottom;
|
||||||
|
background-repeat: repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer
|
#footer
|
||||||
{
|
{
|
||||||
color: #999;
|
color: #999;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TAB MENU
|
/* TAB MENU
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
ul#menu
|
ul#menu
|
||||||
{
|
{
|
||||||
border-bottom: 0px #FFC200 solid;
|
padding: 0;
|
||||||
padding: 0 0 2px;
|
position: relative;
|
||||||
position: relative;
|
margin: 0;
|
||||||
margin: 0;
|
text-align: right;
|
||||||
text-align: right;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#menu li
|
ul#menu li
|
||||||
{
|
{
|
||||||
display: inline;
|
display: inline;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#menu li#greeting
|
ul#menu li#greeting
|
||||||
{
|
{
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
line-height: 2.8em;
|
line-height: 2.8em;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#menu li a
|
ul#menu li a
|
||||||
{
|
{
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
line-height: 2.8em;
|
line-height: 2.8em;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #FFC200;
|
color: #3C80DB;
|
||||||
|
border: Solid 1px #AECAF0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#menu li a:hover
|
ul#menu li a:hover
|
||||||
{
|
{
|
||||||
background-color: #FFC200;
|
background-color: #3C80DB;
|
||||||
color : #fff;
|
text-decoration: none;
|
||||||
border: 1px solid #fff;
|
color: #fff;
|
||||||
border-bottom: #FFC200;
|
border: Solid 1px #AECAF0;
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#menu li a:active
|
ul#menu li a:active
|
||||||
{
|
{
|
||||||
background-color: #FF5B00;
|
background-color: #3C80DB;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
color: #fff;
|
||||||
|
border: Solid 1px #AECAF0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#menu li.selected a
|
ul#menu li.selected a
|
||||||
{
|
{
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FORM LAYOUT ELEMENTS
|
/* FORM LAYOUT ELEMENTS
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
|
|
||||||
fieldset
|
fieldset
|
||||||
{
|
{
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
border: 1px solid #CCC;
|
border: 1px solid #CCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset p
|
fieldset p
|
||||||
{
|
{
|
||||||
margin: 2px 12px 10px 10px;
|
margin: 2px 12px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
legend
|
fieldset label
|
||||||
{
|
{
|
||||||
font-size: 1.1em;
|
display: block;
|
||||||
font-weight: 600;
|
color: #303030;
|
||||||
padding: 2px 4px 8px 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"]
|
fieldset label.inline
|
||||||
{
|
{
|
||||||
width: 200px;
|
display: inline;
|
||||||
border: 1px solid #CCC;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="password"]
|
legend
|
||||||
{
|
{
|
||||||
width: 200px;
|
font-size: 1.1em;
|
||||||
border: 1px solid #CCC;
|
font-weight: 600;
|
||||||
|
padding: 2px 4px 8px 4px;
|
||||||
|
color: #3C80DB;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"]
|
||||||
|
{
|
||||||
|
width: 200px;
|
||||||
|
border: 1px solid #3C80DB;
|
||||||
|
color: #696969;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="password"]
|
||||||
|
{
|
||||||
|
width: 200px;
|
||||||
|
border: 1px solid #3C80DB;
|
||||||
|
color: #696969;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="submit"]
|
||||||
|
{
|
||||||
|
background-image: url( 'ButtonBack.gif' );
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
border: 1px solid #3C80DB;
|
||||||
|
color: #283B56;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TABLE
|
/* TABLE
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
|
|
||||||
table
|
table
|
||||||
{
|
{
|
||||||
border: solid 1px #4AC0F2;
|
border: Solid 1px #A3C0E8;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
color: #283B56;
|
||||||
}
|
}
|
||||||
|
|
||||||
table td
|
table td
|
||||||
{
|
{
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: solid 1px #4AC0F2;
|
border: Solid 1px #A3C0E8;
|
||||||
}
|
}
|
||||||
|
|
||||||
table th
|
table th
|
||||||
{
|
{
|
||||||
padding: 6px 5px;
|
padding: 6px 5px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
background-color: #4AC0F2;
|
border: Solid 1px #A3C0E8;
|
||||||
border: solid 1px #4AC0F2;
|
background-image: url( 'TableHeaderBackground.gif' );
|
||||||
|
background-position: left;
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
color: #283B56;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MISC
|
/* MISC
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
.clear
|
.clear
|
||||||
{
|
{
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.error
|
.error
|
||||||
{
|
{
|
||||||
color:Red;
|
color: Red;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menucontainer
|
#menucontainer
|
||||||
{
|
{
|
||||||
margin-top:40px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#title
|
div#title
|
||||||
{
|
{
|
||||||
display:block;
|
display: block;
|
||||||
float:left;
|
float: left;
|
||||||
text-align:left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#logindisplay
|
#logindisplay
|
||||||
{
|
{
|
||||||
font-size:1.1em;
|
font-size: 1.1em;
|
||||||
display:block;
|
display: block;
|
||||||
text-align:right;
|
text-align: right;
|
||||||
margin:10px;
|
margin: 10px;
|
||||||
color:White;
|
color: White;
|
||||||
}
|
}
|
||||||
|
|
||||||
#logindisplay a:link
|
#logindisplay a:link
|
||||||
{
|
{
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
#logindisplay a:visited
|
#logindisplay a:visited
|
||||||
{
|
{
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
#logindisplay a:hover
|
#logindisplay a:hover
|
||||||
{
|
{
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Styles for validation helpers
|
|
||||||
-----------------------------------------------------------*/
|
|
||||||
.field-validation-error
|
.field-validation-error
|
||||||
{
|
{
|
||||||
color: #ff0000;
|
color: #ff0000;
|
||||||
}
|
background-image: url( 'Error.png' );
|
||||||
|
background-position: left;
|
||||||
.field-validation-valid
|
background-repeat: no-repeat;
|
||||||
{
|
padding: 0px 0px 0px 20px;
|
||||||
display: none;
|
font-size:0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-validation-error
|
.input-validation-error
|
||||||
{
|
{
|
||||||
border: 1px solid #ff0000;
|
background-color: #ffeeee;
|
||||||
background-color: #ffeeee;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.validation-summary-errors
|
.validation-summary-errors
|
||||||
{
|
{
|
||||||
font-weight: bold;
|
font-size:0.9em;
|
||||||
color: #ff0000;
|
padding: 4px;
|
||||||
|
color: #ff0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.validation-summary-valid
|
.validation-summary-errors li
|
||||||
{
|
{
|
||||||
display: none;
|
margin: 0px;
|
||||||
}
|
padding: 0px;
|
||||||
|
list-style: none;
|
||||||
/* Styles for editor and display helpers
|
|
||||||
----------------------------------------------------------*/
|
|
||||||
.display-label,
|
|
||||||
.editor-label,
|
|
||||||
.display-field,
|
|
||||||
.editor-field
|
|
||||||
{
|
|
||||||
margin: 0.5em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-box
|
|
||||||
{
|
|
||||||
width: 30em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-box.multi-line
|
|
||||||
{
|
|
||||||
height: 6.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tri-state
|
|
||||||
{
|
|
||||||
width: 6em;
|
|
||||||
}
|
}
|
||||||
|
|
After Width: | Height: | Size: 824 B |
After Width: | Height: | Size: 820 B |
After Width: | Height: | Size: 825 B |
|
@ -80,6 +80,14 @@
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Content Include="Content\Background.jpg" />
|
||||||
|
<Content Include="Content\BannerBottomEdge.gif" />
|
||||||
|
<Content Include="Content\BannerTopEdge.gif" />
|
||||||
|
<Content Include="Content\ButtonBack.gif" />
|
||||||
|
<Content Include="Content\Error.png" />
|
||||||
|
<Content Include="Content\menuBack.gif" />
|
||||||
|
<Content Include="Content\menuHoverBack.gif" />
|
||||||
|
<Content Include="Content\TableHeaderBackground.gif" />
|
||||||
<Content Include="Global.asax" />
|
<Content Include="Global.asax" />
|
||||||
<Content Include="Views\Series\Details.aspx" />
|
<Content Include="Views\Series\Details.aspx" />
|
||||||
<Content Include="Views\Series\index.aspx" />
|
<Content Include="Views\Series\index.aspx" />
|
||||||
|
|