New Web theme

Added IDownloadClientController & SabController (WIP)
pull/3113/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>
<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" />

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 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' );
background-position: left top;
background-repeat: repeat-x;
font-size: .75em; font-size: .75em;
font-family: Verdana, Helvetica, Sans-Serif; font-family: Verdana, Helvetica, Sans-Serif;
margin: 0; margin: 0;
padding: 0; padding: 0;
color: #696969; color: #696969;
background-color: #EEF1FA;
} }
a:link a:link
{ {
color: #FFC200; color: #034af3;
text-decoration: underline; text-decoration: none;
} }
a:visited a:visited
{ {
@ -24,8 +27,8 @@ a:visited
} }
a:hover a:hover
{ {
color: #1d60ff; color: #3C80DB;
text-decoration: none; text-decoration: underline;
} }
a:active a:active
{ {
@ -43,8 +46,7 @@ p, ul
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
@ -94,9 +96,10 @@ page width. Or, you can specify an exact pixel width. */
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
@ -107,7 +110,6 @@ page width. Or, you can specify an exact pixel width. */
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;
} }
@ -116,7 +118,10 @@ page width. Or, you can specify an exact pixel width. */
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
@ -133,8 +138,7 @@ page width. Or, you can specify an exact pixel width. */
----------------------------------------------------------*/ ----------------------------------------------------------*/
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;
@ -162,22 +166,24 @@ ul#menu li a
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;
border: 1px solid #fff;
border-bottom: #FFC200;
text-decoration: none; text-decoration: none;
color: #fff;
border: Solid 1px #AECAF0;
} }
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
@ -201,23 +207,46 @@ fieldset p
margin: 2px 12px 10px 10px; margin: 2px 12px 10px 10px;
} }
fieldset label
{
display: block;
color: #303030;
}
fieldset label.inline
{
display: inline;
}
legend legend
{ {
font-size: 1.1em; font-size: 1.1em;
font-weight: 600; font-weight: 600;
padding: 2px 4px 8px 4px; padding: 2px 4px 8px 4px;
color: #3C80DB;
} }
input[type="text"] input[type="text"]
{ {
width: 200px; width: 200px;
border: 1px solid #CCC; border: 1px solid #3C80DB;
color: #696969;
} }
input[type="password"] input[type="password"]
{ {
width: 200px; 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 /* TABLE
@ -225,22 +254,27 @@ input[type="password"]
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
@ -252,28 +286,28 @@ table th
.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
@ -294,56 +328,31 @@ div#title
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;
padding: 4px;
color: #ff0000; color: #ff0000;
} }
.validation-summary-valid .validation-summary-errors li
{
display: none;
}
/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label,
.display-field,
.editor-field
{
margin: 0.5em 0;
}
.text-box
{ {
width: 30em; margin: 0px;
} padding: 0px;
list-style: none;
.text-box.multi-line
{
height: 6.5em;
}
.tri-state
{
width: 6em;
} }

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" /> <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" />

Loading…
Cancel
Save