diff --git a/NzbDrone.Core.Test/Indexers/IndexerServiceTest.cs b/NzbDrone.Core.Test/Indexers/IndexerServiceTest.cs index 736a2967d..da2269dd6 100644 --- a/NzbDrone.Core.Test/Indexers/IndexerServiceTest.cs +++ b/NzbDrone.Core.Test/Indexers/IndexerServiceTest.cs @@ -23,11 +23,11 @@ namespace NzbDrone.Core.Test.Indexers public class IndexerServiceTest : CoreTest { [Test] - public void Init_indexer_test() + public void should_insert_indexer_in_repository_when_it_doesnt_exist() { Mocker.SetConstant>(new List { Mocker.Resolve() }); - Mocker.Resolve(); + Subject.Init(); Mocker.GetMock() .Verify(v => v.Insert(It.IsAny()), Times.Once()); @@ -50,7 +50,7 @@ namespace NzbDrone.Core.Test.Indexers { Mocker.SetConstant>(new List { Mocker.Resolve() }); - Mocker.Resolve(); + Subject.Init(); Mocker.GetMock() .Verify(v => v.Insert(It.Is(indexer => indexer.Enable)), Times.Once()); @@ -64,7 +64,7 @@ namespace NzbDrone.Core.Test.Indexers { Mocker.SetConstant>(new List { Mocker.Resolve() }); - Mocker.Resolve(); + Subject.Init(); Mocker.GetMock() .Verify(v => v.Insert(It.Is(indexer => indexer.Enable)), Times.Never()); diff --git a/NzbDrone.Services.Api/ApiServicesRegistrationExtention.cs b/NzbDrone.Services.Api/ApiServicesRegistrationExtention.cs deleted file mode 100644 index 8da4ac084..000000000 --- a/NzbDrone.Services.Api/ApiServicesRegistrationExtention.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Web; -using Autofac; -using MongoDB.Driver; -using NzbDrone.Services.Api.Datastore; - -namespace NzbDrone.Services.Api -{ - public static class ApiServicesRegistrationExtention - { - public static ContainerBuilder RegisterApiServices(this ContainerBuilder containerBuilder) - { - containerBuilder.RegisterAssemblyTypes(Assembly.GetExecutingAssembly()).SingleInstance(); - - containerBuilder.Register(c => c.Resolve().GetMainDb()) - .As().SingleInstance(); - - return containerBuilder; - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/Bootstrapper.cs b/NzbDrone.Services.Api/Bootstrapper.cs deleted file mode 100644 index 6af7608f9..000000000 --- a/NzbDrone.Services.Api/Bootstrapper.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Web; -using AutoMapper; -using Autofac; -using MongoDB.Bson; -using NLog; -using Nancy.Bootstrapper; -using Nancy.Bootstrappers.Autofac; -using NzbDrone.Services.Api.Extensions; -using NzbDrone.Services.Api.SceneMapping; - -namespace NzbDrone.Services.Api -{ - public class Bootstrapper : AutofacNancyBootstrapper - { - private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); - - protected override ILifetimeScope GetApplicationContainer() - { - ApplicationPipelines.OnError.AddItemToEndOfPipeline((context, exception) => - { - Logger.FatalException("Application Exception", exception); - return null; - }); - - var builder = new ContainerBuilder(); - builder.RegisterApiServices(); - var container = builder.Build(); - - return container; - } - - protected override NancyInternalConfiguration InternalConfiguration - { - get - { - return NancyInternalConfiguration.WithOverrides(c => c.Serializers.Add(typeof(NancyJsonSerializer))); - } - } - - protected override void ApplicationStartup(ILifetimeScope container, IPipelines pipelines) - { - InitializeAutomapper(); - } - - public static void InitializeAutomapper() - { - Mapper.CreateMap() - .ForMember(dest => dest.MapId, opt => opt.MapFrom(src => src.MapId.ToString())); - - Mapper.CreateMap() - .ForMember(dest => dest.MapId, opt => opt.MapFrom(src => ObjectId.Parse(src.MapId))); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/DailySeries/DailySeriesModel.cs b/NzbDrone.Services.Api/DailySeries/DailySeriesModel.cs deleted file mode 100644 index 9c6ca51fe..000000000 --- a/NzbDrone.Services.Api/DailySeries/DailySeriesModel.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using MongoDB.Bson.Serialization.Attributes; - - -namespace NzbDrone.Services.Api.DailySeries -{ - public class DailySeriesModel - { - public const string CollectionName = "DailySeries"; - - [BsonId] - public Int32 Id { get; set; } - - public String Title { get; set; } - - public Boolean Public { get; set; } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/DailySeries/DailySeriesModule.cs b/NzbDrone.Services.Api/DailySeries/DailySeriesModule.cs deleted file mode 100644 index 3cfa6465d..000000000 --- a/NzbDrone.Services.Api/DailySeries/DailySeriesModule.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Nancy; -using NzbDrone.Services.Api.Extensions; - -namespace NzbDrone.Services.Api.DailySeries -{ - public class DailySeriesModule : NancyModule - { - private readonly DailySeriesRepository _dailySeriesRepository; - - public DailySeriesModule(DailySeriesRepository dailySeriesRepository) - : base("/dailyseries") - { - _dailySeriesRepository = dailySeriesRepository; - - Get["/"] = x => OnGet(); - Get["/all"] = x => OnGet(); - Get["/{Id}"] = x => OnGet((int)x.Id); - Get["/isdaily/{Id}"] = x => OnGet((int)x.Id); - } - - private Response OnGet() - { - return _dailySeriesRepository.Public().AsResponse(); - } - - private Response OnGet(int seriesId) - { - var result = _dailySeriesRepository.Find(seriesId) != null; - - return result.AsResponse(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/DailySeries/DailySeriesRepository.cs b/NzbDrone.Services.Api/DailySeries/DailySeriesRepository.cs deleted file mode 100644 index 9c5c8d0ee..000000000 --- a/NzbDrone.Services.Api/DailySeries/DailySeriesRepository.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using MongoDB.Driver; -using MongoDB.Driver.Builders; - -namespace NzbDrone.Services.Api.DailySeries -{ - public class DailySeriesRepository - { - private readonly MongoDatabase _mongoDb; - - public DailySeriesRepository(MongoDatabase mongoDb) - { - _mongoDb = mongoDb; - } - - public DailySeriesRepository() - { - } - - public List All() - { - return _mongoDb.GetCollection(DailySeriesModel.CollectionName).FindAll().ToList(); - } - - public List Public() - { - var query = Query.EQ(d => d.Public, true); - return _mongoDb.GetCollection(DailySeriesModel.CollectionName).Find(query).ToList(); - } - - public DailySeriesModel Find(int seriesId) - { - var query = Query.EQ(d => d.Id, seriesId); - return _mongoDb.GetCollection(DailySeriesModel.CollectionName).FindOne(query); - } - - public void Insert(DailySeriesModel dailySeries) - { - _mongoDb.GetCollection(DailySeriesModel.CollectionName).Insert(dailySeries); - } - - public void Delete(int seriesId) - { - var query = Query.EQ(d => d.Id, seriesId); - _mongoDb.GetCollection(DailySeriesModel.CollectionName).Remove(query); - } - - public void TogglePublic(int seriesId, bool status) - { - var query = Query.EQ(d => d.Id, seriesId); - var update = Update.Set(d => d.Public, status); - _mongoDb.GetCollection(DailySeriesModel.CollectionName).Update(query, update); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/Datastore/Connection.cs b/NzbDrone.Services.Api/Datastore/Connection.cs deleted file mode 100644 index 3234fc252..000000000 --- a/NzbDrone.Services.Api/Datastore/Connection.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Linq; -using System.Web; -using MongoDB.Driver; - -namespace NzbDrone.Services.Api.Datastore -{ - public class Connection - { - public MongoDatabase GetMainDb() - { - var db = GetMongoDb(ConfigurationManager.ConnectionStrings["MongoLab"].ConnectionString, "services-dev"); - return db; - } - - public MongoDatabase GetMongoDb(string connectionString, string dbName) - { - var mongoServer = MongoServer.Create(connectionString); - var database = mongoServer.GetDatabase(dbName.ToLowerInvariant()); - return database; - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/Extensions/NancyJsonSerializer.cs b/NzbDrone.Services.Api/Extensions/NancyJsonSerializer.cs deleted file mode 100644 index 38658c9bc..000000000 --- a/NzbDrone.Services.Api/Extensions/NancyJsonSerializer.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Collections.Generic; -using System.IO; -using System.Linq; -using Nancy; -using Newtonsoft.Json; - -namespace NzbDrone.Services.Api.Extensions -{ - public class NancyJsonSerializer : ISerializer - { - public readonly static NancyJsonSerializer Instance = new NancyJsonSerializer(); - - public bool CanSerialize(string contentType) - { - return true; - } - - public void Serialize(string contentType, TModel model, Stream outputStream) - { - var jsonTextWriter = new JsonTextWriter(new StreamWriter(outputStream)); - Serializer.Instance.Serialize(jsonTextWriter, model); - jsonTextWriter.Flush(); - } - - public IEnumerable Extensions { get; private set; } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/Extensions/RequestExtensions.cs b/NzbDrone.Services.Api/Extensions/RequestExtensions.cs deleted file mode 100644 index dc2892c0e..000000000 --- a/NzbDrone.Services.Api/Extensions/RequestExtensions.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.IO; -using System.Linq; -using Nancy; -using Nancy.Responses; -using Newtonsoft.Json; - -namespace NzbDrone.Services.Api.Extensions -{ - public static class JsonExtensions - { - public static T FromJson(this Stream body) - { - var reader = new StreamReader(body, true); - body.Position = 0; - var value = reader.ReadToEnd(); - return JsonConvert.DeserializeObject(value, Serializer.Settings); - } - - public static JsonResponse AsResponse(this TModel model, HttpStatusCode statusCode = HttpStatusCode.OK) - { - var jsonResponse = new JsonResponse(model, new NancyJsonSerializer()) { StatusCode = statusCode }; - return jsonResponse; - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/Extensions/Serializer.cs b/NzbDrone.Services.Api/Extensions/Serializer.cs deleted file mode 100644 index d990596e4..000000000 --- a/NzbDrone.Services.Api/Extensions/Serializer.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Linq; -using Newtonsoft.Json; -using Newtonsoft.Json.Serialization; - -namespace NzbDrone.Services.Api.Extensions -{ - public static class Serializer - { - static Serializer() - { - Settings = new JsonSerializerSettings - { - DateTimeZoneHandling = DateTimeZoneHandling.Utc, - NullValueHandling = NullValueHandling.Ignore, - Formatting = Formatting.None, - DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate - }; - - Instance = new JsonSerializer - { - DateTimeZoneHandling = Settings.DateTimeZoneHandling, - NullValueHandling = NullValueHandling.Ignore, - Formatting = Formatting.None, - DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate, - ContractResolver = new CamelCasePropertyNamesContractResolver() - }; - } - - public static JsonSerializerSettings Settings { get; private set; } - - public static JsonSerializer Instance { get; private set; } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/NzbDrone.Services.Api.csproj b/NzbDrone.Services.Api/NzbDrone.Services.Api.csproj deleted file mode 100644 index eae3ac7e2..000000000 --- a/NzbDrone.Services.Api/NzbDrone.Services.Api.csproj +++ /dev/null @@ -1,177 +0,0 @@ - - - - - Debug - AnyCPU - - - 2.0 - {A675DE45-D30A-4CAC-991A-34DA56947DD7} - {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - NzbDrone.Services.Api - NzbDrone.Services.Api - v4.0 - true - - - - - ..\ - true - - - true - full - false - bin\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\ - TRACE - prompt - 4 - - - - False - ..\packages\Autofac.3.0.1\lib\net40\Autofac.dll - - - False - ..\packages\Autofac.3.0.1\lib\net40\Autofac.Configuration.dll - - - False - ..\packages\AutoMapper.2.2.1\lib\net40\AutoMapper.dll - - - - False - ..\packages\mongocsharpdriver.1.7.1\lib\net35\MongoDB.Bson.dll - - - False - ..\packages\mongocsharpdriver.1.7.1\lib\net35\MongoDB.Driver.dll - - - False - ..\packages\Nancy.0.16.1\lib\net40\Nancy.dll - - - False - ..\packages\Nancy.Bootstrappers.Autofac.0.16.1\lib\net40\Nancy.Bootstrappers.Autofac.dll - - - ..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll - - - ..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Web.config - - - Web.config - - - - - - - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - true - bin\ - DEBUG;TRACE - full - x86 - prompt - MinimumRecommendedRules.ruleset - - - bin\ - TRACE - true - pdbonly - x86 - prompt - MinimumRecommendedRules.ruleset - - - - - - - - - False - True - 28501 - / - http://localhost:1306/ - False - False - - - False - - - - - - - \ No newline at end of file diff --git a/NzbDrone.Services.Api/Properties/AssemblyInfo.cs b/NzbDrone.Services.Api/Properties/AssemblyInfo.cs deleted file mode 100644 index 496d784cf..000000000 --- a/NzbDrone.Services.Api/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("NzbDrone.Services.Api")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NzbDrone.Services.Api")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("616405a2-4ccc-4272-9464-905c69b5a8d3")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/NzbDrone.Services.Api/SceneMapping/SceneMappingJsonModel.cs b/NzbDrone.Services.Api/SceneMapping/SceneMappingJsonModel.cs deleted file mode 100644 index c16b82f5d..000000000 --- a/NzbDrone.Services.Api/SceneMapping/SceneMappingJsonModel.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using MongoDB.Bson; -using MongoDB.Bson.Serialization.Attributes; -using Newtonsoft.Json; - - -namespace NzbDrone.Services.Api.SceneMapping -{ - public class SceneMappingJsonModel - { - public String MapId { get; set; } - - public string CleanTitle { get; set; } - - [JsonProperty(PropertyName = "Id")] - public int SeriesId { get; set; } - - [JsonProperty(PropertyName = "Title")] - public string SceneName { get; set; } - - [JsonProperty(PropertyName = "Season")] - public int SeasonNumber { get; set; } - - public Boolean Public { get; set; } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/SceneMapping/SceneMappingModel.cs b/NzbDrone.Services.Api/SceneMapping/SceneMappingModel.cs deleted file mode 100644 index 4f808df8b..000000000 --- a/NzbDrone.Services.Api/SceneMapping/SceneMappingModel.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using MongoDB.Bson; -using MongoDB.Bson.Serialization.Attributes; -using Newtonsoft.Json; - - -namespace NzbDrone.Services.Api.SceneMapping -{ - public class SceneMappingModel - { - public const string CollectionName = "SceneMappings"; - - [BsonId] - public ObjectId MapId { get; set; } - - public string CleanTitle { get; set; } - - [JsonProperty(PropertyName = "Id")] - public int SeriesId { get; set; } - - [JsonProperty(PropertyName = "Title")] - public string SceneName { get; set; } - - [JsonProperty(PropertyName = "Season")] - public int SeasonNumber { get; set; } - - public Boolean Public { get; set; } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/SceneMapping/SceneMappingModule.cs b/NzbDrone.Services.Api/SceneMapping/SceneMappingModule.cs deleted file mode 100644 index cc603daae..000000000 --- a/NzbDrone.Services.Api/SceneMapping/SceneMappingModule.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using AutoMapper; -using MongoDB.Bson; -using Nancy; -using NzbDrone.Services.Api.Extensions; - -namespace NzbDrone.Services.Api.SceneMapping -{ - public class SceneMappingModule : NancyModule - { - private readonly SceneMappingRepository _sceneMappingRepository; - - public SceneMappingModule(SceneMappingRepository sceneMappingRepository) - : base("/scenemapping") - { - _sceneMappingRepository = sceneMappingRepository; - - Get["/"] = x => OnGet(); - Get["/active"] = x => OnGet(); - Get["/{MapId}"] = x => OnGet(x.MapId); - } - - private Response OnGet() - { - var mappings = _sceneMappingRepository.Public(); - return Mapper.Map, List>(mappings).AsResponse(); - } - - private Response OnGet(string mapId) - { - var mapping = _sceneMappingRepository.Find(ObjectId.Parse(mapId)); - return Mapper.Map(mapping).AsResponse(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/SceneMapping/SceneMappingRepository.cs b/NzbDrone.Services.Api/SceneMapping/SceneMappingRepository.cs deleted file mode 100644 index 4b74a215a..000000000 --- a/NzbDrone.Services.Api/SceneMapping/SceneMappingRepository.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using MongoDB.Bson; -using MongoDB.Driver; -using MongoDB.Driver.Builders; -using NzbDrone.Services.Api.DailySeries; - -namespace NzbDrone.Services.Api.SceneMapping -{ - public class SceneMappingRepository - { - private readonly MongoDatabase _mongoDb; - - public SceneMappingRepository(MongoDatabase mongoDb) - { - _mongoDb = mongoDb; - } - - public SceneMappingRepository() - { - } - - public List All() - { - return _mongoDb.GetCollection(SceneMappingModel.CollectionName).FindAll().ToList(); - } - - public List Public() - { - var query = Query.EQ(d => d.Public, true); - return _mongoDb.GetCollection(SceneMappingModel.CollectionName).Find(query).ToList(); - } - - public SceneMappingModel Find(ObjectId mapId) - { - var query = Query.EQ(d => d.MapId, mapId); - return _mongoDb.GetCollection(SceneMappingModel.CollectionName).FindOne(query); - } - - public ObjectId Insert(SceneMappingModel mapping) - { - mapping.MapId = ObjectId.GenerateNewId(); - _mongoDb.GetCollection(SceneMappingModel.CollectionName).Insert(mapping); - - return mapping.MapId; - } - - public void Delete(ObjectId mapId) - { - var query = Query.EQ(d => d.MapId, mapId); - _mongoDb.GetCollection(SceneMappingModel.CollectionName).Remove(query); - } - - public void TogglePublic(ObjectId mapId, bool status) - { - var query = Query.EQ(d => d.MapId, mapId); - var update = Update.Set(d => d.Public, status); - _mongoDb.GetCollection(SceneMappingModel.CollectionName).Update(query, update); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services.Api/Web.Debug.config b/NzbDrone.Services.Api/Web.Debug.config deleted file mode 100644 index 2e302f9f9..000000000 --- a/NzbDrone.Services.Api/Web.Debug.config +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/NzbDrone.Services.Api/Web.Release.config b/NzbDrone.Services.Api/Web.Release.config deleted file mode 100644 index c35844462..000000000 --- a/NzbDrone.Services.Api/Web.Release.config +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/NzbDrone.Services.Api/Web.config b/NzbDrone.Services.Api/Web.config deleted file mode 100644 index 354a90c2c..000000000 --- a/NzbDrone.Services.Api/Web.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/NzbDrone.Services.Api/packages.config b/NzbDrone.Services.Api/packages.config deleted file mode 100644 index 22ce1d9a6..000000000 --- a/NzbDrone.Services.Api/packages.config +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/App_Readme/Elmah.SqlServer.sql b/NzbDrone.Services/NzbDrone.Services.Service/App_Readme/Elmah.SqlServer.sql deleted file mode 100644 index ce0575351..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/App_Readme/Elmah.SqlServer.sql +++ /dev/null @@ -1,299 +0,0 @@ -/* - - ELMAH - Error Logging Modules and Handlers for ASP.NET - Copyright (c) 2004-9 Atif Aziz. All rights reserved. - - Author(s): - - Atif Aziz, http://www.raboof.com - Phil Haacked, http://haacked.com - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -*/ - --- ELMAH DDL script for Microsoft SQL Server 2000 or later. - --- $Id: SQLServer.sql 677 2009-09-29 18:02:39Z azizatif $ - -DECLARE @DBCompatibilityLevel INT -DECLARE @DBCompatibilityLevelMajor INT -DECLARE @DBCompatibilityLevelMinor INT - -SELECT - @DBCompatibilityLevel = cmptlevel -FROM - master.dbo.sysdatabases -WHERE - name = DB_NAME() - -IF @DBCompatibilityLevel <> 80 -BEGIN - - SELECT @DBCompatibilityLevelMajor = @DBCompatibilityLevel / 10, - @DBCompatibilityLevelMinor = @DBCompatibilityLevel % 10 - - PRINT N' - =========================================================================== - WARNING! - --------------------------------------------------------------------------- - - This script is designed for Microsoft SQL Server 2000 (8.0) but your - database is set up for compatibility with version ' - + CAST(@DBCompatibilityLevelMajor AS NVARCHAR(80)) - + N'.' - + CAST(@DBCompatibilityLevelMinor AS NVARCHAR(80)) - + N'. Although - the script should work with later versions of Microsoft SQL Server, - you can ensure compatibility by executing the following statement: - - ALTER DATABASE [' - + DB_NAME() - + N'] - SET COMPATIBILITY_LEVEL = 80 - - If you are hosting ELMAH in the same database as your application - database and do not wish to change the compatibility option then you - should create a separate database to host ELMAH where you can set the - compatibility level more freely. - - If you continue with the current setup, please report any compatibility - issues you encounter over at: - - http://code.google.com/p/elmah/issues/list - - =========================================================================== -' -END -GO - -/* ------------------------------------------------------------------------ - TABLES - ------------------------------------------------------------------------ */ - -CREATE TABLE [dbo].[ELMAH_Error] -( - [ErrorId] UNIQUEIDENTIFIER NOT NULL, - [Application] NVARCHAR(60) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, - [Host] NVARCHAR(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, - [Type] NVARCHAR(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, - [Source] NVARCHAR(60) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, - [Message] NVARCHAR(500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, - [User] NVARCHAR(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, - [StatusCode] INT NOT NULL, - [TimeUtc] DATETIME NOT NULL, - [Sequence] INT IDENTITY (1, 1) NOT NULL, - [AllXml] NTEXT COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL -) -ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] - -GO - -ALTER TABLE [dbo].[ELMAH_Error] WITH NOCHECK ADD - CONSTRAINT [PK_ELMAH_Error] PRIMARY KEY NONCLUSTERED ([ErrorId]) ON [PRIMARY] -GO - -ALTER TABLE [dbo].[ELMAH_Error] ADD - CONSTRAINT [DF_ELMAH_Error_ErrorId] DEFAULT (NEWID()) FOR [ErrorId] -GO - -CREATE NONCLUSTERED INDEX [IX_ELMAH_Error_App_Time_Seq] ON [dbo].[ELMAH_Error] -( - [Application] ASC, - [TimeUtc] DESC, - [Sequence] DESC -) -ON [PRIMARY] -GO - -/* ------------------------------------------------------------------------ - STORED PROCEDURES - ------------------------------------------------------------------------ */ - -SET QUOTED_IDENTIFIER ON -GO -SET ANSI_NULLS ON -GO - -CREATE PROCEDURE [dbo].[ELMAH_GetErrorXml] -( - @Application NVARCHAR(60), - @ErrorId UNIQUEIDENTIFIER -) -AS - - SET NOCOUNT ON - - SELECT - [AllXml] - FROM - [ELMAH_Error] - WHERE - [ErrorId] = @ErrorId - AND - [Application] = @Application - -GO -SET QUOTED_IDENTIFIER OFF -GO -SET ANSI_NULLS ON -GO - -SET QUOTED_IDENTIFIER ON -GO -SET ANSI_NULLS ON -GO - -CREATE PROCEDURE [dbo].[ELMAH_GetErrorsXml] -( - @Application NVARCHAR(60), - @PageIndex INT = 0, - @PageSize INT = 15, - @TotalCount INT OUTPUT -) -AS - - SET NOCOUNT ON - - DECLARE @FirstTimeUTC DATETIME - DECLARE @FirstSequence INT - DECLARE @StartRow INT - DECLARE @StartRowIndex INT - - SELECT - @TotalCount = COUNT(1) - FROM - [ELMAH_Error] - WHERE - [Application] = @Application - - -- Get the ID of the first error for the requested page - - SET @StartRowIndex = @PageIndex * @PageSize + 1 - - IF @StartRowIndex <= @TotalCount - BEGIN - - SET ROWCOUNT @StartRowIndex - - SELECT - @FirstTimeUTC = [TimeUtc], - @FirstSequence = [Sequence] - FROM - [ELMAH_Error] - WHERE - [Application] = @Application - ORDER BY - [TimeUtc] DESC, - [Sequence] DESC - - END - ELSE - BEGIN - - SET @PageSize = 0 - - END - - -- Now set the row count to the requested page size and get - -- all records below it for the pertaining application. - - SET ROWCOUNT @PageSize - - SELECT - errorId = [ErrorId], - application = [Application], - host = [Host], - type = [Type], - source = [Source], - message = [Message], - [user] = [User], - statusCode = [StatusCode], - time = CONVERT(VARCHAR(50), [TimeUtc], 126) + 'Z' - FROM - [ELMAH_Error] error - WHERE - [Application] = @Application - AND - [TimeUtc] <= @FirstTimeUTC - AND - [Sequence] <= @FirstSequence - ORDER BY - [TimeUtc] DESC, - [Sequence] DESC - FOR - XML AUTO - -GO -SET QUOTED_IDENTIFIER OFF -GO -SET ANSI_NULLS ON -GO - -SET QUOTED_IDENTIFIER ON -GO -SET ANSI_NULLS ON -GO - -CREATE PROCEDURE [dbo].[ELMAH_LogError] -( - @ErrorId UNIQUEIDENTIFIER, - @Application NVARCHAR(60), - @Host NVARCHAR(30), - @Type NVARCHAR(100), - @Source NVARCHAR(60), - @Message NVARCHAR(500), - @User NVARCHAR(50), - @AllXml NTEXT, - @StatusCode INT, - @TimeUtc DATETIME -) -AS - - SET NOCOUNT ON - - INSERT - INTO - [ELMAH_Error] - ( - [ErrorId], - [Application], - [Host], - [Type], - [Source], - [Message], - [User], - [AllXml], - [StatusCode], - [TimeUtc] - ) - VALUES - ( - @ErrorId, - @Application, - @Host, - @Type, - @Source, - @Message, - @User, - @AllXml, - @StatusCode, - @TimeUtc - ) - -GO -SET QUOTED_IDENTIFIER OFF -GO -SET ANSI_NULLS ON -GO - diff --git a/NzbDrone.Services/NzbDrone.Services.Service/App_Readme/Elmah.SqlServer.txt b/NzbDrone.Services/NzbDrone.Services.Service/App_Readme/Elmah.SqlServer.txt deleted file mode 100644 index c2ff0a457..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/App_Readme/Elmah.SqlServer.txt +++ /dev/null @@ -1,4 +0,0 @@ -Please note that in order to complete the installation of ELMAH.SqlServer you will have to do the following: - -1) Run the Elmah.SqlServer.sql script against your database -2) Edit your web.config with the correct settings in the elmah to connect to your database diff --git a/NzbDrone.Services/NzbDrone.Services.Service/App_Start/Logging.cs b/NzbDrone.Services/NzbDrone.Services.Service/App_Start/Logging.cs deleted file mode 100644 index 1a0f82e3a..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/App_Start/Logging.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Linq; -using System.Web.Hosting; -using NLog; -using NzbDrone.Common; -using NzbDrone.Services.Service.App_Start; - -[assembly: WebActivator.PreApplicationStartMethod(typeof(Logging), "PreStart")] - -namespace NzbDrone.Services.Service.App_Start -{ - - public static class Logging - { - private static readonly Logger logger = LogManager.GetCurrentClassLogger(); - - public static void PreStart() - { - string logPath = string.Format("C:\\NLog\\{0}\\{1}\\${{shortdate}}-${{logger}}.log", HostingEnvironment.SiteName, new EnvironmentProvider().Version); - string error = string.Format("C:\\NLog\\{0}\\{1}\\${{shortdate}}_Error.log", HostingEnvironment.SiteName, new EnvironmentProvider().Version); - - LogConfiguration.RegisterUdpLogger(); - LogConfiguration.RegisterFileLogger(logPath, LogLevel.Trace); - //LogConfiguration.RegisterFileLogger(error, LogLevel.Warn); - LogConfiguration.Reload(); - - logger.Info("Logger has been configured. (App Start)"); - - - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/ActionButton.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/ActionButton.css deleted file mode 100644 index 4727720a2..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/ActionButton.css +++ /dev/null @@ -1,22 +0,0 @@ -.actionButton -{ - margin: 5px; - padding: 2px 5px; - background-repeat: no-repeat; - background-position: 5px center; - background-color: #cccccc; - display: inline-block; - font-size: 15px; -} - -.actionButton img -{ - cursor: pointer; - vertical-align: middle; - position: relative; - bottom: 3px; -} - -.delete -{ -} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/css/jquery.dataTables.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/css/jquery.dataTables.css deleted file mode 100644 index 11298c560..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/css/jquery.dataTables.css +++ /dev/null @@ -1,310 +0,0 @@ - -/* - * Table - */ -table.dataTable { - margin: 0 auto; - clear: both; - width: 100%; - border-style: none; - border-width: 1px; - border-spacing: 2px; - border-color: white; - border-collapse: collapse; -} - -table.dataTable thead th { - font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif; - border-width: 300px; - font-size: 17px; - padding: 2px; - border-style: none; - border-color: #EEEEEE; - padding-left: 7px; - text-align: left; - background-color: white; - font-weight: lighter; - cursor: pointer; - *cursor: hand; -} - -table.dataTable tfoot th -{ - padding: 3px 18px 3px 10px; - border-top: 1px solid black; - font-weight: bold; -} - -table.dataTable td { - /*padding: 3px 10px;*/ - border-width: 1px; - border-style: solid; - border-color: #EEEEEE; - padding: 0px 8px 0px 8px; -} - -table.dataTable td.center, -table.dataTable td.dataTables_empty { - text-align: center; -} - -table.dataTable tr.odd { background-color: white; } -table.dataTable tr.even { background-color: #F0F5FF; } - -/* Disable Sorting Highlighting -table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; } -table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; } -table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; } -table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; } -table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; } -table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; } -*/ - - -/* - * Table wrapper - */ -.dataTables_wrapper { - position: relative; - clear: both; - *zoom: 1; -} - - -/* - * Page length menu - */ -.dataTables_length { - float: left; -} - - -/* - * Filter - */ -.dataTables_filter { - float: right; - text-align: right; -} - - -/* - * Table information - */ -.dataTables_info { - clear: both; - float: right; -} - - -/* - * Pagination - */ -.dataTables_paginate { - float: left; - text-align: right; -} - -/* Two button pagination - previous / next */ -/*.paginate_disabled_previous, -.paginate_enabled_previous, -.paginate_disabled_next, -.paginate_enabled_next { - height: 19px; - float: left; - cursor: pointer; - *cursor: hand; - color: #111 !important; -} -.paginate_disabled_previous:hover, -.paginate_enabled_previous:hover, -.paginate_disabled_next:hover, -.paginate_enabled_next:hover { - text-decoration: none !important; -} -.paginate_disabled_previous:active, -.paginate_enabled_previous:active, -.paginate_disabled_next:active, -.paginate_enabled_next:active { - outline: none; -} - -.paginate_disabled_previous, -.paginate_disabled_next { - color: #666 !important; -} -.paginate_disabled_previous, -.paginate_enabled_previous { - padding-left: 23px; -} -.paginate_disabled_next, -.paginate_enabled_next { - padding-right: 23px; - margin-left: 10px; -} - -.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; } -.paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; } -.paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; } - -.paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; } -.paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; } -.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; } -*/ -/* Four button pagination - first / previous / next / last */ -.paginate_disabled_previous, -.paginate_enabled_previous, -.paginate_disabled_next, -.paginate_enabled_next, -.paginate_disabled_first, -.paginate_enabled_first, -.paginate_disabled_last, -.paginate_enabled_last { - height: 19px; - float: left; - cursor: pointer; - *cursor: hand; - color: #111 !important; -} -.paginate_disabled_previous:hover, -.paginate_enabled_previous:hover, -.paginate_disabled_next:hover, -.paginate_enabled_next:hover, -.paginate_disabled_first:hover, -.paginate_enabled_first:hover, -.paginate_disabled_last:hover, -.paginate_enabled_last:hover { - text-decoration: none !important; -} -.paginate_disabled_previous:active, -.paginate_enabled_previous:active, -.paginate_disabled_next:active, -.paginate_enabled_next:active, -.paginate_disabled_first:active, -.paginate_enabled_first:active, -.paginate_disabled_last:active, -.paginate_enabled_last:active { - outline: none; -} - -.paginate_disabled_previous, -.paginate_disabled_next, -.paginate_disabled_first, -.paginate_disabled_last { - color: #666 !important; -} -.paginate_disabled_previous, -.paginate_enabled_previous, -.paginate_disabled_first, -.paginate_enabled_first { - padding-left: 23px; -} -.paginate_disabled_next, -.paginate_enabled_next, -.paginate_disabled_last, -.paginate_enabled_last { - padding-right: 23px; - margin-left: 10px; -} - -.paginate_enabled_first { background: url('../images/back_enabled.png') no-repeat top left; } -.paginate_enabled_first:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; } -.paginate_disabled_first { background: url('../images/back_disabled.png') no-repeat top left; } - -.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; } -.paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; } -.paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; } - -.paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; } -.paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; } -.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; } - -.paginate_enabled_last { background: url('../images/forward_enabled.png') no-repeat top right; } -.paginate_enabled_last:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; } -.paginate_disabled_last { background: url('../images/forward_disabled.png') no-repeat top right; } - -/* Full number pagination */ -.paging_full_numbers { - height: 22px; - line-height: 22px; -} -.paging_full_numbers a:active { - outline: none -} -.paging_full_numbers a:hover { - text-decoration: none; -} - -.paging_full_numbers a.paginate_button, -.paging_full_numbers a.paginate_active { - border: 1px solid #aaa; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 2px 5px; - margin: 0 3px; - cursor: pointer; - *cursor: hand; - color: #333 !important; -} - -.paging_full_numbers a.paginate_button { - background-color: #ddd; -} - -.paging_full_numbers a.paginate_button:hover { - background-color: #ccc; - text-decoration: none !important; -} - -.paging_full_numbers a.paginate_active { - background-color: #99B3FF; -} - - -/* - * Processing indicator - */ -.dataTables_processing { - position: absolute; - top: 50%; - left: 50%; - width: 250px; - height: 30px; - margin-left: -125px; - margin-top: -15px; - padding: 14px 0 2px 0; - border: 1px solid #ddd; - text-align: center; - color: #999; - font-size: 14px; - background-color: white; -} - - -/* - * Sorting - */ -.sorting { background: url('../images/sort_both.png') no-repeat center right; } -.sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; } -.sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; } - -.sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; } -.sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; } - -table.dataTable th:active { - outline: none; -} - - -/* - * Scrolling - */ -.dataTables_scroll { - clear: both; -} - -.dataTables_scrollBody { - *margin-top: -1px; -} - diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/Sorting icons.psd b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/Sorting icons.psd deleted file mode 100644 index 53b2e0685..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/Sorting icons.psd and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/back_disabled.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/back_disabled.png deleted file mode 100644 index 881de7976..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/back_disabled.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/back_enabled.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/back_enabled.png deleted file mode 100644 index c608682b0..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/back_enabled.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/back_enabled_hover.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/back_enabled_hover.png deleted file mode 100644 index d300f1064..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/back_enabled_hover.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/favicon.ico b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/favicon.ico deleted file mode 100644 index 6eeaa2a0d..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/favicon.ico and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/forward_disabled.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/forward_disabled.png deleted file mode 100644 index 6a6ded7de..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/forward_disabled.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/forward_enabled.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/forward_enabled.png deleted file mode 100644 index a4e6b5384..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/forward_enabled.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/forward_enabled_hover.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/forward_enabled_hover.png deleted file mode 100644 index fc46c5ebf..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/forward_enabled_hover.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_asc.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_asc.png deleted file mode 100644 index a88d7975f..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_asc.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_asc_disabled.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_asc_disabled.png deleted file mode 100644 index 4e144cf0b..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_asc_disabled.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_both.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_both.png deleted file mode 100644 index 18670406b..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_both.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_desc.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_desc.png deleted file mode 100644 index def071ed5..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_desc.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_desc_disabled.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_desc_disabled.png deleted file mode 100644 index 7824973cc..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/DataTables-1.9.0/media/images/sort_desc_disabled.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Grid.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/Grid.css deleted file mode 100644 index 855e20f71..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/Grid.css +++ /dev/null @@ -1,88 +0,0 @@ -.gridImage , .gridAction -{ - width: 18px; - height: 18px; - padding: 3px 1px; - margin: 0px; - vertical-align: middle; - border: none; -} - -.gridAction:hover -{ - cursor: pointer; -} - -.statusImage:hover { - background-color: white; -} - -/* Custom Grid */ -.seriesTable -{ - width: 100%; - border-style: none; - border-collapse: collapse; -} - -.seriesTable th -{ - font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif; - font-size: 17px; - padding: 2px; - border-style: none; - padding-left: 7px; - text-align: left; - background-color: white; - font-weight: lighter; -} - -.seriesTable td -{ - border-style: solid; - border-color: #EEEEEE; - border-width: 1px; - padding: 0px 8px 0px 8px; -} - -.title-row -{ - font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif; - font-size: 17px; - background-color: grey; - font-weight: lighter; - color: white; -} - -.detail-row -{ - display: none; -} - -/* Colour alternating rows */ -.seriesTable .alt-row -{ - background: #f0f5ff; -} - -/* Episode Grid Row Colouring */ -.episodeIgnored -{ - background: lightgray; -} - - - -.episodeMissing -{ - background-color: #f5c5c5; -} - -/*Hidden Grid to prevent FOUSC*/ -.hidden-grid { - display: none; -} - -.grid-container { - overflow: hidden; -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Downloading.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Downloading.png deleted file mode 100644 index f49538894..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Downloading.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Failed.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Failed.png deleted file mode 100644 index 0da860271..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Failed.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Gear.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Gear.png deleted file mode 100644 index 2e4fedcaa..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Gear.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Newzbin.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Newzbin.png deleted file mode 100644 index 66ebe4329..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Newzbin.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Newznab.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Newznab.png deleted file mode 100644 index a6ffe3238..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Newznab.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/NzbMatrix.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/NzbMatrix.png deleted file mode 100644 index 95c561e45..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/NzbMatrix.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Nzbs.org.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Nzbs.org.png deleted file mode 100644 index 36e68a30f..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Nzbs.org.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/NzbsRus.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/NzbsRus.png deleted file mode 100644 index ed22b8ee4..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/NzbsRus.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Unknown.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Unknown.png deleted file mode 100644 index 7ac1ae7b6..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Indexers/Unknown.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Missing.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Missing.png deleted file mode 100644 index 15c3101d0..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Missing.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/NotAired.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/NotAired.png deleted file mode 100644 index 9a1158e25..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/NotAired.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Plus.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Plus.png deleted file mode 100644 index dbb1e9449..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Plus.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Promote.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Promote.png deleted file mode 100644 index ead6f552e..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Promote.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Ready.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Ready.png deleted file mode 100644 index 8501a8b58..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Ready.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Rename.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Rename.png deleted file mode 100644 index bfeb37431..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Rename.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Search.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Search.png deleted file mode 100644 index c445e5c6d..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Search.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Unpacking.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Unpacking.png deleted file mode 100644 index 7ed2b5905..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/Unpacking.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/VideoFolder.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/VideoFolder.png deleted file mode 100644 index 566c41eb7..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/VideoFolder.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/X.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/X.png deleted file mode 100644 index 445702cc8..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/X.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/XbmcNotification.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/XbmcNotification.png deleted file mode 100644 index abbbe37bc..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/XbmcNotification.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/ajax-loader.gif b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/ajax-loader.gif deleted file mode 100644 index 2e9d85eed..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/ajax-loader.gif and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/arrow.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/arrow.png deleted file mode 100644 index 7e687e6ae..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/arrow.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/background.jpg b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/background.jpg deleted file mode 100644 index 64f983548..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/background.jpg and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/blue.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/blue.png deleted file mode 100644 index 9a8e03a69..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/blue.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/close.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/close.png deleted file mode 100644 index 4e05dcd87..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/close.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/error.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/error.png deleted file mode 100644 index 8b4de1fc8..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/error.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/green.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/green.png deleted file mode 100644 index 65f614972..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/green.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/gritter.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/gritter.png deleted file mode 100644 index 0ca3bc0a0..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/gritter.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/header.jpg b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/header.jpg deleted file mode 100644 index 2a5d8e148..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/header.jpg and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/icon_source.url b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/icon_source.url deleted file mode 100644 index 02066ae86..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/icon_source.url +++ /dev/null @@ -1,2 +0,0 @@ -[InternetShortcut] -URL=http://www.iconfinder.com/search/?q=iconset:onebit diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/ignored.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/ignored.png deleted file mode 100644 index 41423bad2..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/ignored.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/ignoredNeutral.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/ignoredNeutral.png deleted file mode 100644 index a7181b004..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/ignoredNeutral.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/notIgnored.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/notIgnored.png deleted file mode 100644 index 4ead4b480..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/notIgnored.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/pause.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/pause.png deleted file mode 100644 index 289b66e4b..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/pause.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/play.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/play.png deleted file mode 100644 index 8501a8b58..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/play.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/red.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/red.png deleted file mode 100644 index 719f81074..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/red.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/redownload.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/redownload.png deleted file mode 100644 index 77e12d1c6..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/redownload.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/settings.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/settings.png deleted file mode 100644 index 6587d5bc3..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/settings.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/stop.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/stop.png deleted file mode 100644 index c61d557d4..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/stop.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/success.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/success.png deleted file mode 100644 index 4dcf07651..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/success.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/x_16.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/x_16.png deleted file mode 100644 index cf640c105..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/x_16.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/yellow.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/yellow.png deleted file mode 100644 index 19fea1ac0..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/Images/yellow.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Menu.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/Menu.css deleted file mode 100644 index 15ff4e38b..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/Menu.css +++ /dev/null @@ -1,26 +0,0 @@ -.sub-menu -{ - padding-left: 5px; -} - -.sub-menu li -{ - display: inline; - list-style-type: none; - padding-left: 8px; - padding-right: 12px; - padding-top: 6px; - border-right: 1px solid #F0F0F0; -} - -.sub-menu a -{ - text-decoration: none; - color: #105CD6; -} - -.t-grid .sub-menu -{ - margin-left: -10px; - margin-bottom: 0px; -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Messages.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/Messages.css deleted file mode 100644 index 223f17d87..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/Messages.css +++ /dev/null @@ -1,55 +0,0 @@ -/*Pinned messages*/ - -.infoBox, .successBox, .warningBox, .errorBox, .validationBox -{ - border: 0px solid; - margin: 10px 0px; - padding: 10px 10px 10px 50px; - background-repeat: no-repeat; - background-position: 10px center; -} -.infoBox -{ - color: #00529B; - background-color: #f4f7f9; - background-image: url(images/blue.png); -} -.successBox -{ - color: #4F8A10; - background-color: #DFF2BF; - background-image: url(images/green.png); -} -.warningBox -{ - color: #9F6000; - background-color: #FEEFB3; - background-image: url(images/yellow.png); -} -.errorBox -{ - color: #D8000C; - background-color: #FFBABA; - background-image: url(images/red.png); -} - -/*Progress Notification*/ -#msgBox -{ - display: none; - height: 30px; - background-color: #272525; - opacity: .9; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; - filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85); - padding: 10px; - text-align: left; - position: fixed; - z-index: 99; - bottom: 0; - right: 0; - font-size: 20px; - color: White; - text-align: center; - white-space:nowrap; -} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/NzbDrone.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/NzbDrone.css deleted file mode 100644 index 4d7a3174d..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/NzbDrone.css +++ /dev/null @@ -1,280 +0,0 @@ -* -{ - font-family: "Segoe UI" , "Open Sans" , "Segoe UI Light" , sans-serif; -} - -body -{ - background: #191919 url(images/background.jpg) no-repeat right top; - font-size: 13px; - color: #3C3C3C; - background-attachment: fixed; -} - -#centered -{ - margin-right: auto; - width: 85%; - margin-left: auto; - min-width: 850px; - max-width: 1400px; -} - -h1, h2, h3, h4, h5, h6 -{ - font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif; - color: #3C3C3C; - font-weight: 300; -} - - -fieldset -{ - border-style: solid; - border-color: #065EFE; - border-width: 1px; -} - -a -{ - color: #065EFE; -} - -a:hover -{ - text-decoration: none; -} - -hr -{ - display: none; -} - -/* Menu */ - -#menu -{ - height: 60px; -} - -#menu ul -{ - margin: 0; - padding: 5px 0px 5px 0px; - list-style: none; - line-height: normal; -} - -#menu li -{ - display: block; - float: left; - padding: 5px 15px 2px 10px; -} - -#menu a -{ - display: block; - float: left; - height: 26px; - padding: 0px 5px 7px 5px; - text-decoration: none; - text-align: center; - text-transform: lowercase; - font-size: 21px; - font-weight: normal; - vertical-align: middle; - font-family: "Segoe UI" , "Open Sans" , "Segoe UI Light" , sans-serif; -} - -#menu a:hover -{ - text-decoration: none; -} - -#menu li.current_page_item a -{ - border-bottom: 2px solid; - border-color: #065EFE; -} - -/* Page */ - -#page -{ - background-color: White; - padding: 10px 20px 100px 20px; - min-height: 300px; -} - - - -/** LOGO */ - -#logo -{ - font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif; - font-weight: 100; - height: 135px; - background: url(images/header.jpg) no-repeat left top; - background-color: #065EFE; - font-size: 90px; - color: #FFFFFF; - text-transform: lowercase; - letter-spacing: -1px; - line-height: normal; - padding-left: 120px; -} - -.stackframe -{ - font-family: Consolas, Monospace; -} - - -/* Footer */ -#footer -{ - margin-top: 5px; - margin-bottom: 30px; - padding: 1px 1px 1px 1px; - color: #065EFE; - text-align: center; - text-decoration: none; -} - - - -.sub-field -{ - width: 70%; - margin-top: 10px; - margin-bottom: 10px; -} - -.config-value -{ - float: right; -} - -.config-checkbox -{ - margin-right: 135px; -} - - -input[type=text], select -{ - font-size: small; - padding: 2px 2px; - border: solid 1px #aacfe4; - width: 200px; - margin: 2px 0 10px 0px; - height: 20px; -} - -select -{ - height: 26px; - min-width: 50px; - margin-left: 10px; -} - -button, input[type="button"], input[type="submit"], input[type="reset"] -{ - margin-left: 10px; -} - -/*select, button, input[type="button"], input[type="submit"], input[type="reset"] -{ - height: 26px; - min-width: 50px; - margin-left: 10px; -} - -/*This allows us to override center the text on the jQuery UI Buttons when we set the height above* -button span, input[type="button"] span, input[type="submit"] span, input[type="reset"] span -{ - margin-top: -3px; -}*/ - -.listButton -{ - padding: 2px 10px 2px 10px; - vertical-align: middle; - margin: 0px; -} - -.hiddenResult -{ - display: none; -} - -/* Add Series */ - -.tvDbSearchResults -{ - width: 400px; -} - -.rootDirectories -{ - width: 400px; -} - -.edit-group -{ - width: 435px; - display: block; - height: 25px; -} - - -.dialog -{ - margin-left: auto; - margin-right: auto; -} - - -.qualitySelector -{ - min-width: 60px; - width: auto; -} - -#quickAdd -{ - position: fixed; - top: 30px; - right: 15px; -} - - -#localSeriesLookup -{ - width: 220px; - float: right; - margin-top: 7px; - margin-bottom: 0px; - border: 0px; - background: rgb(40, 40, 40); - color: rgb(169, 169, 169); - padding: 4px; -} - -.ui-dialog-buttonset .ui-delete-button -{ - background: url("jQueryUI/images/ui-bg_flat_30_b40404_40x100.png") repeat-x scroll 50% 50% #B40404; - border: 1px solid #FFFFFF; - color: #FFFFFF; - font-weight: normal; -} - -.ui-dialog-buttonset .ui-delete-button:active -{ - background: url("jQueryUI/images/ui-bg_flat_30_616161_40x100.png") repeat-x scroll 50% 50% #616161; - border: 1px solid #FFFFFF; - color: #FFFFFF; - font-weight: normal; -} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/Overrides.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/Overrides.css deleted file mode 100644 index 5404daae2..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/Overrides.css +++ /dev/null @@ -1,59 +0,0 @@ -/*jQuery UI*/ -.ui-widget-header -{ - font-weight: normal; -} - -.t-combobox .t-input -{ - line-height: 25px; -} - -.ui-autocomplete -{ - border-color: #333333; - background: #333333; -} - -.ui-autocomplete .ui-state-hover -{ - background: #333333; - border-color: #065EFE; -} - -.ui-menu-item .ui-corner-all -{ - color: #065EFE; -} - -.ui-progressbar-value -{ - background: #065EFE url(./jQueryUI/images/ui-bg_flat_30_065efe_40x100.png) 50% 50% repeat-x; -} - -.ui-dialog .ui-dialog-titlebar, .ui-dialog-title -{ - color: #3C3C3C; - font-size: 30px; - font-family: "Open Sans" , "Segoe UI Light" , "Segoe UI" , sans-serif; - font-weight: 300; - padding-top: 0px; - padding-bottom: 0px; - padding-left: 10px; -} - -.jquery-tabs -{ - margin-top: 10px; -} - -.ui-button .ui-state-default{ - background: none; -} - -/*MiniProfiler*/ - -.profiler-button -{ - opacity: 0.6; -} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_diagonals-thick_30_a32d00_40x40.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_diagonals-thick_30_a32d00_40x40.png deleted file mode 100644 index 263c7568b..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_diagonals-thick_30_a32d00_40x40.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index 5b5dab2ab..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_0_ffffff_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_0_ffffff_40x100.png deleted file mode 100644 index ac8b229af..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_0_ffffff_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_100__40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_100__40x100.png deleted file mode 100644 index 842d6f375..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_100__40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_20_ffffff_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_20_ffffff_40x100.png deleted file mode 100644 index ac8b229af..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_20_ffffff_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_30_065efe_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_30_065efe_40x100.png deleted file mode 100644 index 9c8ef82ce..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_30_065efe_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_30_616161_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_30_616161_40x100.png deleted file mode 100644 index b913bd7d1..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_30_616161_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_30_b40404_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_30_b40404_40x100.png deleted file mode 100644 index 08c16fc87..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_30_b40404_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_40_065efe_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_40_065efe_40x100.png deleted file mode 100644 index 9c8ef82ce..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_flat_40_065efe_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_white-lines_10_000000_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_white-lines_10_000000_40x100.png deleted file mode 100644 index c5187eb35..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-bg_white-lines_10_000000_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-icons_98d2fb_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-icons_98d2fb_256x240.png deleted file mode 100644 index 81c5eb0bc..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-icons_98d2fb_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-icons_9ccdfc_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-icons_9ccdfc_256x240.png deleted file mode 100644 index 2022d2105..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-icons_9ccdfc_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-icons_ffffff_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-icons_ffffff_256x240.png deleted file mode 100644 index 42f8f992c..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/images/ui-icons_ffffff_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/jquery-ui-1.8.16.custom.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/jquery-ui-1.8.16.custom.css deleted file mode 100644 index 8d2b5befc..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/jQueryUI/jquery-ui-1.8.16.custom.css +++ /dev/null @@ -1,568 +0,0 @@ -/* - * jQuery UI CSS Framework 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } - - -/* - * jQuery UI CSS Framework 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - * - * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=&fwDefault=normal&fsDefault=&cornerRadius=1px&bgColorHeader=ffffff&bgTextureHeader=01_flat.png&bgImgOpacityHeader=0&borderColorHeader=ffffff&fcHeader=000000&iconColorHeader=98d2fb&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=20&borderColorContent=e8e8e8&fcContent=&iconColorContent=9ccdfc&bgColorDefault=616161&bgTextureDefault=01_flat.png&bgImgOpacityDefault=30&borderColorDefault=ffffff&fcDefault=ffffff&iconColorDefault=9ccdfc&bgColorHover=&bgTextureHover=01_flat.png&bgImgOpacityHover=100&borderColorHover=ffffff&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=065efe&bgTextureActive=01_flat.png&bgImgOpacityActive=40&borderColorActive=ffffff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=065efe&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=30&borderColorHighlight=065efe&fcHighlight=ffffff&iconColorHighlight=ffffff&bgColorError=a32d00&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=30&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffffff&bgColorOverlay=000000&bgTextureOverlay=11_white_lines.png&bgImgOpacityOverlay=10&opacityOverlay=60&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=0px%20 - */ - - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: ; font-size: ; } -.ui-widget .ui-widget { font-size: 1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: ; font-size: 1em; } -.ui-widget-content { border: 1px solid #e8e8e8; background: #ffffff url(images/ui-bg_flat_20_ffffff_40x100.png) 50% 50% repeat-x; } -.ui-widget-content a { } -.ui-widget-header { border: 1px solid #ffffff; background: #ffffff url(images/ui-bg_flat_0_ffffff_40x100.png) 50% 50% repeat-x; color: #000000; font-weight: bold; } -.ui-widget-header a { color: #000000; } - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #ffffff; background: #616161 url(images/ui-bg_flat_30_616161_40x100.png) 50% 50% repeat-x; font-weight: normal; color: #ffffff; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #ffffff; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #ffffff; background: url(images/ui-bg_flat_100__40x100.png) 50% 50% repeat-x; font-weight: normal; color: #ffffff; } -.ui-state-hover a, .ui-state-hover a:hover { color: #ffffff; text-decoration: none; } -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #ffffff; background: #065efe url(images/ui-bg_flat_40_065efe_40x100.png) 50% 50% repeat-x; font-weight: normal; color: #ffffff; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; text-decoration: none; } -.ui-widget :active { outline: none; } - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #065efe; background: #065efe url(images/ui-bg_flat_30_065efe_40x100.png) 50% 50% repeat-x; color: #ffffff; } -.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #ffffff; } -.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #a32d00 url(images/ui-bg_diagonals-thick_30_a32d00_40x40.png) 50% 50% repeat; color: #ffffff; } -.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_9ccdfc_256x240.png); } -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_9ccdfc_256x240.png); } -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_98d2fb_256x240.png); } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_9ccdfc_256x240.png); } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-off { background-position: -96px -144px; } -.ui-icon-radio-on { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 1px; -webkit-border-top-left-radius: 1px; -khtml-border-top-left-radius: 1px; border-top-left-radius: 1px; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 1px; -webkit-border-top-right-radius: 1px; -khtml-border-top-right-radius: 1px; border-top-right-radius: 1px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 1px; -webkit-border-bottom-left-radius: 1px; -khtml-border-bottom-left-radius: 1px; border-bottom-left-radius: 1px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 1px; -webkit-border-bottom-right-radius: 1px; -khtml-border-bottom-right-radius: 1px; border-bottom-right-radius: 1px; } - -/* Overlays */ -.ui-widget-overlay { background: #000000 url(images/ui-bg_white-lines_10_000000_40x100.png) 50% 50% repeat; opacity: .60;filter:Alpha(Opacity=60); } -.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 0px ; -khtml-border-radius: 0px ; -webkit-border-radius: 0px ; border-radius: 0px ; }/* - * jQuery UI Resizable 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */ -.ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; } -.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } -.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } -.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } -.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } -.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } -.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* - * jQuery UI Selectable 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Selectable#theming - */ -.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } -/* - * jQuery UI Accordion 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Accordion#theming - */ -/* IE/Win - Fix animation bug - #4615 */ -.ui-accordion { width: 100%; } -.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } -.ui-accordion .ui-accordion-li-fix { display: inline; } -.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } -.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } -.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } -.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } -.ui-accordion .ui-accordion-content-active { display: block; } -/* - * jQuery UI Autocomplete 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Autocomplete#theming - */ -.ui-autocomplete { position: absolute; cursor: default; } - -/* workarounds */ -* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ - -/* - * jQuery UI Menu 1.8.16 - * - * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Menu#theming - */ -.ui-menu { - list-style:none; - padding: 2px; - margin: 0; - display:block; - float: left; -} -.ui-menu .ui-menu { - margin-top: -3px; -} -.ui-menu .ui-menu-item { - margin:0; - padding: 0; - zoom: 1; - float: left; - clear: left; - width: 100%; -} -.ui-menu .ui-menu-item a { - text-decoration:none; - display:block; - padding:.2em .4em; - line-height:1.5; - zoom:1; -} -.ui-menu .ui-menu-item a.ui-state-hover, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} -/* - * jQuery UI Button 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Button#theming - */ -.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ -.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ -button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ -.ui-button-icons-only { width: 3.4em; } -button.ui-button-icons-only { width: 3.7em; } - -/*button text element */ -.ui-button .ui-button-text { display: block; line-height: 1.4; } -.ui-button-text-only .ui-button-text { padding: .4em 1em; } -.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } -.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } -.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } -/* no icon support for input elements, provide padding by default */ -input.ui-button { padding: .4em 1em; } - -/*button icon element(s) */ -.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } -.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } -.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } -.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } -.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } - -/*button sets*/ -.ui-buttonset { margin-right: 7px; } -.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } - -/* workarounds */ -button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ -/* - * jQuery UI Dialog 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Dialog#theming - */ -.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } -.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } -.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } -.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } -.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } -.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } -.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } -.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } -.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } -.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } -.ui-draggable .ui-dialog-titlebar { cursor: move; } -/* - * jQuery UI Slider 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Slider#theming - */ -.ui-slider { position: relative; text-align: left; } -.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } -.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } - -.ui-slider-horizontal { height: .8em; } -.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.ui-slider-horizontal .ui-slider-range-min { left: 0; } -.ui-slider-horizontal .ui-slider-range-max { right: 0; } - -.ui-slider-vertical { width: .8em; height: 100px; } -.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } -.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } -.ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; }/* - * jQuery UI Tabs 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Tabs#theming - */ -.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } -.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } -.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } -.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } -.ui-tabs .ui-tabs-hide { display: none !important; } -/* - * jQuery UI Datepicker 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Datepicker#theming - */ -.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } -.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } -.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } -.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } -.ui-datepicker .ui-datepicker-prev { left:2px; } -.ui-datepicker .ui-datepicker-next { right:2px; } -.ui-datepicker .ui-datepicker-prev-hover { left:1px; } -.ui-datepicker .ui-datepicker-next-hover { right:1px; } -.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } -.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } -.ui-datepicker select.ui-datepicker-month-year {width: 100%;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.ui-datepicker td { border: 0; padding: 1px; } -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -}/* - * jQuery UI Progressbar 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Progressbar#theming - */ -.ui-progressbar { height:2em; text-align: left; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/jquery.gritter.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/jquery.gritter.css deleted file mode 100644 index 2e9bfa6df..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/jquery.gritter.css +++ /dev/null @@ -1,118 +0,0 @@ -/* the norm */ -#gritter-notice-wrapper -{ - position: fixed; - top: 60px; - right: 20px; - width: 301px; - z-index: 9999; -} -#gritter-notice-wrapper.top-left -{ - left: 20px; - right: auto; -} -#gritter-notice-wrapper.bottom-right -{ - top: auto; - left: auto; - bottom: 20px; - right: 20px; -} -#gritter-notice-wrapper.bottom-left -{ - top: auto; - right: auto; - bottom: 20px; - left: 20px; -} -.gritter-item-wrapper -{ - position: relative; - margin: 0; -} -.gritter-top -{ - height: 10px; -} -.hover .gritter-top -{ - background-position: right -30px; -} -.gritter-bottom -{ - height: 8px; - margin: 0; -} -.hover .gritter-bottom -{ - background-position: bottom right; -} -.gritter-item -{ - display: block; - background-color: #272525; - opacity: .9; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; - filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85); - color: #eee; - padding: 8px 11px; - font-size: 11px; - border-bottom-style: solid; - border-bottom-width: 5px; -} - -.gritter-success .gritter-item -{ - border-color: rgb(100, 135, 46); -} - -.gritter-fail .gritter-item -{ - border-color: rgb(212, 44, 44); -} - -.hover .gritter-item -{ - background-position: right -40px; -} -.gritter-item p -{ - padding: 0; - margin: 0; -} -.gritter-close -{ - display: none; - position: absolute; - top: 0px; - right: -10px; - background: url(../content/images/gritter.png) no-repeat left top; - cursor: pointer; - width: 30px; - height: 30px; -} -.gritter-title -{ - font-size: 20px; - padding: 0; - display: block; - line-height: 1; - padding-bottom: 10px; - text-shadow: 1px 1px #000; /* Not supported by IE :( */ -} -.gritter-image -{ - width: 48px; - height: 48px; - float: left; -} -.gritter-with-image, .gritter-without-image -{ - padding: 0 0 5px 0; -} -.gritter-with-image -{ - width: 220px; - float: right; -} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index 5b5dab2ab..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png deleted file mode 100644 index ac8b229af..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png deleted file mode 100644 index ad3d6346e..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index 42ccba269..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png deleted file mode 100644 index 5a46b47cb..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png deleted file mode 100644 index 86c2baa65..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100644 index 4443fdc1a..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted file mode 100644 index 7c9fa6c6e..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_222222_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_222222_256x240.png deleted file mode 100644 index ee039dc09..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_222222_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_2e83ff_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_2e83ff_256x240.png deleted file mode 100644 index 45e8928e5..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_2e83ff_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_454545_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_454545_256x240.png deleted file mode 100644 index 7ec70d11b..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_454545_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_888888_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_888888_256x240.png deleted file mode 100644 index 5ba708c39..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_888888_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_cd0a0a_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index 7930a5580..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/images/ui-icons_cd0a0a_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery-ui.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery-ui.css deleted file mode 100644 index e49293b18..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery-ui.css +++ /dev/null @@ -1,464 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.tabs.css, jquery.ui.theme.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } -.ui-helper-clearfix:after { clear: both; } -.ui-helper-clearfix { zoom: 1; } -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } - -/* IE/Win - Fix animation bug - #4615 */ -.ui-accordion { width: 100%; } -.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } -.ui-accordion .ui-accordion-li-fix { display: inline; } -.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } -.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } -.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } -.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } -.ui-accordion .ui-accordion-content-active { display: block; } - -.ui-autocomplete { position: absolute; cursor: default; } - -/* workarounds */ -* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ - -/* - * jQuery UI Menu 1.8.23 - * - * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Menu#theming - */ -.ui-menu { - list-style:none; - padding: 2px; - margin: 0; - display:block; - float: left; -} -.ui-menu .ui-menu { - margin-top: -3px; -} -.ui-menu .ui-menu-item { - margin:0; - padding: 0; - zoom: 1; - float: left; - clear: left; - width: 100%; -} -.ui-menu .ui-menu-item a { - text-decoration:none; - display:block; - padding:.2em .4em; - line-height:1.5; - zoom:1; -} -.ui-menu .ui-menu-item a.ui-state-hover, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} - -.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ -.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ -button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ -.ui-button-icons-only { width: 3.4em; } -button.ui-button-icons-only { width: 3.7em; } - -/*button text element */ -.ui-button .ui-button-text { display: block; line-height: 1.4; } -.ui-button-text-only .ui-button-text { padding: .4em 1em; } -.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } -.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } -.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } -/* no icon support for input elements, provide padding by default */ -input.ui-button { padding: .4em 1em; } - -/*button icon element(s) */ -.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } -.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } -.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } -.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } -.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } - -/*button sets*/ -.ui-buttonset { margin-right: 7px; } -.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } - -/* workarounds */ -button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ - -.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } -.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } -.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } -.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } -.ui-datepicker .ui-datepicker-prev { left:2px; } -.ui-datepicker .ui-datepicker-next { right:2px; } -.ui-datepicker .ui-datepicker-prev-hover { left:1px; } -.ui-datepicker .ui-datepicker-next-hover { right:1px; } -.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } -.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } -.ui-datepicker select.ui-datepicker-month-year {width: 100%;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.ui-datepicker td { border: 0; padding: 1px; } -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.ui-datepicker-cover { - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -} -.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } -.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } -.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } -.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } -.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } -.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } -.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } -.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } -.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } -.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } -.ui-draggable .ui-dialog-titlebar { cursor: move; } - -.ui-progressbar { height:2em; text-align: left; overflow: hidden; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } -.ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; } -.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } -.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } -.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } -.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } -.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } -.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;} -.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } - -.ui-slider { position: relative; text-align: left; } -.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } -.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } - -.ui-slider-horizontal { height: .8em; } -.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.ui-slider-horizontal .ui-slider-range-min { left: 0; } -.ui-slider-horizontal .ui-slider-range-max { right: 0; } - -.ui-slider-vertical { width: .8em; height: 100px; } -.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } -.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } -.ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; } -.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } -.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } -.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } -.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } -.ui-tabs .ui-tabs-hide { display: none !important; } - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; } -.ui-widget .ui-widget { font-size: 1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; } -.ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; color: #222222/*{fcContent}*/; } -.ui-widget-content a { color: #222222/*{fcContent}*/; } -.ui-widget-header { border: 1px solid #aaaaaa/*{borderColorHeader}*/; background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; color: #222222/*{fcHeader}*/; font-weight: bold; } -.ui-widget-header a { color: #222222/*{fcHeader}*/; } - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(images/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555/*{fcDefault}*/; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(images/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; } -.ui-state-hover a, .ui-state-hover a:hover { color: #212121/*{fcHover}*/; text-decoration: none; } -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121/*{fcActive}*/; text-decoration: none; } -.ui-widget :active { outline: none; } - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1/*{borderColorHighlight}*/; background: #fbf9ee/*{bgColorHighlight}*/ url(images/ui-bg_glass_55_fbf9ee_1x400.png)/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; color: #363636/*{fcHighlight}*/; } -.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636/*{fcHighlight}*/; } -.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a/*{borderColorError}*/; background: #fef1ec/*{bgColorError}*/ url(images/ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; color: #cd0a0a/*{fcError}*/; } -.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a/*{fcError}*/; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a/*{fcError}*/; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; } -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; } -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/; } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/; } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/; } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png)/*{iconsActive}*/; } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png)/*{iconsHighlight}*/; } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png)/*{iconsError}*/; } - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-off { background-position: -96px -144px; } -.ui-icon-radio-on { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -khtml-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; -khtml-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; -khtml-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; -khtml-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; } - -/* Overlays */ -.ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityOverlay}*/; } -.ui-widget-shadow { margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; padding: 8px/*{thicknessShadow}*/; background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityShadow}*/; -moz-border-radius: 8px/*{cornerRadiusShadow}*/; -khtml-border-radius: 8px/*{cornerRadiusShadow}*/; -webkit-border-radius: 8px/*{cornerRadiusShadow}*/; border-radius: 8px/*{cornerRadiusShadow}*/; } \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.accordion.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.accordion.css deleted file mode 100644 index dbff0ef69..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.accordion.css +++ /dev/null @@ -1,19 +0,0 @@ -/*! - * jQuery UI Accordion 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Accordion#theming - */ -/* IE/Win - Fix animation bug - #4615 */ -.ui-accordion { width: 100%; } -.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } -.ui-accordion .ui-accordion-li-fix { display: inline; } -.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } -.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } -.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } -.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } -.ui-accordion .ui-accordion-content-active { display: block; } diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.all.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.all.css deleted file mode 100644 index 900da6325..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.all.css +++ /dev/null @@ -1,11 +0,0 @@ -/*! - * jQuery UI CSS Framework 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming - */ -@import "jquery.ui.base.css"; -@import "jquery.ui.theme.css"; diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.autocomplete.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.autocomplete.css deleted file mode 100644 index 566cbfcb7..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.autocomplete.css +++ /dev/null @@ -1,53 +0,0 @@ -/*! - * jQuery UI Autocomplete 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Autocomplete#theming - */ -.ui-autocomplete { position: absolute; cursor: default; } - -/* workarounds */ -* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ - -/* - * jQuery UI Menu 1.8.23 - * - * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Menu#theming - */ -.ui-menu { - list-style:none; - padding: 2px; - margin: 0; - display:block; - float: left; -} -.ui-menu .ui-menu { - margin-top: -3px; -} -.ui-menu .ui-menu-item { - margin:0; - padding: 0; - zoom: 1; - float: left; - clear: left; - width: 100%; -} -.ui-menu .ui-menu-item a { - text-decoration:none; - display:block; - padding:.2em .4em; - line-height:1.5; - zoom:1; -} -.ui-menu .ui-menu-item a.ui-state-hover, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.base.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.base.css deleted file mode 100644 index b30e6883a..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.base.css +++ /dev/null @@ -1,21 +0,0 @@ -/*! - * jQuery UI CSS Framework 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming - */ -@import url("jquery.ui.core.css"); - -@import url("jquery.ui.accordion.css"); -@import url("jquery.ui.autocomplete.css"); -@import url("jquery.ui.button.css"); -@import url("jquery.ui.datepicker.css"); -@import url("jquery.ui.dialog.css"); -@import url("jquery.ui.progressbar.css"); -@import url("jquery.ui.resizable.css"); -@import url("jquery.ui.selectable.css"); -@import url("jquery.ui.slider.css"); -@import url("jquery.ui.tabs.css"); diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.button.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.button.css deleted file mode 100644 index cfe15c4f7..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.button.css +++ /dev/null @@ -1,38 +0,0 @@ -/*! - * jQuery UI Button 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Button#theming - */ -.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ -.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ -button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ -.ui-button-icons-only { width: 3.4em; } -button.ui-button-icons-only { width: 3.7em; } - -/*button text element */ -.ui-button .ui-button-text { display: block; line-height: 1.4; } -.ui-button-text-only .ui-button-text { padding: .4em 1em; } -.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } -.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } -.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } -/* no icon support for input elements, provide padding by default */ -input.ui-button { padding: .4em 1em; } - -/*button icon element(s) */ -.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } -.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } -.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } -.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } -.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } - -/*button sets*/ -.ui-buttonset { margin-right: 7px; } -.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } - -/* workarounds */ -button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.core.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.core.css deleted file mode 100644 index 30400a7d4..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.core.css +++ /dev/null @@ -1,38 +0,0 @@ -/*! - * jQuery UI CSS Framework 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } -.ui-helper-clearfix:after { clear: both; } -.ui-helper-clearfix { zoom: 1; } -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.datepicker.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.datepicker.css deleted file mode 100644 index 727a963dd..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.datepicker.css +++ /dev/null @@ -1,66 +0,0 @@ -/*! - * jQuery UI Datepicker 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Datepicker#theming - */ -.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } -.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } -.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } -.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } -.ui-datepicker .ui-datepicker-prev { left:2px; } -.ui-datepicker .ui-datepicker-next { right:2px; } -.ui-datepicker .ui-datepicker-prev-hover { left:1px; } -.ui-datepicker .ui-datepicker-next-hover { right:1px; } -.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } -.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } -.ui-datepicker select.ui-datepicker-month-year {width: 100%;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.ui-datepicker td { border: 0; padding: 1px; } -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.ui-datepicker-cover { - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.dialog.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.dialog.css deleted file mode 100644 index 7677a797f..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.dialog.css +++ /dev/null @@ -1,21 +0,0 @@ -/*! - * jQuery UI Dialog 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Dialog#theming - */ -.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } -.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } -.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } -.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } -.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } -.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } -.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } -.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } -.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } -.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } -.ui-draggable .ui-dialog-titlebar { cursor: move; } diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.progressbar.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.progressbar.css deleted file mode 100644 index 13d493720..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.progressbar.css +++ /dev/null @@ -1,11 +0,0 @@ -/*! - * jQuery UI Progressbar 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Progressbar#theming - */ -.ui-progressbar { height:2em; text-align: left; overflow: hidden; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.resizable.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.resizable.css deleted file mode 100644 index 305969568..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.resizable.css +++ /dev/null @@ -1,20 +0,0 @@ -/*! - * jQuery UI Resizable 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */ -.ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; } -.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } -.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } -.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } -.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } -.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } -.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.selectable.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.selectable.css deleted file mode 100644 index e5a18e9d0..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.selectable.css +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * jQuery UI Selectable 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Selectable#theming - */ -.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.slider.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.slider.css deleted file mode 100644 index c887db2cf..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.slider.css +++ /dev/null @@ -1,24 +0,0 @@ -/*! - * jQuery UI Slider 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Slider#theming - */ -.ui-slider { position: relative; text-align: left; } -.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } -.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } - -.ui-slider-horizontal { height: .8em; } -.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.ui-slider-horizontal .ui-slider-range-min { left: 0; } -.ui-slider-horizontal .ui-slider-range-max { right: 0; } - -.ui-slider-vertical { width: .8em; height: 100px; } -.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } -.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } -.ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; } \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.tabs.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.tabs.css deleted file mode 100644 index bdcd0b175..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.tabs.css +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * jQuery UI Tabs 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Tabs#theming - */ -.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } -.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } -.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } -.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } -.ui-tabs .ui-tabs-hide { display: none !important; } diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.theme.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.theme.css deleted file mode 100644 index 6a95efba5..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/jquery.ui.theme.css +++ /dev/null @@ -1,247 +0,0 @@ -/*! - * jQuery UI CSS Framework 1.8.23 - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Licensed under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - * - * To view and modify this theme, visit http://jqueryui.com/themeroller/ - */ - - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; } -.ui-widget .ui-widget { font-size: 1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; } -.ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; color: #222222/*{fcContent}*/; } -.ui-widget-content a { color: #222222/*{fcContent}*/; } -.ui-widget-header { border: 1px solid #aaaaaa/*{borderColorHeader}*/; background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; color: #222222/*{fcHeader}*/; font-weight: bold; } -.ui-widget-header a { color: #222222/*{fcHeader}*/; } - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(images/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555/*{fcDefault}*/; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(images/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; } -.ui-state-hover a, .ui-state-hover a:hover { color: #212121/*{fcHover}*/; text-decoration: none; } -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121/*{fcActive}*/; text-decoration: none; } -.ui-widget :active { outline: none; } - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1/*{borderColorHighlight}*/; background: #fbf9ee/*{bgColorHighlight}*/ url(images/ui-bg_glass_55_fbf9ee_1x400.png)/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; color: #363636/*{fcHighlight}*/; } -.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636/*{fcHighlight}*/; } -.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a/*{borderColorError}*/; background: #fef1ec/*{bgColorError}*/ url(images/ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; color: #cd0a0a/*{fcError}*/; } -.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a/*{fcError}*/; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a/*{fcError}*/; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; } -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; } -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/; } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/; } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/; } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png)/*{iconsActive}*/; } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png)/*{iconsHighlight}*/; } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png)/*{iconsError}*/; } - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-off { background-position: -96px -144px; } -.ui-icon-radio-on { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -khtml-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; -khtml-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; -khtml-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; -khtml-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; } - -/* Overlays */ -.ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityOverlay}*/; } -.ui-widget-shadow { margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; padding: 8px/*{thicknessShadow}*/; background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityShadow}*/; -moz-border-radius: 8px/*{cornerRadiusShadow}*/; -khtml-border-radius: 8px/*{cornerRadiusShadow}*/; -webkit-border-radius: 8px/*{cornerRadiusShadow}*/; border-radius: 8px/*{cornerRadiusShadow}*/; } \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index 5b5dab2ab..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png deleted file mode 100644 index ac8b229af..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png deleted file mode 100644 index ad3d6346e..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index 42ccba269..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png deleted file mode 100644 index 5a46b47cb..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png deleted file mode 100644 index 86c2baa65..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100644 index 4443fdc1a..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted file mode 100644 index 7c9fa6c6e..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_222222_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_222222_256x240.png deleted file mode 100644 index ee039dc09..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_222222_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_2e83ff_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_2e83ff_256x240.png deleted file mode 100644 index 45e8928e5..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_2e83ff_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_454545_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_454545_256x240.png deleted file mode 100644 index 7ec70d11b..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_454545_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_888888_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_888888_256x240.png deleted file mode 100644 index 5ba708c39..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_888888_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_cd0a0a_256x240.png b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index 7930a5580..000000000 Binary files a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/images/ui-icons_cd0a0a_256x240.png and /dev/null differ diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery-ui.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery-ui.min.css deleted file mode 100644 index 19a04d1b7..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery-ui.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.tabs.css, jquery.ui.theme.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{position:absolute!important;clip:rect(1px);clip:rect(1px,1px,1px,1px)}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{zoom:1}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ui-accordion{width:100%}.ui-accordion .ui-accordion-header{cursor:pointer;position:relative;margin-top:1px;zoom:1}.ui-accordion .ui-accordion-li-fix{display:inline}.ui-accordion .ui-accordion-header-active{border-bottom:0!important}.ui-accordion .ui-accordion-header a{display:block;font-size:1em;padding:.5em .5em .5em .7em}.ui-accordion-icons .ui-accordion-header a{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;margin-top:-2px;position:relative;top:1px;margin-bottom:2px;overflow:auto;display:none;zoom:1}.ui-accordion .ui-accordion-content-active{display:block}.ui-autocomplete{position:absolute;cursor:default}* html .ui-autocomplete{width:1px}.ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left}.ui-menu .ui-menu{margin-top:-3px}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1}.ui-menu .ui-menu-item a.ui-state-hover,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-button{display:inline-block;position:relative;padding:0;margin-right:.1em;text-decoration:none!important;cursor:pointer;text-align:center;zoom:1;overflow:visible}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:1.4}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0em}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right}.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-cover{position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}.ui-dialog{position:absolute;padding:.2em;width:300px;overflow:hidden}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-tabs{position:relative;padding:.2em;zoom:1}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:1px;margin:0 .2em 1px 0;border-bottom:0!important;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tabs .ui-tabs-hide{display:none!important}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-widget:active{outline:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png)}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-off{background-position:-96px -144px}.ui-icon-radio-on{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.accordion.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.accordion.min.css deleted file mode 100644 index 47ea8c0c9..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.accordion.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.accordion.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-accordion{width:100%}.ui-accordion .ui-accordion-header{cursor:pointer;position:relative;margin-top:1px;zoom:1}.ui-accordion .ui-accordion-li-fix{display:inline}.ui-accordion .ui-accordion-header-active{border-bottom:0!important}.ui-accordion .ui-accordion-header a{display:block;font-size:1em;padding:.5em .5em .5em .7em}.ui-accordion-icons .ui-accordion-header a{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;margin-top:-2px;position:relative;top:1px;margin-bottom:2px;overflow:auto;display:none;zoom:1}.ui-accordion .ui-accordion-content-active{display:block} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.autocomplete.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.autocomplete.min.css deleted file mode 100644 index 6acff9bf4..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.autocomplete.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.autocomplete.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-autocomplete{position:absolute;cursor:default}* html .ui-autocomplete{width:1px}.ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left}.ui-menu .ui-menu{margin-top:-3px}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1}.ui-menu .ui-menu-item a.ui-state-hover,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.button.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.button.min.css deleted file mode 100644 index 5b3bc1797..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.button.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.button.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-button{display:inline-block;position:relative;padding:0;margin-right:.1em;text-decoration:none!important;cursor:pointer;text-align:center;zoom:1;overflow:visible}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:1.4}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}button.ui-button::-moz-focus-inner{border:0;padding:0} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.core.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.core.min.css deleted file mode 100644 index c2ead50ea..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.core.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.core.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{position:absolute!important;clip:rect(1px);clip:rect(1px,1px,1px,1px)}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{zoom:1}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.datepicker.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.datepicker.min.css deleted file mode 100644 index 9b5ac41b2..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.datepicker.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.datepicker.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0em}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right}.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-cover{position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.dialog.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.dialog.min.css deleted file mode 100644 index 831a6dd5c..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.dialog.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.dialog.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-dialog{position:absolute;padding:.2em;width:300px;overflow:hidden}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.ui-draggable .ui-dialog-titlebar{cursor:move} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.progressbar.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.progressbar.min.css deleted file mode 100644 index 8c3640d1f..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.progressbar.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.progressbar.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.resizable.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.resizable.min.css deleted file mode 100644 index 64fba81d0..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.resizable.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.resizable.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.selectable.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.selectable.min.css deleted file mode 100644 index 1b3593fe4..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.selectable.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.selectable.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.slider.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.slider.min.css deleted file mode 100644 index 929fe09c3..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.slider.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.slider.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.tabs.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.tabs.min.css deleted file mode 100644 index db35318da..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.tabs.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.tabs.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-tabs{position:relative;padding:.2em;zoom:1}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:1px;margin:0 .2em 1px 0;border-bottom:0!important;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tabs .ui-tabs-hide{display:none!important} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.theme.min.css b/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.theme.min.css deleted file mode 100644 index dd05d56ef..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Content/themes/base/minified/jquery.ui.theme.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery UI - v1.8.23 - 2012-08-15 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.theme.css -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT */ -.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-widget:active{outline:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png)}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-off{background-position:-96px -144px}.ui-icon-radio-on{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/DailySeriesController.cs b/NzbDrone.Services/NzbDrone.Services.Service/Controllers/DailySeriesController.cs deleted file mode 100644 index d0dc5cb5a..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/DailySeriesController.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.Linq; -using System.Web.Mvc; -using NzbDrone.Services.Service.Providers; - -namespace NzbDrone.Services.Service.Controllers -{ - public class DailySeriesController : Controller - { - private readonly DailySeriesProvider _dailySeriesProvider; - - public DailySeriesController(DailySeriesProvider dailySeriesProvider) - { - _dailySeriesProvider = dailySeriesProvider; - } - - [HttpGet] - [OutputCache(CacheProfile = "Cache1Hour")] - public JsonResult All() - { - var all = _dailySeriesProvider.All(); - - return Json(all, JsonRequestBehavior.AllowGet); - } - - [HttpGet] - [OutputCache(CacheProfile = "Cache1Hour")] - public JsonResult AllIds() - { - var all = _dailySeriesProvider.AllSeriesIds(); - - return Json(all, JsonRequestBehavior.AllowGet); - } - - [HttpGet] - [OutputCache(CacheProfile = "Cache1HourVaryBySeriesId")] - public JsonResult Check(int seriesId) - { - var result = _dailySeriesProvider.IsDaily(seriesId); - - return Json(result, JsonRequestBehavior.AllowGet); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ExceptionController.cs b/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ExceptionController.cs deleted file mode 100644 index d7cdd1218..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ExceptionController.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Linq; -using System.Web.Mvc; - -namespace NzbDrone.Services.Service.Controllers -{ - public class ExceptionController : Controller - { - - [HttpPost] - public EmptyResult ReportExisting() - { - return new EmptyResult(); - } - - [HttpPost] - public JsonResult ReportNew() - { - return new JsonResult(); - } - - - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/HealthController.cs b/NzbDrone.Services/NzbDrone.Services.Service/Controllers/HealthController.cs deleted file mode 100644 index 7b6bbd009..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/HealthController.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Linq; -using System.Web.Mvc; -using NzbDrone.Common; -using NzbDrone.Core.Datastore.Migrations; -using Services.PetaPoco; - -namespace NzbDrone.Services.Service.Controllers -{ - public class HealthController : Controller - { - private readonly EnvironmentProvider _environmentProvider; - private readonly IDatabase _database; - - public HealthController(EnvironmentProvider environmentProvider, IDatabase database) - { - _environmentProvider = environmentProvider; - _database = database; - } - - [HttpGet] - public JsonResult Echo() - { - var stat = new - { - Service = _environmentProvider.Version.ToString(), - Schema = _database.Fetch().OrderByDescending(c => c.Version).First() - }; - - return Json(stat, JsonRequestBehavior.AllowGet); - } - - [HttpGet] - public JsonResult Exception() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ReportingController.cs b/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ReportingController.cs deleted file mode 100644 index 3de612c9f..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ReportingController.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Linq; -using System.Web.Mvc; -using NLog; -using NzbDrone.Common; -using NzbDrone.Common.Contract; -using NzbDrone.Services.Service.Repository.Reporting; -using Services.PetaPoco; - - -namespace NzbDrone.Services.Service.Controllers -{ - public class ReportingController : Controller - { - private readonly IDatabase _database; - private readonly ExceptionController _exceptionController; - private static readonly Logger logger = LogManager.GetCurrentClassLogger(); - - private const string OK = "OK"; - - public ReportingController(IDatabase database, ExceptionController exceptionController) - { - _database = database; - _exceptionController = exceptionController; - } - - [HttpPost] - public JsonResult ParseError(ParseErrorReport parseErrorReport) - { - try - { - - - logger.Trace(parseErrorReport.NullSafe()); - - if (ParseErrorExists(parseErrorReport.Title)) - return Json(OK); - - var row = new ParseErrorRow(); - row.LoadBase(parseErrorReport); - row.Title = parseErrorReport.Title; - - _database.Insert(row); - - return Json(OK); - } - catch (Exception e) - { - logger.FatalException("Error has occurred while saving parse report", e); - if (!parseErrorReport.IsProduction) - { - throw; - } - } - - return new JsonResult(); - } - - - private bool ParseErrorExists(string title) - { - return _database.Exists(title); - } - - [HttpPost] - public JsonResult ReportException() - { - return new JsonResult(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/SceneMappingController.cs b/NzbDrone.Services/NzbDrone.Services.Service/Controllers/SceneMappingController.cs deleted file mode 100644 index c01767cd7..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/SceneMappingController.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using System.Linq; -using System.Web; -using System.Web.Mvc; -using Newtonsoft.Json; -using NzbDrone.Services.Service.Providers; -using NzbDrone.Services.Service.Repository; - -namespace NzbDrone.Services.Service.Controllers -{ - public class SceneMappingController : Controller - { - private readonly SceneMappingProvider _sceneMappingProvider; - - public SceneMappingController(SceneMappingProvider sceneMappingProvider) - { - _sceneMappingProvider = sceneMappingProvider; - } - - [HttpGet] - [OutputCache(CacheProfile = "Cache1Hour")] - public JsonResult Active() - { - var mappings = _sceneMappingProvider.AllLive(); - - return Json(mappings, JsonRequestBehavior.AllowGet); - } - - [HttpGet] - [Authorize(Roles = "Users")] - public ActionResult Pending() - { - var mappings = _sceneMappingProvider.AllPending(); - var serialized = JsonConvert.SerializeObject(mappings); - - return View((object)serialized); - } - - [HttpPost] - [Authorize(Roles = "Users")] - public string UpdatePending(int id, string value, int columnId) - { - var mapping = _sceneMappingProvider.GetPending(id); - - if (columnId == 0) - mapping.CleanTitle = value.Trim(); - - if (columnId == 1) - mapping.Id = Int32.Parse(value); - - if (columnId == 2) - mapping.Title = value.Trim(); - - _sceneMappingProvider.Update(mapping); - - return value; - } - - [HttpPost] - public JsonResult AddPending(string cleanTitle, int id, string title) - { - _sceneMappingProvider.Insert(new PendingSceneMapping { CleanTitle = cleanTitle, Id = id, Title = title }); - - return Json("Ok", JsonRequestBehavior.AllowGet); - } - - [Authorize(Roles = "Users")] - public JsonResult Promote(int mappingId) - { - _sceneMappingProvider.Promote(mappingId); - HttpResponse.RemoveOutputCacheItem(VirtualPathUtility.ToAbsolute("~/SceneMapping/Active")); - - return Json("Ok", JsonRequestBehavior.AllowGet); - } - - [Authorize(Roles = "Users")] - public JsonResult PromoteAll() - { - _sceneMappingProvider.PromoteAll(); - return Json("Ok", JsonRequestBehavior.AllowGet); - } - - [Authorize(Roles = "Users")] - public JsonResult Delete(int mappingId) - { - _sceneMappingProvider.DeletePending(mappingId); - HttpResponse.RemoveOutputCacheItem(VirtualPathUtility.ToAbsolute("~/SceneMapping/Active")); - - return Json("Ok", JsonRequestBehavior.AllowGet); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Datastore/Connection.cs b/NzbDrone.Services/NzbDrone.Services.Service/Datastore/Connection.cs deleted file mode 100644 index 665698b90..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Datastore/Connection.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System.Configuration; -using System.Linq; -using Services.PetaPoco; - - -namespace NzbDrone.Services.Service.Datastore -{ - public static class Connection - { - public static string GetConnectionString - { - get { return ConfigurationManager.ConnectionStrings["SqlExpress"].ConnectionString; } - } - - public static IDatabase GetPetaPocoDb() - { - var db = new Database("SqlExpress") - { - KeepConnectionAlive = false, - ForceDateTimesToUtc = false, - }; - - return db; - } - - - - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Global.asax b/NzbDrone.Services/NzbDrone.Services.Service/Global.asax deleted file mode 100644 index 6db8843ba..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Global.asax +++ /dev/null @@ -1 +0,0 @@ -<%@ Application Codebehind="Global.asax.cs" Inherits="NzbDrone.Services.Service.MvcApplication" Language="C#" %> diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Global.asax.cs b/NzbDrone.Services/NzbDrone.Services.Service/Global.asax.cs deleted file mode 100644 index 058165e72..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Global.asax.cs +++ /dev/null @@ -1,98 +0,0 @@ -using System; -using System.Data.Common; -using System.Linq; -using System.Web; -using System.Web.Mvc; -using System.Web.Routing; -using Autofac; -using Autofac.Integration.Mvc; -using NLog; -using NzbDrone.Core; - -namespace NzbDrone.Services.Service -{ - public class MvcApplication : HttpApplication - { - private static readonly Logger logger = LogManager.GetCurrentClassLogger(); - - private static void RegisterRoutes(RouteCollection routes) - { - routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); - - routes.MapRoute( - "Default", // Route name - "{controller}/{action}", // URL with parameters - new { controller = "Health", action = "Echo" } // Parameter default - ); - - } - - private static void RegisterGlobalFilters(GlobalFilterCollection filters) - { - filters.Add(new HandleErrorAttribute()); - } - - protected void Application_Start() - { - AreaRegistration.RegisterAllAreas(); - - RegisterGlobalFilters(GlobalFilters.Filters); - RegisterRoutes(RouteTable.Routes); - - var razor = ViewEngines.Engines.Single(e => e is RazorViewEngine); - ViewEngines.Engines.Clear(); - ViewEngines.Engines.Add(razor); - - ModelBinders.Binders.DefaultBinder = new JsonModelBinder(); - - } - - // ReSharper disable InconsistentNaming - protected void Application_Error(object sender, EventArgs e) - { - var lastError = Server.GetLastError(); - - if (lastError is HttpException && lastError.InnerException == null) - { - logger.WarnException(String.Format("{0}. URL[{1}]", lastError.Message, Request.Path), lastError); - return; - } - - logger.FatalException(lastError.Message + Environment.NewLine + Request.Url.PathAndQuery, lastError); - } - - protected void Application_BeginRequest() - { - } - - protected void Application_EndRequest() - { - } - - private void InitContainer() - { -/*/* logger.Info("NzbDrone Starting up."); - var dispatch = new CentralDispatch(); - - - dispatch.ContainerBuilder.RegisterAssemblyTypes(typeof(MvcApplication).Assembly).SingleInstance(); - dispatch.ContainerBuilder.RegisterAssemblyTypes(typeof(MvcApplication).Assembly).AsImplementedInterfaces().SingleInstance(); - - MVCRegistration(dispatch.ContainerBuilder); - - var container = dispatch.ContainerBuilder.Build();#1# - - DependencyResolver.SetResolver(new AutofacDependencyResolver(container));*/ - } - - private static void MVCRegistration(ContainerBuilder builder) - { - builder.RegisterModule(new AutofacWebTypesModule()); - - builder.RegisterControllers(typeof(MvcApplication).Assembly).InjectActionInvoker(); - builder.RegisterModelBinders(typeof(MvcApplication).Assembly).SingleInstance(); - - builder.RegisterType().As(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Helpers/HtmlIncludeExtentions.cs b/NzbDrone.Services/NzbDrone.Services.Service/Helpers/HtmlIncludeExtentions.cs deleted file mode 100644 index 41702bda6..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Helpers/HtmlIncludeExtentions.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.IO; -using System.Linq; -using System.Web.Mvc; -using NzbDrone.Common; - -namespace NzbDrone.Services.Service.Helpers -{ - public static class HtmlIncludeExtentions - { - private static readonly string versionString; - private static readonly bool isProduction; - - static HtmlIncludeExtentions() - { - versionString = new EnvironmentProvider().Version.ToString().Replace('.', '_'); - isProduction = true; - } - - public static MvcHtmlString IncludeScript(this HtmlHelper helper, string filename) - { - var relativePath = "/Scripts/" + filename; - VerifyFile(helper, relativePath); - return MvcHtmlString.Create(String.Format("", relativePath, versionString)); - } - - public static MvcHtmlString IncludeCss(this HtmlHelper helper, string filename) - { - var relativePath = "/Content/" + filename; - VerifyFile(helper, relativePath); - return MvcHtmlString.Create(String.Format("", relativePath, versionString)); - } - - private static void VerifyFile(HtmlHelper helper, string filename) - { - if (isProduction) - return; - - var path = helper.ViewContext.RequestContext.HttpContext.Server.MapPath(filename); - - if (!File.Exists(path)) - { - throw new FileNotFoundException("Included static resource was not found.", path); - } - - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/JsonModelBinder.cs b/NzbDrone.Services/NzbDrone.Services.Service/JsonModelBinder.cs deleted file mode 100644 index 7ff19609c..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/JsonModelBinder.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.IO; -using System.Linq; -using System.Web; -using System.Web.Mvc; -using NLog; -using Newtonsoft.Json; - -namespace NzbDrone.Services.Service -{ - public class JsonModelBinder : DefaultModelBinder - { - private static readonly Logger logger = LogManager.GetCurrentClassLogger(); - - public override object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext) - { - var input = "[NULL]"; - - try - { - var request = controllerContext.HttpContext.Request; - - if (!IsJsonRequest(request)) - { - return base.BindModel(controllerContext, bindingContext); - } - - using (var stream = request.InputStream) - { - stream.Seek(0, SeekOrigin.Begin); - using (var reader = new StreamReader(stream)) - { - input = reader.ReadToEnd(); - } - } - - var deserializedObject = JsonConvert.DeserializeObject(input, bindingContext.ModelMetadata.ModelType); - - return deserializedObject; - } - catch (Exception e) - { - logger.FatalException("Error deserilizing request. " + input, e); - throw; - } - } - - private static bool IsJsonRequest(HttpRequestBase request) - { - return request.ContentType.ToLower().Contains("application/json"); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120201.cs b/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120201.cs deleted file mode 100644 index e633c3573..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120201.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using System.Data; -using Migrator.Framework; - -namespace NzbDrone.Services.Service.Migrations -{ - - [Migration(20120201)] - public class Migration20120201 : Migration - { - public override void Up() - { - - Database.AddTable("SceneMappings", new[] - { - new Column("CleanTitle", DbType.String, ColumnProperty.PrimaryKey), - new Column("Id", DbType.Int32, ColumnProperty.NotNull), - new Column("Title", DbType.String, ColumnProperty.NotNull) - }); - - Database.AddTable("PendingSceneMappings", new[] - { - new Column("CleanTitle", DbType.String, ColumnProperty.PrimaryKey), - new Column("Id", DbType.Int32, ColumnProperty.NotNull), - new Column("Title", DbType.String, ColumnProperty.NotNull) - }); - - Database.AddTable("DailySeries", new[] - { - new Column("Id", DbType.Int32, ColumnProperty.PrimaryKey), - new Column("Title", DbType.String, ColumnProperty.NotNull) - }); - - Database.AddTable("ParseErrorReports", new[] - { - new Column("Title", DbType.String,1000, ColumnProperty.PrimaryKey), - MigrationsHelper.UGuidColumn, - MigrationsHelper.TimestampColumn, - MigrationsHelper.VersionColumn, - MigrationsHelper.ProductionColumn - }); - } - - - public override void Down() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120203.cs b/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120203.cs deleted file mode 100644 index 57ced15f5..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120203.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using System.Data; -using Migrator.Framework; - -namespace NzbDrone.Services.Service.Migrations -{ - - [Migration(20120203)] - public class Migration20120203 : Migration - { - public override void Up() - { - Database.AddTable("ExceptionReports", new[] - { - new Column("Type", DbType.String, ColumnProperty.PrimaryKey), - new Column("Logger", DbType.String, ColumnProperty.PrimaryKey), - new Column("LogMessage", DbType.String, ColumnProperty.PrimaryKey), - new Column("String", DbType.String, 4000, ColumnProperty.PrimaryKey), - MigrationsHelper.UGuidColumn, - MigrationsHelper.TimestampColumn, - MigrationsHelper.VersionColumn, - MigrationsHelper.ProductionColumn - }); - } - - public override void Down() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120205.cs b/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120205.cs deleted file mode 100644 index 90b1f39c8..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120205.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Data; -using Migrator.Framework; - -namespace NzbDrone.Services.Service.Migrations -{ - - [Migration(20120205)] - public class Migration20120205 : Migration - { - public override void Up() - { - Database.ChangeColumn("ParseErrorReports", MigrationsHelper.VersionColumn); - Database.ChangeColumn("ExceptionReports", MigrationsHelper.VersionColumn); - } - - public override void Down() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120206.cs b/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120206.cs deleted file mode 100644 index 6e52caec6..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120206.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using Migrator.Framework; - -namespace NzbDrone.Services.Service.Migrations -{ - - [Migration(20120206)] - public class Migration20120206 : Migration - { - public override void Up() - { - Database.ExecuteNonQuery("ALTER TABLE ExceptionReports DROP CONSTRAINT PK_ExceptionReports"); - } - - public override void Down() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120210.cs b/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120210.cs deleted file mode 100644 index e5819d25e..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120210.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Data; -using System.Linq; -using Migrator.Framework; - -namespace NzbDrone.Services.Service.Migrations -{ - [Migration(20120210)] - public class Migration20120210 : Migration - { - public override void Up() - { - Database.ChangeColumn("ExceptionReports", new Column("LogMessage", DbType.String, 4000, ColumnProperty.NotNull)); - } - - public override void Down() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120226.cs b/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120226.cs deleted file mode 100644 index e78a6706d..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120226.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Data; -using System.Linq; -using Migrator.Framework; - -namespace NzbDrone.Services.Service.Migrations -{ - [Migration(20120226)] - public class Migration20120226 : Migration - { - public override void Up() - { - Database.RenameTable("PendingSceneMappings", "OldPendingSceneMappings"); - - Database.AddTable("PendingSceneMappings", new[] - { - new Column("MappingId", DbType.Int32, ColumnProperty.PrimaryKeyWithIdentity), - new Column("CleanTitle", DbType.String, ColumnProperty.NotNull), - new Column("Id", DbType.Int32, ColumnProperty.NotNull), - new Column("Title", DbType.String, ColumnProperty.NotNull) - }); - - Database.ExecuteNonQuery(@"INSERT INTO PendingSceneMappings (CleanTitle, Id, Title) - SELECT CleanTitle, Id, Title - FROM OldPendingSceneMappings"); - - Database.RemoveTable("OldPendingSceneMappings"); - } - - public override void Down() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120229.cs b/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120229.cs deleted file mode 100644 index 751a82372..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120229.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Data; -using System.Linq; -using Migrator.Framework; - -namespace NzbDrone.Services.Service.Migrations -{ - [Migration(20120229)] - public class Migration20120229 : Migration - { - public override void Up() - { - Database.AddTable("ExceptionInstances", new Column("Id", DbType.Int64, ColumnProperty.PrimaryKeyWithIdentity), - new Column("ExceptionHash", DbType.String, ColumnProperty.NotNull), - new Column("LogMessage", DbType.String, 3000, ColumnProperty.NotNull), - MigrationsHelper.TimestampColumn, - MigrationsHelper.UGuidColumn, - MigrationsHelper.ProductionColumn); - - Database.AddTable("Exceptions", new Column("Hash", DbType.String, ColumnProperty.Unique), - new Column("Logger", DbType.String, ColumnProperty.NotNull), - new Column("Type", DbType.String, ColumnProperty.NotNull), - new Column("String", DbType.String, ColumnProperty.NotNull), - MigrationsHelper.VersionColumn); - - var indexName = MigrationsHelper.GetIndexName("Exceptions", "Hash"); - Database.AddIndex(indexName, "Exceptions", "Hash"); - - //Database.AddForeignKey("FK_Exceptions_ExceptionInstances", "Exceptions", "Hash", "ExceptionInstances", "ExceptionHash", ForeignKeyConstraint.Cascade); - - Database.ExecuteNonQuery("ALTER TABLE ExceptionReports ALTER COLUMN String NTEXT"); - Database.ExecuteNonQuery("ALTER TABLE Exceptions ALTER COLUMN String NTEXT"); - } - - public override void Down() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20121223.cs b/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20121223.cs deleted file mode 100644 index a31a007d8..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20121223.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Data; -using System.Linq; -using Migrator.Framework; - -namespace NzbDrone.Services.Service.Migrations -{ - [Migration(20121223)] - public class Migration20121223 : Migration - { - public override void Up() - { - Database.AddColumn("SceneMappings", new Column("Season", DbType.Int32, ColumnProperty.Null)); - Database.ExecuteNonQuery("UPDATE SceneMappings SET Season = -1 WHERE Season IS NULL"); - } - - public override void Down() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/MigrationHelper.cs b/NzbDrone.Services/NzbDrone.Services.Service/Migrations/MigrationHelper.cs deleted file mode 100644 index 0490e647f..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Migrations/MigrationHelper.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using System.Data; -using System.Reflection; -using System.Web.Hosting; -using Migrator.Framework; -using NLog; -using NzbDrone.Core.Datastore; - -namespace NzbDrone.Services.Service.Migrations -{ - public class MigrationsHelper - { - private static readonly Logger logger = LogManager.GetCurrentClassLogger(); - - public static void Run(string connetionString) - { - logger.Info("Preparing to run database migration"); - - VerifyConnectionString(connetionString); - - try - { - var migrator = new Migrator.Migrator("sqlserver", connetionString, Assembly.GetAssembly(typeof(MigrationsHelper)), true); - migrator.MigrateToLastVersion(); - logger.Info("Database migration completed"); - } - catch (Exception e) - { - logger.FatalException("An error has occurred while migrating database", e); - } - } - - private static void VerifyConnectionString(string connectionString) - { - if(connectionString == null) throw new ArgumentNullException("connectionString"); - - if (HostingEnvironment.ApplicationPhysicalPath != null && HostingEnvironment.ApplicationPhysicalPath.ToLower().Contains("stage") && - !connectionString.ToLower().Contains("stage")) - { - throw new InvalidOperationException("Attempting to migrate production database from staging environment"); - } - } - - public static string GetIndexName(string tableName, params string[] columns) - { - return String.Format("IX_{0}_{1}", tableName, String.Join("_", columns)); - } - - public static readonly Column VersionColumn = new Column("Version", DbType.String, 50, ColumnProperty.NotNull); - public static readonly Column ProductionColumn = new Column("IsProduction", DbType.Boolean, ColumnProperty.NotNull); - public static readonly Column TimestampColumn = new Column("TimeStamp", DbType.DateTime, ColumnProperty.NotNull); - public static readonly Column UGuidColumn = new Column("UGuid", DbType.Guid, ColumnProperty.Null); - - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.csproj b/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.csproj deleted file mode 100644 index 41290ee1a..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.csproj +++ /dev/null @@ -1,392 +0,0 @@ - - - - - Debug - AnyCPU - - - 2.0 - {63B155D7-AE78-4FEB-88BB-2F025ADD1F15} - {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - NzbDrone.Services.Service - NzbDrone.Services.Service - v4.0 - true - - - - - 4.0 - ..\..\ - true - - - - - - - true - full - false - bin\ - DEBUG;TRACE - prompt - 4 - x86 - - - pdbonly - true - bin\ - TRACE - prompt - 4 - x86 - - - - False - ..\..\packages\Autofac.3.0.1\lib\net40\Autofac.dll - - - False - ..\..\packages\Autofac.3.0.1\lib\net40\Autofac.Configuration.dll - - - ..\..\packages\elmah.corelibrary.1.2.1\lib\Elmah.dll - - - - True - ..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - - False - ..\..\Libraries\Migrator.NET\Migrator.dll - - - False - ..\..\Libraries\Migrator.NET\Migrator.Framework.dll - - - False - ..\..\Libraries\Migrator.NET\Migrator.Providers.dll - - - False - ..\..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll - - - ..\..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll - - - - - - - - - - - True - - - True - - - - True - - - - - - - - False - ..\..\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Designer - - - Web.config - - - Web.config - - - Web.config - - - - - - - - - - - - - - - - - Global.asax - - - - - - - - - - - - - - - - - - - - - - - {dd874e64-c7ec-464d-925f-cf4a709edeef} - Autofac.Integration.Mvc - - - {F2BE0FDF-6E47-4827-A420-DD4EF82407F8} - NzbDrone.Common - - - {FF5EE3B6-913B-47CE-9CEB-11C51B4E1205} - NzbDrone.Core - - - - - - - - - - - - - - - - - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - true - bin\ - DEBUG;TRACE - full - x86 - prompt - MinimumRecommendedRules.ruleset - - - bin\ - TRACE - true - pdbonly - x86 - prompt - MinimumRecommendedRules.ruleset - - - - - - - - - False - True - 28496 - / - http://localhost:62182/ - False - False - - - False - - - - - - - \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.ncrunchproject b/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.ncrunchproject deleted file mode 100644 index 8641d3614..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.ncrunchproject +++ /dev/null @@ -1,19 +0,0 @@ - - false - false - false - true - false - false - false - false - true - true - false - true - true - 60000 - - - AutoDetect - \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Properties/AssemblyInfo.cs b/NzbDrone.Services/NzbDrone.Services.Service/Properties/AssemblyInfo.cs deleted file mode 100644 index 8f7e1bcd5..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("NzbDrone.Services.Service")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NzbDrone.Services.Service")] -[assembly: AssemblyCopyright("Copyright © 2011")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("28da3fae-e494-41a9-9e9c-4479e13d91ee")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Providers/DailySeriesProvider.cs b/NzbDrone.Services/NzbDrone.Services.Service/Providers/DailySeriesProvider.cs deleted file mode 100644 index 8fab52f01..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Providers/DailySeriesProvider.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using NzbDrone.Services.Service.Repository; -using Services.PetaPoco; - -namespace NzbDrone.Services.Service.Providers -{ - public class DailySeriesProvider - { - private readonly IDatabase _database; - - public DailySeriesProvider(IDatabase database) - { - _database = database; - } - - public IList All() - { - return _database.Fetch(); - } - - public IList AllSeriesIds() - { - return _database.Fetch("SELECT Id from DailySeries"); - } - - public bool IsDaily(int seriesId) - { - return _database.Exists(seriesId); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Providers/SceneMappingProvider.cs b/NzbDrone.Services/NzbDrone.Services.Service/Providers/SceneMappingProvider.cs deleted file mode 100644 index df1e57c8b..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Providers/SceneMappingProvider.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using NLog; -using NzbDrone.Services.Service.Repository; -using Services.PetaPoco; - -namespace NzbDrone.Services.Service.Providers -{ - public class SceneMappingProvider - { - private readonly IDatabase _database; - - private static readonly Logger logger = LogManager.GetCurrentClassLogger(); - - public SceneMappingProvider(IDatabase database) - { - _database = database; - } - - public IList AllLive() - { - return _database.Fetch(); - } - - public IList AllPending() - { - return _database.Fetch(); - } - - public void Insert(SceneMapping sceneMapping) - { - _database.Insert(sceneMapping); - } - - public void Insert(PendingSceneMapping pendingSceneMapping) - { - _database.Insert(pendingSceneMapping); - } - - public void Update(PendingSceneMapping pendingSceneMapping) - { - _database.Update(pendingSceneMapping); - } - - public PendingSceneMapping GetPending(int mappingId) - { - return _database.SingleOrDefault("WHERE MappingId = @mappingId", new{ mappingId }); - } - - public void DeleteLive(int mappingId) - { - _database.Delete(mappingId); - } - - public void DeletePending(int mappingId) - { - _database.Delete(mappingId); - } - - public bool Promote(int mappingId) - { - try - { - var pendingItem = GetPending(mappingId); - - var mapping = new SceneMapping - { - CleanTitle = pendingItem.CleanTitle, - Id = pendingItem.Id, - Title = pendingItem.Title, - Season = -1 - }; - - Insert(mapping); - DeletePending(mappingId); - } - catch (Exception ex) - { - logger.WarnException("Unable to promote scene mapping", ex); - return false; - } - - return true; - } - - public bool PromoteAll() - { - try - { - var pendingItems = _database.Fetch(); - - foreach (var pendingItem in pendingItems) - { - Promote(pendingItem.MappingId); - } - } - catch (Exception ex) - { - logger.WarnException("Unable to promote all scene mappings", ex); - return false; - } - - return true; - } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Repository/DailySeries.cs b/NzbDrone.Services/NzbDrone.Services.Service/Repository/DailySeries.cs deleted file mode 100644 index 8b0c53367..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Repository/DailySeries.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Services.PetaPoco; - - -namespace NzbDrone.Services.Service.Repository -{ - [TableName("DailySeries")] - [PrimaryKey("Id", autoIncrement = false)] - public class DailySeries - { - public int Id { get; set; } - - public string Title { get; set; } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Repository/PendingSceneMapping.cs b/NzbDrone.Services/NzbDrone.Services.Service/Repository/PendingSceneMapping.cs deleted file mode 100644 index 14bb44929..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Repository/PendingSceneMapping.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Services.PetaPoco; - -namespace NzbDrone.Services.Service.Repository -{ - [TableName("PendingSceneMappings")] - [PrimaryKey("MappingId", autoIncrement = true)] - public class PendingSceneMapping - { - public int MappingId { get; set; } - public string CleanTitle { get; set; } - public int Id { get; set; } - public string Title { get; set; } - - [ResultColumn] - public string Commands { get; set; } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Repository/Reporting/ParseErrorRow.cs b/NzbDrone.Services/NzbDrone.Services.Service/Repository/Reporting/ParseErrorRow.cs deleted file mode 100644 index 408f10317..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Repository/Reporting/ParseErrorRow.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.Linq; -using Services.PetaPoco; - - -namespace NzbDrone.Services.Service.Repository.Reporting -{ - [TableName("ParseErrorReports")] - [PrimaryKey("Title", autoIncrement = false)] - public class ParseErrorRow : ReportRowBase - { - public string Title { get; set; } - } -} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Repository/Reporting/ReportRowBase.cs b/NzbDrone.Services/NzbDrone.Services.Service/Repository/Reporting/ReportRowBase.cs deleted file mode 100644 index 3ad9a7346..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Repository/Reporting/ReportRowBase.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Linq; -using NzbDrone.Common.Contract; - -namespace NzbDrone.Services.Service.Repository.Reporting -{ - public abstract class ReportRowBase - { - public void LoadBase(ReportBase report) - { - Timestamp = DateTime.Now; - Version = report.Version; - IsProduction = report.IsProduction; - UGuid = report.UGuid; - } - - public string Version { get; set; } - - public DateTime Timestamp { get; set; } - - public bool IsProduction { get; set; } - - public Guid UGuid { get; set; } - } -} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Repository/SceneMapping.cs b/NzbDrone.Services/NzbDrone.Services.Service/Repository/SceneMapping.cs deleted file mode 100644 index 78ff66952..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Repository/SceneMapping.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Services.PetaPoco; - -namespace NzbDrone.Services.Service.Repository -{ - [TableName("SceneMappings")] - [PrimaryKey("CleanTitle", autoIncrement = false)] - public class SceneMapping - { - public string CleanTitle { get; set; } - public int Id { get; set; } - public string Title { get; set; } - public int Season { get; set; } - } -} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Scripts/DataTables-1.9.0/media/js/jquery.dataTables.editable.js b/NzbDrone.Services/NzbDrone.Services.Service/Scripts/DataTables-1.9.0/media/js/jquery.dataTables.editable.js deleted file mode 100644 index bd0c287f8..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Scripts/DataTables-1.9.0/media/js/jquery.dataTables.editable.js +++ /dev/null @@ -1,1296 +0,0 @@ -/* -* File: jquery.dataTables.editable.js -* Version: 2.0.8 -* Author: Jovan Popovic -* -* Copyright 2010-2011 Jovan Popovic, all rights reserved. -* -* This source file is free software, under either the GPL v2 license or a -* BSD style license, as supplied with this software. -* -* This source file is distributed in the hope that it will be useful, but -* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -* or FITNESS FOR A PARTICULAR PURPOSE. -* -* Parameters: -* @sUpdateURL String URL of the server-side page used for updating cell. Default value is "UpdateData". -* @sAddURL String URL of the server-side page used for adding new row. Default value is "AddData". -* @sDeleteURL String URL of the server-side page used to delete row by id. Default value is "DeleteData". -* @fnShowError Function function(message, action){...} used to show error message. Action value can be "update", "add" or "delete". -* @sAddNewRowFormId String Id of the form for adding new row. Default id is "formAddNewRow". -* @oAddNewRowFormOptions Object Options that will be set to the "Add new row" dialog -* @sAddNewRowButtonId String Id of the button for adding new row. Default id is "btnAddNewRow". -* @oAddNewRowButtonOptions Object Options that will be set to the "Add new" button -* @sAddNewRowOkButtonId String Id of the OK button placed in add new row dialog. Default value is "btnAddNewRowOk". -* @oAddNewRowOkButtonOptions Object Options that will be set to the Ok button in the "Add new row" form -* @sAddNewRowCancelButtonId String Id of the Cancel button placed in add new row dialog. Default value is "btnAddNewRowCancel". -* @oAddNewRowCancelButtonOptions Object Options that will be set to the Cancel button in the "Add new row" form -* @sDeleteRowButtonId String Id of the button for adding new row. Default id is "btnDeleteRow". -* @oDeleteRowButtonOptions Object Options that will be set to the Delete button -* @sSelectedRowClass String Class that will be associated to the selected row. Default class is "row_selected". -* @sReadOnlyCellClass String Class of the cells that should not be editable. Default value is "read_only". -* @sAddDeleteToolbarSelector String Selector used to identify place where add and delete buttons should be placed. Default value is ".add_delete_toolbar". -* @fnStartProcessingMode Function function(){...} called when AJAX call is started. Use this function to add "Please wait..." message when some button is pressed. -* @fnEndProcessingMode Function function(){...} called when AJAX call is ended. Use this function to close "Please wait..." message. -* @aoColumns Array Array of the JEditable settings that will be applied on the columns -* @sAddHttpMethod String Method used for the Add AJAX request (default is 'POST') -* @sAddDataType String Data type expected from the server when adding a row; allowed values are the same as those accepted by JQuery's "datatype" parameter, e.g. 'text' and 'json'. The default is 'text'. -* @sDeleteHttpMethod String Method used for the Delete AJAX request (default is 'POST') -* @sDeleteDataType String Data type expected from the server when deleting a row; allowed values are the same as those accepted by JQuery's "datatype" parameter, e.g. 'text' and 'json'. The default is 'text'. -* @fnOnDeleting Function function(tr, id, fnDeleteRow){...} Function called before row is deleted. -tr isJQuery object encapsulating row that will be deleted -id is an id of the record that will be deleted. -fnDeleteRow(id) callback function that should be called to delete row with id -returns true if plugin should continue with deleting row, false will abort delete. -* @fnOnDeleted Function function(status){...} Function called after delete action. Status can be "success" or "failure" -* @fnOnAdding Function function(){...} Function called before row is added. -returns true if plugin should continue with adding row, false will abort add. -* @fnOnNewRowPosted Function function(data) Function that can override default function that is called when server-side sAddURL returns result -You can use this function to add different behaviour when server-side page returns result -* @fnOnAdded Function function(status){...} Function called after add action. Status can be "success" or "failure" -* @fnOnEditing Function function(input){...} Function called before cell is updated. -input JQuery object wrapping the input element used for editing value in the cell. -returns true if plugin should continue with sending AJAX request, false will abort update. -* @fnOnEdited Function function(status){...} Function called after edit action. Status can be "success" or "failure" -* @sEditorHeight String Default height of the cell editors -* @sEditorWidth String Default width of the cell editors -* @oDeleteParameters Object Additonal objects added to the DELETE Ajax request -* @oUpdateParameters Object Additonal objects added to the UPDATE Ajax request -* @sIDToken String Token in the add new row dialog that will be replaced with a returned id of the record that is created -* @sSuccessResponse String Text returned from the server if record is successfully deleted or edited. Default "ok" -*/ -(function ($) { - - $.fn.makeEditable = function (options) { - - var iDisplayStart = 0; - - function fnGetCellID(cell) { - /// - ///Utility function used to determine id of the cell - ///By default it is assumed that id is placed as an id attribute of that that surround the cell ( tag). E.g.: - /// - /// ............ - /// - /// - ///TD cell refference - - return properties.fnGetRowID($(cell.parentNode)); - } - - function _fnSetRowIDInAttribute(row, id, overwrite) { - /// - ///Utility function used to set id of the row. Usually when a new record is created, added to the table, - ///and when id of the record is retrieved from the server-side. - ///It is assumed that id is placed as an id attribute of that that surround the cell ( tag). E.g.: - /// - /// ............ - /// - ///This function is used when a datatable is configured in the server side processing mode or ajax source mode - /// - ///TR row where record is placed - - if (overwrite) { - row.attr("id", id); - } else { - if (row.attr("id") == null || row.attr("id") == "") - row.attr("id", id); - } - } - - function _fnGetRowIDFromAttribute(row) { - /// - ///Utility function used to get id of the row. - ///It is assumed that id is placed as an id attribute of that that surround the cell ( tag). E.g.: - /// - /// ............ - /// - ///This function is used when a datatable is configured in the standard client side mode - /// - ///TR row where record is placed - ///Id of the row - by default id attribute placed in the TR tag - - return row.attr("id"); - } - - function _fnSetRowIDInFirstCell(row, id) { - /// - ///Utility function used to set id of the row. Usually when a new record is created, added to the table, - ///and when id of the record is retrieved from the server-side). - ///It is assumed that id is placed as a value of the first <TD> cell in the <TR>. As example: - /// - /// 17......... - /// - ///This function is used when a datatable is configured in the server side processing mode or ajax source mode - /// - ///TR row where record is placed - - $("td:first", row).html(id); - } - - - function _fnGetRowIDFromFirstCell(row) { - /// - ///Utility function used to get id of the row. - ///It is assumed that id is placed as a value of the first <TD> cell in the <TR>. As example: - /// - /// 17......... - /// - ///This function is used when a datatable is configured in the server side processing mode or ajax source mode - /// - ///TR row where record is placed - ///Id of the row - by default id attribute placed in the TR tag - - return $("td:first", row).html(); - - } - - //Reference to the DataTable object - var oTable; - //Refences to the buttons used for manipulating table data - var oAddNewRowButton, oDeleteRowButton, oConfirmRowAddingButton, oCancelRowAddingButton; - //Reference to the form used for adding new data - var oAddNewRowForm; - - //Plugin options - var properties; - - function _fnShowError(errorText, action) { - /// - ///Shows an error message (Default function) - /// - ///text that should be shown - /// action that was executed when error occured e.g. "update", "delete", or "add" - - alert(errorText); - } - - function _fnStartProcessingMode() { - /// - ///Function that starts "Processing" mode i.e. shows "Processing..." dialog while some action is executing(Default function) - /// - - if (oTable.fnSettings().oFeatures.bProcessing) { - $(".dataTables_processing").css('visibility', 'visible'); - } - } - - function _fnEndProcessingMode() { - /// - ///Function that ends the "Processing" mode and returns the table in the normal state(Default function) - /// - - if (oTable.fnSettings().oFeatures.bProcessing) { - $(".dataTables_processing").css('visibility', 'hidden'); - } - } - - var sOldValue, sNewCellValue, sNewCellDislayValue; - - function fnApplyEditable(aoNodes) { - /// - ///Function that applies editable plugin to the array of table rows - /// - ///Aray of table rows <TR> that should be initialized with editable plugin - - if (properties.bDisableEditing) - return; - var oDefaultEditableSettings = { - event: 'dblclick', - - "onsubmit": function (settings, original) { - sOldValue = original.revert; - sNewCellValue = null; - sNewCellDisplayValue = null; - if(settings.type == "text" || settings.type == "select" || settings.type == "textarea" ) - { - var input = $("input,select,textarea", this); - sNewCellValue = $("input,select,textarea", $(this)).val(); - if (input.length == 1) { - var oEditElement = input[0]; - if (oEditElement.nodeName.toLowerCase() == "select" || oEditElement.tagName.toLowerCase() == "select") - sNewCellDisplayValue = $("option:selected", oEditElement).text(); //For select list use selected text instead of value for displaying in table - else - sNewCellDisplayValue = sNewCellValue; - } - - if (!properties.fnOnEditing(input)) - return false; - var x = settings; - if (settings.cssclass != null) { - input.addClass(settings.cssclass); - if (!input.valid() || 0 == input.valid()) - return false; - else - return true; - } - } - - iDisplayStart = fnGetDisplayStart(); - properties.fnStartProcessingMode(); - }, - "submitdata": function (value, settings) { - //iDisplayStart = fnGetDisplayStart(); - //properties.fnStartProcessingMode(); - var id = fnGetCellID(this); - var rowId = oTable.fnGetPosition(this)[0]; - var columnPosition = oTable.fnGetPosition(this)[1]; - var columnId = oTable.fnGetPosition(this)[2]; - var sColumnName = oTable.fnSettings().aoColumns[columnId].sName; - if (sColumnName == null || sColumnName == "") - sColumnName = oTable.fnSettings().aoColumns[columnId].sTitle; - var updateData = null; - if (properties.aoColumns == null || properties.aoColumns[columnId] == null) { - updateData = $.extend({}, - properties.oUpdateParameters, - { - "id": id, - "rowId": rowId, - "columnPosition": columnPosition, - "columnId": columnId, - "columnName": sColumnName - }); - } - else { - updateData = $.extend({}, - properties.oUpdateParameters, - properties.aoColumns[columnId].oUpdateParameters, - { - "id": id, - "rowId": rowId, - "columnPosition": columnPosition, - "columnId": columnId, - "columnName": sColumnName - }); - } - return updateData; - }, - "callback": function (sValue, settings) { - properties.fnEndProcessingMode(); - var status = ""; - var aPos = oTable.fnGetPosition(this); - - if (properties.sSuccessResponse == "IGNORE" || - ( properties.aoColumns != null - && properties.aoColumns[aPos[2]] != null - && properties.aoColumns[aPos[2]].sSuccessResponse == "IGNORE") || - (sNewCellValue == sValue) || - properties.sSuccessResponse == sValue) { - if(sNewCellDisplayValue == null) - { - //sNewCellDisplayValue = sValue; - oTable.fnUpdate(sValue, aPos[0], aPos[2]); - }else{ - oTable.fnUpdate(sNewCellDisplayValue, aPos[0], aPos[2]); - } - $("td.last-updated-cell", oTable).removeClass("last-updated-cell"); - $(this).addClass("last-updated-cell"); - status = "success"; - } else { - oTable.fnUpdate(sOldValue, aPos[0], aPos[2]); - properties.fnShowError(sValue, "update"); - status = "failure"; - } - - properties.fnOnEdited(status, sOldValue, sNewCellDisplayValue, aPos[0], aPos[1], aPos[2]); - if (settings.fnOnCellUpdated != null) { - settings.fnOnCellUpdated(status, sValue, aPos[0], aPos[2], settings); - } - - fnSetDisplayStart(); - }, - "onerror": function () { - properties.fnEndProcessingMode(); - properties.fnShowError("Cell cannot be updated", "update"); - properties.fnOnEdited("failure"); - }, - "height": properties.sEditorHeight, - "width": properties.sEditorWidth - }; - - var cells = null; - - if (properties.aoColumns != null) { - - for (var iDTindex = 0, iDTEindex = 0; iDTindex < oSettings.aoColumns.length; iDTindex++) { - if (oSettings.aoColumns[iDTindex].bVisible) {//if DataTables column is visible - if (properties.aoColumns[iDTEindex] == null) { - //If editor for the column is not defined go to the next column - iDTEindex++; - continue; - } - //Get all cells in the iDTEindex column (nth child is 1-indexed array) - cells = $("td:nth-child(" + (iDTEindex + 1) + ")", aoNodes); - - var oColumnSettings = oDefaultEditableSettings; - oColumnSettings = $.extend({}, oDefaultEditableSettings, properties.oEditableSettings, properties.aoColumns[iDTEindex]); - iDTEindex++; - var sUpdateURL = properties.sUpdateURL; - try { - if (oColumnSettings.sUpdateURL != null) - sUpdateURL = oColumnSettings.sUpdateURL; - } catch (ex) { - } - //cells.editable(sUpdateURL, oColumnSettings); - cells.each(function () { - if (!$(this).hasClass(properties.sReadOnlyCellClass)) { - $(this).editable(sUpdateURL, oColumnSettings); - } - }); - } - - } //end for - } else { - cells = $('td:not(.' + properties.sReadOnlyCellClass + ')', aoNodes); - cells.editable(properties.sUpdateURL, $.extend({}, oDefaultEditableSettings, properties.oEditableSettings)); - } - } - - function fnOnRowAdding(event) { - /// - ///Event handler called when a user click on the submit button in the "Add new row" form. - /// - ///Event that caused the action - - if (properties.fnOnAdding()) { - if (oAddNewRowForm.valid()) { - iDisplayStart = fnGetDisplayStart(); - properties.fnStartProcessingMode(); - - if (properties.bUseFormsPlugin) { - //Still in beta(development) - $(oAddNewRowForm).ajaxSubmit({ - dataType: 'xml', - success: function (response, statusString, xhr) { - if (xhr.responseText.toLowerCase().indexOf("error") != -1) { - properties.fnEndProcessingMode(); - properties.fnShowError(xhr.responseText.replace("Error",""), "add"); - properties.fnOnAdded("failure"); - } else { - fnOnRowAdded(xhr.responseText); - } - - }, - error: function (response) { - properties.fnEndProcessingMode(); - properties.fnShowError(response.responseText, "add"); - properties.fnOnAdded("failure"); - } - } - ); - - } else { - - var params = oAddNewRowForm.serialize(); - $.ajax({ 'url': properties.sAddURL, - 'data': params, - 'type': properties.sAddHttpMethod, - 'dataType': properties.sAddDataType, - success: fnOnRowAdded, - error: function (response) { - properties.fnEndProcessingMode(); - properties.fnShowError(response.responseText, "add"); - properties.fnOnAdded("failure"); - } - }); - } - } - } - event.stopPropagation(); - event.preventDefault(); - } - - function _fnOnNewRowPosted(data) { - ///Callback function called BEFORE a new record is posted to the server - ///TODO: Check this - - return true; - } - - function fnAddRowFromForm(oForm) { - /// - ///Adding a row in the table from the action form - /// - ///Form that contains data to be copied into the row - - var oSettings = oTable.fnSettings(); - var iColumnCount = oSettings.aoColumns.length; - var values = new Array(); - - $("input:text[rel],input:radio[rel][checked],input:hidden[rel],select[rel],textarea[rel],span.datafield[rel],input:checkbox[rel]", oForm).each(function () { - var rel = $(this).attr("rel"); - var sCellValue = ""; - if (rel >= iColumnCount) - properties.fnShowError("In the add form is placed input element with the name '" + $(this).attr("name") + "' with the 'rel' attribute that must be less than a column count - " + iColumnCount, "add"); - else { - if (this.nodeName.toLowerCase() == "select" || this.tagName.toLowerCase() == "select") { - //sCellValue = $("option:selected", this).text(); - sCellValue = $.map( - $.makeArray($("option:selected", this)), - function (n, i) { - return $(n).text(); - }).join(","); - } - else if (this.nodeName.toLowerCase() == "span" || this.tagName.toLowerCase() == "span") - sCellValue = $(this).html(); - else { - if (this.type == "checkbox") { - if (this.checked) - sCellValue = (this.value != "on") ? this.value : "true"; - else - sCellValue = (this.value != "on") ? "" : "false"; - } else - sCellValue = this.value; - } - sCellValue = sCellValue.replace(properties.sIDToken, data);//@BUG What is data????? - values[rel] = sCellValue; - } - }); - - //Add values from the form into the table - var rtn = oTable.fnAddData(values); - var oTRAdded = oTable.fnGetNodes(rtn); - //Apply editable plugin on the cells of the table - fnApplyEditable(oTRAdded); - - } - - function fnOnRowAdded(data) { - /// - ///Function that is called when a new row is added, and Ajax response is returned from server - /// - ///Id of the new row that is returned from the server - - properties.fnEndProcessingMode(); - - if (properties.fnOnNewRowPosted(data)) { - - var oSettings = oTable.fnSettings(); - if (!oSettings.oFeatures.bServerSide) { - var iColumnCount = oSettings.aoColumns.length; - var values = new Array(); - var rowData = new Object(); - - $("input:text[rel],input:radio[rel][checked],input:hidden[rel],select[rel],textarea[rel],span.datafield[rel],input:checkbox[rel]", oAddNewRowForm).each(function () { - var rel = $(this).attr("rel"); - var sCellValue = ""; - if (rel >= iColumnCount) - properties.fnShowError("In the add form is placed input element with the name '" + $(this).attr("name") + "' with the 'rel' attribute that must be less than a column count - " + iColumnCount, "add"); - else { - if (this.nodeName.toLowerCase() == "select" || this.tagName.toLowerCase() == "select") { - //sCellValue = $("option:selected", this).text(); - sCellValue = $.map( - $.makeArray($("option:selected", this)), - function (n, i) { - return $(n).text(); - }).join(","); - } - else if (this.nodeName.toLowerCase() == "span" || this.tagName.toLowerCase() == "span") - sCellValue = $(this).html(); - else { - if (this.type == "checkbox") { - if (this.checked) - sCellValue = (this.value != "on") ? this.value : "true"; - else - sCellValue = (this.value != "on") ? "" : "false"; - } else - sCellValue = this.value; - } - - sCellValue = sCellValue.replace(properties.sIDToken, data); - if (oSettings.aoColumns != null - && oSettings.aoColumns[rel] != null - && isNaN(parseInt(oSettings.aoColumns[0].mDataProp))) { - rowData[oSettings.aoColumns[rel].mDataProp] = sCellValue; - } else { - values[rel] = sCellValue; - } - } - }); - - var rtn; - //Add values from the form into the table - if (oSettings.aoColumns != null && isNaN(parseInt(oSettings.aoColumns[0].mDataProp))) { - rtn = oTable.fnAddData(rowData); - } - else { - rtn = oTable.fnAddData(values); - } - - var oTRAdded = oTable.fnGetNodes(rtn); - //add id returned by server page as an TR id attribute - properties.fnSetRowID($(oTRAdded), data, true); - //Apply editable plugin on the cells of the table - fnApplyEditable(oTRAdded); - - $("tr.last-added-row", oTable).removeClass("last-added-row"); - $(oTRAdded).addClass("last-added-row"); - } else { - oTable.fnDraw(false); - } - //Close the dialog - oAddNewRowForm.dialog('close'); - $(oAddNewRowForm)[0].reset(); - $(".error", $(oAddNewRowForm)).html(""); - - fnSetDisplayStart(); - properties.fnOnAdded("success"); - } - } - - function fnOnCancelRowAdding(event) { - /// - ///Event handler function that is executed when a user press cancel button in the add new row form - /// - ///DOM event that caused an error - - //Clear the validation messages and reset form - $(oAddNewRowForm).validate().resetForm(); // Clears the validation errors - $(oAddNewRowForm)[0].reset(); - - $(".error", $(oAddNewRowForm)).html(""); - $(".error", $(oAddNewRowForm)).hide(); // Hides the error element - - //Close the dialog - oAddNewRowForm.dialog('close'); - event.stopPropagation(); - event.preventDefault(); - } - - - function fnDisableDeleteButton() { - /// - ///Function that disables delete button - /// - - if (properties.oDeleteRowButtonOptions != null) { - //oDeleteRowButton.disable(); - oDeleteRowButton.button("option", "disabled", true); - } else { - oDeleteRowButton.attr("disabled", "true"); - } - } - - function fnEnableDeleteButton() { - /// - ///Function that enables delete button - /// - - if (properties.oDeleteRowButtonOptions != null) { - //oDeleteRowButton.enable(); - oDeleteRowButton.button("option", "disabled", false); - } else { - oDeleteRowButton.removeAttr("disabled"); - } - } - - - - function fnDeleteRow(id, sDeleteURL) { - /// - ///Function that deletes a row with an id, using the sDeleteURL server page - /// - ///Id of the row that will be deleted. Id value is placed in the attribute of the TR tag that will be deleted - ///Server URL where delete request will be posted - - var sURL = sDeleteURL; - if (sDeleteURL == null) - sURL = properties.sDeleteURL; - properties.fnStartProcessingMode(); - var data = $.extend(properties.oDeleteParameters, { "id": id }); - $.ajax({ 'url': sURL, - 'type': properties.sDeleteHttpMethod, - 'data': data, - "success": fnOnRowDeleted, - "dataType": properties.sDeleteDataType, - "error": function (response) { - properties.fnEndProcessingMode(); - properties.fnShowError(response.responseText, "delete"); - properties.fnOnDeleted("failure"); - - } - }); - } - - function _fnOnRowDelete(event) { - /// - ///Event handler for the delete button - /// - ///DOM event - - iDisplayStart = fnGetDisplayStart(); - if ($('tr.' + properties.sSelectedRowClass + ' td', oTable).length == 0) { - fnDisableDeleteButton(); - return; - } - var id = fnGetCellID($('tr.' + properties.sSelectedRowClass + ' td', oTable)[0]); - if (properties.fnOnDeleting($('tr.' + properties.sSelectedRowClass, oTable), id, fnDeleteRow)) { - fnDeleteRow(id); - } - } - - function fnOnRowDeleted(response) { - /// - ///Called after the record is deleted on the server (in the ajax success callback) - /// - ///Response text eturned from the server-side page - - properties.fnEndProcessingMode(); - var oTRSelected = $('tr.' + properties.sSelectedRowClass, oTable)[0]; - if (response == properties.sSuccessResponse || response == "") { - oTable.fnDeleteRow(oTRSelected); - fnDisableDeleteButton(); - fnSetDisplayStart(); - properties.fnOnDeleted("success"); - } - else { - properties.fnShowError(response, "delete"); - properties.fnOnDeleted("failure"); - } - } - - function _fnOnDeleting(tr, id, fnDeleteRow) { - /// - ///The default function that is called before row is deleted - ///Returning false will abort delete - ///Function can be overriden via plugin properties in order to create custom delete functionality - ///in that case call fnDeleteRow with parameter id, and return false to prevent double delete action - /// - ///JQuery wrapper around the TR tag that will be deleted - ///Id of the record that wil be deleted - ///Function that will be called to delete a row. Default - fnDeleteRow(id) - - return confirm("Are you sure that you want to delete this record?"); ; - } - - /* Function called after delete action - * @param result string - * "success" if row is actually deleted - * "failure" if delete failed - * @return void - */ - function _fnOnDeleted(result) { } - - function _fnOnEditing(input) { return true; } - function _fnOnEdited(result, sOldValue, sNewValue, iRowIndex, iColumnIndex, iRealColumnIndex) { - - } - - function fnOnAdding() { return true; } - function _fnOnAdded(result) { } - - var oSettings; - function fnGetDisplayStart() { - return oSettings._iDisplayStart; - } - - function fnSetDisplayStart() { - /// - ///Set the pagination position(do nothing in the server-side mode) - /// - - if (oSettings.oFeatures.bServerSide === false) { - oSettings._iDisplayStart = iDisplayStart; - oSettings.oApi._fnCalculateEnd(oSettings); - //draw the 'current' page - oSettings.oApi._fnDraw(oSettings); - } - } - - function _fnOnBeforeAction(sAction) { - return true; - } - - function _fnOnActionCompleted(sStatus) { - - } - - function fnGetActionSettings(sAction) { - ///Returns settings object for the action - ///The name of the action - - if (properties.aoTableAction) - properties.fnShowError("Configuration error - aoTableAction setting are not set", sAction); - var i = 0; - - for (i = 0; i < properties.aoTableActions.length; i++) { - if (properties.aoTableActions[i].sAction == sAction) - return properties.aoTableActions[i]; - } - - properties.fnShowError("Cannot find action configuration settings", sAction); - } - - - function fnUpdateRow(oActionForm) { - ///Updates table row using form fields - ///Form used to enter data - - var sAction = $(oActionForm).attr("id"); - sAction = sAction.replace("form", ""); - var sActionURL = $(oActionForm).attr("action"); - if (properties.fnOnBeforeAction(sAction)) { - if ($(oActionForm).valid()) { - iDisplayStart = fnGetDisplayStart(); - properties.fnStartProcessingMode(); - if (properties.bUseFormsPlugin) { - - //Still in beta(development) - var oAjaxSubmitOptions = { - success: function (response, statusString, xhr) { - properties.fnEndProcessingMode(); - if (response.toLowerCase().indexOf("error") != -1 || statusString != "success") { - properties.fnShowError(response, sAction); - properties.fnOnActionCompleted("failure"); - } else { - fnUpdateRowOnSuccess(oActionForm); - properties.fnOnActionCompleted("success"); - } - - }, - error: function (response) { - properties.fnEndProcessingMode(); - properties.fnShowError(response.responseText, sAction); - properties.fnOnActionCompleted("failure"); - } - }; - var oActionSettings = fnGetActionSettings(sAction); - oAjaxSubmitOptions = $.extend({}, properties.oAjaxSubmitOptions, oAjaxSubmitOptions); - $(oActionForm).ajaxSubmit(oAjaxSubmitOptions); - - } else { - var params = $(oActionForm).serialize(); - $.ajax({ 'url': sActionURL, - 'data': params, - 'type': properties.sAddHttpMethod, - 'dataType': properties.sAddDataType, - success: function (response) { - properties.fnEndProcessingMode(); - fnUpdateRowOnSuccess(oActionForm); - properties.fnOnActionCompleted("success"); - }, - error: function (response) { - properties.fnEndProcessingMode(); - properties.fnShowError(response.responseText, sAction); - properties.fnOnActionCompleted("failure"); - } - }); - } - } - } - } - - function fnUpdateRowOnSuccess(oActionForm) { - ///Updates table row using form fields after the ajax success callback is executed - ///Form used to enter data - - var iRowID = jQuery.data(oActionForm, 'ROWID'); - //var iDataRowID = jQuery.data(oActionForm, 'DATAROWID'); - var oSettings = oTable.fnSettings(); - var iColumnCount = oSettings.aoColumns.length; - var values = new Array(); - - var sAction = $(oActionForm).attr("id"); - sAction = sAction.replace("form", ""); - - //$("input.ROWID").val(iRowID); - //$("input.DATAROWID").val(iDataRowID); - - $("input:text[rel],input:radio[rel][checked],input:hidden[rel],select[rel],textarea[rel],span.datafield[rel],input:checkbox[rel]", oActionForm).each(function () { - var rel = $(this).attr("rel"); - var sCellValue = ""; - if (rel >= iColumnCount) - properties.fnShowError("In the add form is placed input element with the name '" + $(this).attr("name") + "' with the 'rel' attribute that must be less than a column count - " + iColumnCount, "add"); - else { - if (this.nodeName.toLowerCase() == "select" || this.tagName.toLowerCase() == "select") { - //sCellValue = $("option:selected", this).text(); - sCellValue = $.map( - $.makeArray($("option:selected", this)), - function (n, i) { - return $(n).text(); - }).join(","); - } - else if (this.nodeName.toLowerCase() == "span" || this.tagName.toLowerCase() == "span") - sCellValue = $(this).html(); - else { - if (this.type == "checkbox") { - if (this.checked) - sCellValue = (this.value != "on") ? this.value : "true"; - else - sCellValue = (this.value != "on") ? "" : "false"; - } else - sCellValue = this.value; - } - - //sCellValue = sCellValue.replace(properties.sIDToken, data); - //values[rel] = sCellValue; - oTable.fnUpdate(sCellValue, iRowID, rel); - } - }); - $(oActionForm).dialog('close'); - - - } - - oTable = this; - - var defaults = { - - sUpdateURL: "UpdateData", - sAddURL: "AddData", - sDeleteURL: "DeleteData", - sAddNewRowFormId: "formAddNewRow", - oAddNewRowFormOptions: { autoOpen: false, modal: true }, - sAddNewRowButtonId: "btnAddNewRow", - oAddNewRowButtonOptions: null, - sAddNewRowOkButtonId: "btnAddNewRowOk", - sAddNewRowCancelButtonId: "btnAddNewRowCancel", - oAddNewRowOkButtonOptions: { label: "Ok" }, - oAddNewRowCancelButtonOptions: { label: "Cancel" }, - sDeleteRowButtonId: "btnDeleteRow", - oDeleteRowButtonOptions: null, - sSelectedRowClass: "row_selected", - sReadOnlyCellClass: "read_only", - sAddDeleteToolbarSelector: ".add_delete_toolbar", - fnShowError: _fnShowError, - fnStartProcessingMode: _fnStartProcessingMode, - fnEndProcessingMode: _fnEndProcessingMode, - aoColumns: null, - fnOnDeleting: _fnOnDeleting, - fnOnDeleted: _fnOnDeleted, - fnOnAdding: fnOnAdding, - fnOnNewRowPosted: _fnOnNewRowPosted, - fnOnAdded: _fnOnAdded, - fnOnEditing: _fnOnEditing, - fnOnEdited: _fnOnEdited, - sAddHttpMethod: 'POST', - sAddDataType: "text", - sDeleteHttpMethod: 'POST', - sDeleteDataType: "text", - fnGetRowID: _fnGetRowIDFromAttribute, - fnSetRowID: _fnSetRowIDInAttribute, - sEditorHeight: "100%", - sEditorWidth: "100%", - bDisableEditing: false, - oDeleteParameters: {}, - oUpdateParameters: {}, - sIDToken: "DATAROWID", - aoTableActions: null, - fnOnBeforeAction: _fnOnBeforeAction, - bUseFormsPlugin: false, - fnOnActionCompleted: _fnOnActionCompleted, - sSuccessResponse: "ok" - - - }; - - properties = $.extend(defaults, options); - oSettings = oTable.fnSettings(); - - return this.each(function () { - - if (oTable.fnSettings().sAjaxSource != null) { - oTable.fnSettings().aoDrawCallback.push({ - "fn": function () { - //Apply jEditable plugin on the table cells - fnApplyEditable(oTable.fnGetNodes()); - $(oTable.fnGetNodes()).each(function () { - var position = oTable.fnGetPosition(this); - var id = oTable.fnGetData(position)[0]; - properties.fnSetRowID($(this), id); - } - ); - }, - "sName": "fnApplyEditable" - }); - - } else { - //Apply jEditable plugin on the table cells - fnApplyEditable(oTable.fnGetNodes()); - } - - //Setup form to open in dialog - oAddNewRowForm = $("#" + properties.sAddNewRowFormId); - if (oAddNewRowForm.length != 0) { - - ///Check does the add new form has all nessecary fields - var oSettings = oTable.fnSettings(); - var iColumnCount = oSettings.aoColumns.length; - for (i = 0; i < iColumnCount; i++) { - if ($("[rel=" + i + "]", oAddNewRowForm).length == 0) - properties.fnShowError("In the form that is used for adding new records cannot be found an input element with rel=" + i + " that will be bound to the value in the column " + i + ". See http://code.google.com/p/jquery-datatables-editable/wiki/AddingNewRecords#Add_new_record_form for more details", "init"); - } - - - if (properties.oAddNewRowFormOptions != null) { - properties.oAddNewRowFormOptions.autoOpen = false; - } else { - properties.oAddNewRowFormOptions = { autoOpen: false }; - } - oAddNewRowForm.dialog(properties.oAddNewRowFormOptions); - - //Add button click handler on the "Add new row" button - oAddNewRowButton = $("#" + properties.sAddNewRowButtonId); - if (oAddNewRowButton.length != 0) { - oAddNewRowButton.click(function () { - oAddNewRowForm.dialog('open'); - }); - } else { - if ($(properties.sAddDeleteToolbarSelector).length == 0) { - throw "Cannot find a button with an id '" + properties.sAddNewRowButtonId + "', or placeholder with an id '" + properties.sAddDeleteToolbarSelector + "' that should be used for adding new row although form for adding new record is specified"; - } else { - oAddNewRowButton = null; //It will be auto-generated later - } - } - - //Prevent Submit handler - if (oAddNewRowForm[0].nodeName.toLowerCase() == "form") { - oAddNewRowForm.unbind('submit'); - oAddNewRowForm.submit(function (event) { - fnOnRowAdding(event); - return false; - }); - } else { - $("form", oAddNewRowForm[0]).unbind('submit'); - $("form", oAddNewRowForm[0]).submit(function (event) { - fnOnRowAdding(event); - return false; - }); - } - - // array to add default buttons to - var aAddNewRowFormButtons = []; - - oConfirmRowAddingButton = $("#" + properties.sAddNewRowOkButtonId, oAddNewRowForm); - if (oConfirmRowAddingButton.length == 0) { - //If someone forgotten to set the button text - if (properties.oAddNewRowOkButtonOptions.text == null - || properties.oAddNewRowOkButtonOptions.text == "") { - properties.oAddNewRowOkButtonOptions.text = "Ok"; - } - properties.oAddNewRowOkButtonOptions.click = fnOnRowAdding; - properties.oAddNewRowOkButtonOptions.id = properties.sAddNewRowOkButtonId; - // push the add button onto the array - aAddNewRowFormButtons.push(properties.oAddNewRowOkButtonOptions); - } else { - oConfirmRowAddingButton.click(fnOnRowAdding); - } - - oCancelRowAddingButton = $("#" + properties.sAddNewRowCancelButtonId); - if (oCancelRowAddingButton.length == 0) { - //If someone forgotten to the button text - if (properties.oAddNewRowCancelButtonOptions.text == null - || properties.oAddNewRowCancelButtonOptions.text == "") { - properties.oAddNewRowCancelButtonOptions.text = "Cancel"; - } - properties.oAddNewRowCancelButtonOptions.click = fnOnCancelRowAdding; - properties.oAddNewRowCancelButtonOptions.id = properties.sAddNewRowCancelButtonId; - // push the cancel button onto the array - aAddNewRowFormButtons.push(properties.oAddNewRowCancelButtonOptions); - } else { - oCancelRowAddingButton.click(fnOnCancelRowAdding); - } - // if the array contains elements, add them to the dialog - if (aAddNewRowFormButtons.length > 0) { - oAddNewRowForm.dialog('option', 'buttons', aAddNewRowFormButtons); - } - //Issue: It cannot find it with this call: - //oConfirmRowAddingButton = $("#" + properties.sAddNewRowOkButtonId, oAddNewRowForm); - //oCancelRowAddingButton = $("#" + properties.sAddNewRowCancelButtonId, oAddNewRowForm); - oConfirmRowAddingButton = $("#" + properties.sAddNewRowOkButtonId); - oCancelRowAddingButton = $("#" + properties.sAddNewRowCancelButtonId); - } else { - oAddNewRowForm = null; - } - - //Set the click handler on the "Delete selected row" button - oDeleteRowButton = $('#' + properties.sDeleteRowButtonId); - if (oDeleteRowButton.length != 0) - oDeleteRowButton.click(_fnOnRowDelete); - else { - oDeleteRowButton = null; - } - - //If an add and delete buttons does not exists but Add-delete toolbar is specificed - //Autogenerate these buttons - oAddDeleteToolbar = $(properties.sAddDeleteToolbarSelector); - if (oAddDeleteToolbar.length != 0) { - if (oAddNewRowButton == null && properties.sAddNewRowButtonId != "" - && oAddNewRowForm != null) { - oAddDeleteToolbar.append(""); - oAddNewRowButton = $("#" + properties.sAddNewRowButtonId); - oAddNewRowButton.click(function () { oAddNewRowForm.dialog('open'); }); - } - if (oDeleteRowButton == null && properties.sDeleteRowButtonId != "") { - oAddDeleteToolbar.append(""); - oDeleteRowButton = $("#" + properties.sDeleteRowButtonId); - oDeleteRowButton.click(_fnOnRowDelete); - } - } - - //If delete button exists disable it until some row is selected - if (oDeleteRowButton != null) { - if (properties.oDeleteRowButtonOptions != null) { - oDeleteRowButton.button(properties.oDeleteRowButtonOptions); - } - fnDisableDeleteButton(); - } - - //If add button exists convert it to the JQuery-ui button - if (oAddNewRowButton != null) { - if (properties.oAddNewRowButtonOptions != null) { - oAddNewRowButton.button(properties.oAddNewRowButtonOptions); - } - } - - - //If form ok button exists convert it to the JQuery-ui button - if (oConfirmRowAddingButton != null) { - if (properties.oAddNewRowOkButtonOptions != null) { - oConfirmRowAddingButton.button(properties.oAddNewRowOkButtonOptions); - } - } - - //If form cancel button exists convert it to the JQuery-ui button - if (oCancelRowAddingButton != null) { - if (properties.oAddNewRowCancelButtonOptions != null) { - oCancelRowAddingButton.button(properties.oAddNewRowCancelButtonOptions); - } - } - - //Add handler to the inline delete buttons - $(".table-action-deletelink", oTable).live("click", function (e) { - - e.preventDefault(); - e.stopPropagation(); - var sURL = $(this).attr("href"); - - if (sURL == null || sURL == "") - sURL = properties.sDeleteURL; - - iDisplayStart = fnGetDisplayStart(); - var oTD = ($(this).parents('td'))[0]; - var oTR = ($(this).parents('tr'))[0]; - - $(oTR).addClass(properties.sSelectedRowClass); - - var id = fnGetCellID(oTD); - if (properties.fnOnDeleting(oTD, id, fnDeleteRow)) { - fnDeleteRow(id, sURL); - } - - - } - ); - - //Add handler to the inline delete buttons - $(".table-action-editlink", oTable).live("click", function (e) { - - e.preventDefault(); - e.stopPropagation(); - var sURL = $(this).attr("href"); - - if (sURL == null || sURL == "") - sURL = properties.sDeleteURL; - - iDisplayStart = fnGetDisplayStart(); - var oTD = ($(this).parents('td'))[0]; - var oTR = ($(this).parents('tr'))[0]; - - $(oTR).addClass(properties.sSelectedRowClass); - - var id = fnGetCellID(oTD); - if (properties.fnOnDeleting(oTD, id, fnDeleteRow)) { - fnDeleteRow(id, sURL); - } - - - } - ); - - //Set selected class on row that is clicked - //Enable delete button if row is selected, disable delete button if selected class is removed - $("tbody", oTable).click(function (event) { - if ($(event.target.parentNode).hasClass(properties.sSelectedRowClass)) { - $(event.target.parentNode).removeClass(properties.sSelectedRowClass); - if (oDeleteRowButton != null) { - fnDisableDeleteButton(); - } - } else { - $(oTable.fnSettings().aoData).each(function () { - $(this.nTr).removeClass(properties.sSelectedRowClass); - }); - $(event.target.parentNode).addClass(properties.sSelectedRowClass); - if (oDeleteRowButton != null) { - fnEnableDeleteButton(); - } - } - }); - - - if (properties.aoTableActions != null) { - for (var i = 0; i < properties.aoTableActions.length; i++) { - var oTableAction = $.extend({ sType: "edit" }, properties.aoTableActions[i]); - var sAction = oTableAction.sAction; - var sActionFormId = oTableAction.sActionFormId; - - var oActionForm = $("#form" + sAction); - if (oActionForm.length != 0) { - var oFormOptions = { autoOpen: false, modal: true }; - oFormOptions = $.extend({}, oTableAction.oFormOptions, oFormOptions); - oActionForm.dialog(oFormOptions); - oActionForm.data("action-options", oTableAction); - - var oActionFormLink = $(".table-action-" + sAction); - if (oActionFormLink.length != 0) { - - oActionFormLink.live("click", function () { - - - var sClass = this.className; - var classList = sClass.split(/\s+/); - var sActionFormId = ""; - var sAction = ""; - for (i = 0; i < classList.length; i++) { - if (classList[i].indexOf("table-action-") > -1) { - sAction = classList[i].replace("table-action-", ""); - sActionFormId = "#form" + sAction; - } - } - if (sActionFormId == "") { - properties.fnShowError("Cannot find a form with an id " + sActionFormId + " that should be associated to the action - " + sAction, sAction) - } - - var oTableAction = $(sActionFormId).data("action-options"); - - if (oTableAction.sType == "edit") { - - var oTD = ($(this).parents('td'))[0]; - var oTR = ($(this).parents('tr'))[0]; - - $(oTR).addClass(properties.sSelectedRowClass); - - var iRowID = oTable.fnGetPosition(oTR); - - var id = fnGetCellID(oTD); - - $(sActionFormId).validate().resetForm(); - jQuery.data($(sActionFormId)[0], 'DATARECORDID', id); - $("input.DATARECORDID", $(sActionFormId)).val(id); - jQuery.data($(sActionFormId)[0], 'ROWID', iRowID); - $("input.ROWID", $(sActionFormId)).val(iRowID); - - - var oSettings = oTable.fnSettings(); - var iColumnCount = oSettings.aoColumns.length; - - - $("input:text[rel],input:radio[rel][checked],input:hidden[rel],select[rel],textarea[rel],input:checkbox[rel]", - $(sActionFormId)).each(function () { - var rel = $(this).attr("rel"); - - - if (rel >= iColumnCount) - properties.fnShowError("In the action form is placed input element with the name '" + $(this).attr("name") + "' with the 'rel' attribute that must be less than a column count - " + iColumnCount, "add"); - else { - var sCellValue = oTable.fnGetData(oTR)[rel]; - if (this.nodeName.toLowerCase() == "select" || this.tagName.toLowerCase() == "select") { - //sCellValue = $("option:selected", this).text(); - /*sCellValue = $.map( - $.makeArray($("option:selected", this)), - function (n, i) { - return $(n).text(); - }).join(","); - */ - //$(this).val(sCellValue); - $(this).attr("value", sCellValue); - - } - else if (this.nodeName.toLowerCase() == "span" || this.tagName.toLowerCase() == "span") - $(this).html(sCellValue); - else { - if (this.type == "checkbox") { - if (sCellValue == "true") { - $(this).attr("checked", true); - } - } else - { - if(this.type == "radio"){ - if(this.value == sCellValue){ - this.checked = true; - } - }else{ - this.value = sCellValue; - } - } - } - - //sCellValue = sCellValue.replace(properties.sIDToken, data); - //values[rel] = sCellValue; - //oTable.fnUpdate(sCellValue, iRowID, rel); - } - }); - - - } - $(sActionFormId).dialog('open'); - }); - } - - oActionForm.submit(function (event) { - - var oTableAction = $(this).data("action-options"); - - if (oTableAction.sType == "edit") { - ///Start function fnUpdateRow - fnUpdateRow(this); - ///end function fnUpdateRow - } else { - fnAddRowFromForm(this); - } - return false; - }); - - - var aActionFormButtons = new Array(); - - //var oActionSubmitButton = $("#form" + sAction + "Ok", oActionForm); - //aActionFormButtons.push(oActionSubmitButton); - var oActionFormCancel = $("#form" + sAction + "Cancel", oActionForm); - if (oActionFormCancel.length != 0) { - aActionFormButtons.push(oActionFormCancel); - oActionFormCancel.click(function () { - - var oActionForm = $(this).parents("form")[0]; - //Clear the validation messages and reset form - $(oActionForm).validate().resetForm(); // Clears the validation errors - $(oActionForm)[0].reset(); - - $(".error", $(oActionForm)).html(""); - $(".error", $(oActionForm)).hide(); // Hides the error element - $(oActionForm).dialog('close'); - }); - } - - //Convert all action form buttons to the JQuery UI buttons - $("button", oActionForm).button(); - /* - if (aActionFormButtons.length > 0) { - oActionForm.dialog('option', 'buttons', aActionFormButtons); - } - */ - - - - } - - - - - } // end for (var i = 0; i < properties.aoTableActions.length; i++) - } //end if (properties.aoTableActions != null) - - - }); - }; -})(jQuery); diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Scripts/DataTables-1.9.0/media/js/jquery.dataTables.js b/NzbDrone.Services/NzbDrone.Services.Service/Scripts/DataTables-1.9.0/media/js/jquery.dataTables.js deleted file mode 100644 index 35b8d1b57..000000000 --- a/NzbDrone.Services/NzbDrone.Services.Service/Scripts/DataTables-1.9.0/media/js/jquery.dataTables.js +++ /dev/null @@ -1,11612 +0,0 @@ -/** - * @summary DataTables - * @description Paginate, search and sort HTML tables - * @version 1.9.0 - * @file jquery.dataTables.js - * @author Allan Jardine (www.sprymedia.co.uk) - * @contact www.sprymedia.co.uk/contact - * - * @copyright Copyright 2008-2012 Allan Jardine, all rights reserved. - * - * This source file is free software, under either the GPL v2 license or a - * BSD style license, available at: - * http://datatables.net/license_gpl2 - * http://datatables.net/license_bsd - * - * This source file is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. - * - * For details please refer to: http://www.datatables.net - */ - -/*jslint evil: true, undef: true, browser: true */ -/*globals $, jQuery,_fnExternApiFunc,_fnInitialise,_fnInitComplete,_fnLanguageCompat,_fnAddColumn,_fnColumnOptions,_fnAddData,_fnCreateTr,_fnGatherData,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnServerParams,_fnAddOptionsHtml,_fnFeatureHtmlTable,_fnScrollDraw,_fnAdjustColumnSizing,_fnFeatureHtmlFilter,_fnFilterComplete,_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnBuildSearchArray,_fnBuildSearchRow,_fnFilterCreateSearch,_fnDataToSearch,_fnSort,_fnSortAttachListener,_fnSortingClasses,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnFeatureHtmlLength,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnNodeToDataIndex,_fnVisbleColumns,_fnCalculateEnd,_fnConvertToWidth,_fnCalculateColumnWidths,_fnScrollingWidthAdjust,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnDetectType,_fnSettingsFromNode,_fnGetDataMaster,_fnGetTrNodes,_fnGetTdNodes,_fnEscapeRegex,_fnDeleteIndex,_fnReOrderIndex,_fnColumnOrdering,_fnLog,_fnClearTable,_fnSaveState,_fnLoadState,_fnCreateCookie,_fnReadCookie,_fnDetectHeader,_fnGetUniqueThs,_fnScrollBarWidth,_fnApplyToChildren,_fnMap,_fnGetRowData,_fnGetCellData,_fnSetCellData,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnApplyColumnDefs,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnJsonString,_fnRender,_fnNodeToColumnIndex*/ - -(/** @lends */function($, window, document, undefined) { - /** - * DataTables is a plug-in for the jQuery Javascript library. It is a - * highly flexible tool, based upon the foundations of progressive - * enhancement, which will add advanced interaction controls to any - * HTML table. For a full list of features please refer to - * DataTables.net. - * - * Note that the DataTable object is not a global variable but is - * aliased to jQuery.fn.DataTable and jQuery.fn.dataTable through which - * it may be accessed. - * - * @class - * @param {object} [oInit={}] Configuration object for DataTables. Options - * are defined by {@link DataTable.defaults} - * @requires jQuery 1.3+ - * - * @example - * // Basic initialisation - * $(document).ready( function { - * $('#example').dataTable(); - * } ); - * - * @example - * // Initialisation with configuration options - in this case, disable - * // pagination and sorting. - * $(document).ready( function { - * $('#example').dataTable( { - * "bPaginate": false, - * "bSort": false - * } ); - * } ); - */ - var DataTable = function( oInit ) - { - - - /** - * Add a column to the list used for the table with default values - * @param {object} oSettings dataTables settings object - * @param {node} nTh The th element for this column - * @memberof DataTable#oApi - */ - function _fnAddColumn( oSettings, nTh ) - { - var oDefaults = DataTable.defaults.columns; - var iCol = oSettings.aoColumns.length; - var oCol = $.extend( {}, DataTable.models.oColumn, oDefaults, { - "sSortingClass": oSettings.oClasses.sSortable, - "sSortingClassJUI": oSettings.oClasses.sSortJUI, - "nTh": nTh ? nTh : document.createElement('th'), - "sTitle": oDefaults.sTitle ? oDefaults.sTitle : nTh ? nTh.innerHTML : '', - "aDataSort": oDefaults.aDataSort ? oDefaults.aDataSort : [iCol], - "mDataProp": oDefaults.mDataProp ? oDefaults.oDefaults : iCol - } ); - oSettings.aoColumns.push( oCol ); - - /* Add a column specific filter */ - if ( oSettings.aoPreSearchCols[ iCol ] === undefined || oSettings.aoPreSearchCols[ iCol ] === null ) - { - oSettings.aoPreSearchCols[ iCol ] = $.extend( {}, DataTable.models.oSearch ); - } - else - { - var oPre = oSettings.aoPreSearchCols[ iCol ]; - - /* Don't require that the user must specify bRegex, bSmart or bCaseInsensitive */ - if ( oPre.bRegex === undefined ) - { - oPre.bRegex = true; - } - - if ( oPre.bSmart === undefined ) - { - oPre.bSmart = true; - } - - if ( oPre.bCaseInsensitive === undefined ) - { - oPre.bCaseInsensitive = true; - } - } - - /* Use the column options function to initialise classes etc */ - _fnColumnOptions( oSettings, iCol, null ); - } - - - /** - * Apply options for a column - * @param {object} oSettings dataTables settings object - * @param {int} iCol column index to consider - * @param {object} oOptions object with sType, bVisible and bSearchable - * @memberof DataTable#oApi - */ - function _fnColumnOptions( oSettings, iCol, oOptions ) - { - var oCol = oSettings.aoColumns[ iCol ]; - - /* User specified column options */ - if ( oOptions !== undefined && oOptions !== null ) - { - if ( oOptions.sType !== undefined ) - { - oCol.sType = oOptions.sType; - oCol._bAutoType = false; - } - - $.extend( oCol, oOptions ); - _fnMap( oCol, oOptions, "sWidth", "sWidthOrig" ); - - /* iDataSort to be applied (backwards compatibility), but aDataSort will take - * priority if defined - */ - if ( oOptions.iDataSort !== undefined ) - { - oCol.aDataSort = [ oOptions.iDataSort ]; - } - _fnMap( oCol, oOptions, "aDataSort" ); - } - - /* Cache the data get and set functions for speed */ - oCol.fnGetData = _fnGetObjectDataFn( oCol.mDataProp ); - oCol.fnSetData = _fnSetObjectDataFn( oCol.mDataProp ); - - /* Feature sorting overrides column specific when off */ - if ( !oSettings.oFeatures.bSort ) - { - oCol.bSortable = false; - } - - /* Check that the class assignment is correct for sorting */ - if ( !oCol.bSortable || - ($.inArray('asc', oCol.asSorting) == -1 && $.inArray('desc', oCol.asSorting) == -1) ) - { - oCol.sSortingClass = oSettings.oClasses.sSortableNone; - oCol.sSortingClassJUI = ""; - } - else if ( oCol.bSortable || - ($.inArray('asc', oCol.asSorting) == -1 && $.inArray('desc', oCol.asSorting) == -1) ) - { - oCol.sSortingClass = oSettings.oClasses.sSortable; - oCol.sSortingClassJUI = oSettings.oClasses.sSortJUI; - } - else if ( $.inArray('asc', oCol.asSorting) != -1 && $.inArray('desc', oCol.asSorting) == -1 ) - { - oCol.sSortingClass = oSettings.oClasses.sSortableAsc; - oCol.sSortingClassJUI = oSettings.oClasses.sSortJUIAscAllowed; - } - else if ( $.inArray('asc', oCol.asSorting) == -1 && $.inArray('desc', oCol.asSorting) != -1 ) - { - oCol.sSortingClass = oSettings.oClasses.sSortableDesc; - oCol.sSortingClassJUI = oSettings.oClasses.sSortJUIDescAllowed; - } - } - - - /** - * Adjust the table column widths for new data. Note: you would probably want to - * do a redraw after calling this function! - * @param {object} oSettings dataTables settings object - * @memberof DataTable#oApi - */ - function _fnAdjustColumnSizing ( oSettings ) - { - /* Not interested in doing column width calculation if autowidth is disabled */ - if ( oSettings.oFeatures.bAutoWidth === false ) - { - return false; - } - - _fnCalculateColumnWidths( oSettings ); - for ( var i=0 , iLen=oSettings.aoColumns.length ; i