New Web theme

Added IDownloadClientController & SabController (WIP)
pull/4/head
markus101 14 years ago
parent b4b17eb500
commit f5cf44c2b3

@ -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>
<Compile Include="Controllers\DbConfigController.cs" />
<Compile Include="Controllers\IDownloadClientController.cs" />
<Compile Include="Controllers\ISeriesController.cs" />
<Compile Include="Controllers\ITvDbController.cs" />
<Compile Include="Controllers\SabController.cs" />
<Compile Include="Repository\Config.cs" />
<Compile Include="Repository\Series.cs" />
<Compile Include="Main.cs" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

@ -1,22 +1,25 @@
/*----------------------------------------------------------
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
#FFC200 with your new color.
#5c87b2 with your new color.
----------------------------------------------------------*/
body
{
background-color: #FFC200;
background-image: url( 'Background.jpg' );
background-position: left top;
background-repeat: repeat-x;
font-size: .75em;
font-family: Verdana, Helvetica, Sans-Serif;
margin: 0;
padding: 0;
color: #696969;
background-color: #EEF1FA;
}
a:link
{
color: #FFC200;
text-decoration: underline;
color: #034af3;
text-decoration: none;
}
a:visited
{
@ -24,8 +27,8 @@ a:visited
}
a:hover
{
color: #1d60ff;
text-decoration: none;
color: #3C80DB;
text-decoration: underline;
}
a:active
{
@ -43,8 +46,7 @@ p, ul
h1, h2, h3, h4, h5, h6
{
font-size: 1.5em;
color: #000;
font-family: Arial, Helvetica, sans-serif;
color: #3C80DB;
}
h1
@ -94,9 +96,10 @@ page width. Or, you can specify an exact pixel width. */
position: relative;
margin-bottom: 0px;
color: #000;
padding: 0;
top: 0px;
left: 0px;
padding: 0 0 20px 0px;
background-image: url( 'BannerTopEdge.gif' );
background-position: bottom;
background-repeat: repeat-x;
}
#header h1
@ -107,7 +110,6 @@ page width. Or, you can specify an exact pixel width. */
color: #fff;
border: none;
line-height: 2em;
font-family: Arial, Helvetica, sans-serif;
font-size: 32px !important;
}
@ -116,7 +118,10 @@ page width. Or, you can specify an exact pixel width. */
padding: 30px 30px 15px 30px;
background-color: #fff;
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
@ -133,8 +138,7 @@ page width. Or, you can specify an exact pixel width. */
----------------------------------------------------------*/
ul#menu
{
border-bottom: 0px #FFC200 solid;
padding: 0 0 2px;
padding: 0;
position: relative;
margin: 0;
text-align: right;
@ -162,22 +166,24 @@ ul#menu li a
text-decoration: none;
line-height: 2.8em;
background-color: #fff;
color: #FFC200;
color: #3C80DB;
border: Solid 1px #AECAF0;
}
ul#menu li a:hover
{
background-color: #FFC200;
color : #fff;
border: 1px solid #fff;
border-bottom: #FFC200;
background-color: #3C80DB;
text-decoration: none;
color: #fff;
border: Solid 1px #AECAF0;
}
ul#menu li a:active
{
background-color: #FF5B00;
background-color: #3C80DB;
text-decoration: none;
color: #fff;
border: Solid 1px #AECAF0;
}
ul#menu li.selected a
@ -201,23 +207,46 @@ fieldset p
margin: 2px 12px 10px 10px;
}
fieldset label
{
display: block;
color: #303030;
}
fieldset label.inline
{
display: inline;
}
legend
{
font-size: 1.1em;
font-weight: 600;
padding: 2px 4px 8px 4px;
color: #3C80DB;
}
input[type="text"]
{
width: 200px;
border: 1px solid #CCC;
border: 1px solid #3C80DB;
color: #696969;
}
input[type="password"]
{
width: 200px;
border: 1px solid #CCC;
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
@ -225,22 +254,27 @@ input[type="password"]
table
{
border: solid 1px #4AC0F2;
border: Solid 1px #A3C0E8;
border-collapse: collapse;
color: #283B56;
}
table td
{
padding: 5px;
border: solid 1px #4AC0F2;
border: Solid 1px #A3C0E8;
}
table th
{
padding: 6px 5px;
text-align: left;
background-color: #4AC0F2;
border: solid 1px #4AC0F2;
border: Solid 1px #A3C0E8;
background-image: url( 'TableHeaderBackground.gif' );
background-position: left;
background-repeat: repeat-x;
color: #283B56;
cursor: pointer;
}
/* MISC
@ -294,56 +328,31 @@ div#title
text-decoration: none;
}
/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
color: #ff0000;
}
.field-validation-valid
{
display: none;
background-image: url( 'Error.png' );
background-position: left;
background-repeat: no-repeat;
padding: 0px 0px 0px 20px;
font-size:0.9em;
}
.input-validation-error
{
border: 1px solid #ff0000;
background-color: #ffeeee;
}
.validation-summary-errors
{
font-weight: bold;
font-size:0.9em;
padding: 4px;
color: #ff0000;
}
.validation-summary-valid
{
display: none;
}
/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label,
.display-field,
.editor-field
.validation-summary-errors li
{
margin: 0.5em 0;
}
.text-box
{
width: 30em;
}
.text-box.multi-line
{
height: 6.5em;
}
.tri-state
{
width: 6em;
margin: 0px;
padding: 0px;
list-style: none;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

@ -80,6 +80,14 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</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="Views\Series\Details.aspx" />
<Content Include="Views\Series\index.aspx" />

Loading…
Cancel
Save