mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
CDN Updates. packaging updates
This commit is contained in:
parent
e2c7371b4f
commit
df0637d3d1
@ -13,7 +13,7 @@ public UpdateSceneMappingsJob(SceneMappingProvider sceneNameMappingProvider)
|
|||||||
|
|
||||||
public UpdateSceneMappingsJob()
|
public UpdateSceneMappingsJob()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Name
|
public string Name
|
||||||
@ -28,12 +28,7 @@ public int DefaultInterval
|
|||||||
|
|
||||||
public virtual void Start(ProgressNotification notification, int targetId)
|
public virtual void Start(ProgressNotification notification, int targetId)
|
||||||
{
|
{
|
||||||
notification.CurrentMessage = "Updating Scene Mappings";
|
_sceneNameMappingProvider.UpdateMappings();
|
||||||
if (_sceneNameMappingProvider.UpdateMappings())
|
|
||||||
notification.CurrentMessage = "Scene Mappings Completed";
|
|
||||||
|
|
||||||
else
|
|
||||||
notification.CurrentMessage = "Scene Mappings Failed";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,6 +2,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
<head runat="server">
|
<head runat="server">
|
||||||
|
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
|
||||||
<link rel="SHORTCUT ICON" href="../../favicon.ico" />
|
<link rel="SHORTCUT ICON" href="../../favicon.ico" />
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||||
<title>NZBDrone</title>
|
<title>NZBDrone</title>
|
||||||
@ -13,9 +14,9 @@
|
|||||||
<link href="../../Content/jquery-ui.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/jquery-ui.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="../../Content/jquery-ui.custom.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/jquery-ui.custom.css" rel="stylesheet" type="text/css" />
|
||||||
@RenderSection("HeaderContent", required: false)
|
@RenderSection("HeaderContent", required: false)
|
||||||
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
|
</head>
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="centered">
|
<div id="centered">
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<ul>
|
<ul>
|
||||||
@ -43,16 +44,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
@RenderSection("Scripts", required: false)
|
@RenderSection("Scripts", required: false)
|
||||||
@{Html.Telerik().ScriptRegistrar().Scripts(
|
@{Html.Telerik().ScriptRegistrar().jQuery(true).Scripts(
|
||||||
c => //c.Add("jquery-1.6.1.min.js")
|
c => c.AddGroup("CDN", group => group
|
||||||
c.Add("jquery-ui-1.8.8.min.js")
|
.Add("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js")
|
||||||
|
.Add("http://ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js"))
|
||||||
|
|
||||||
|
.AddGroup("3rdParty", group => group
|
||||||
.Add("jquery.form.js")
|
.Add("jquery.form.js")
|
||||||
.Add("jquery.jgrowl.js")
|
.Add("jquery.jgrowl.js")
|
||||||
.Add("Notification.js")
|
|
||||||
.Add("jquery-tgc-countdown-1.0.js")
|
.Add("jquery-tgc-countdown-1.0.js")
|
||||||
.Add("MicrosoftAjax.js")
|
.Add("MicrosoftMvcValidation.js").Combined(true).Compress(true))
|
||||||
.Add("MicrosoftMvcValidation.js")
|
|
||||||
.Add("gridLoad.js")
|
.AddGroup("NzbDrone", group => group
|
||||||
.Add("episodeSearch.js"))
|
.Add("Notification.js")
|
||||||
.Render();}
|
.Add("gridLoad.js")
|
||||||
|
.Add("episodeSearch.js"))
|
||||||
|
|
||||||
|
).Render();}
|
||||||
</html>
|
</html>
|
||||||
|
@ -15,6 +15,7 @@ xcopy NzbDrone.Web\Views\*.* %TARGET%\NzbDrone.Web\Views\ /E /V /I /Y
|
|||||||
|
|
||||||
del %TARGET%\NzbDrone.Web\bin\*.xml /q
|
del %TARGET%\NzbDrone.Web\bin\*.xml /q
|
||||||
del %TARGET%\NzbDrone.Web\bin\ninject*.pdb /q
|
del %TARGET%\NzbDrone.Web\bin\ninject*.pdb /q
|
||||||
|
del %TARGET%\NzbDrone.Web\bin\Mvc*.pdb /q
|
||||||
|
|
||||||
xcopy NzbDrone.Web\log.config %TARGET%\NzbDrone.Web\
|
xcopy NzbDrone.Web\log.config %TARGET%\NzbDrone.Web\
|
||||||
xcopy NzbDrone.Web\Global.asax %TARGET%\NzbDrone.Web\
|
xcopy NzbDrone.Web\Global.asax %TARGET%\NzbDrone.Web\
|
||||||
|
Loading…
Reference in New Issue
Block a user