pull/6/head
kay.one 13 years ago
parent 60814fde7b
commit da996c97c2

@ -4,9 +4,6 @@
height: 18px; height: 18px;
padding: 1px; padding: 1px;
margin: 2px; margin: 2px;
border-width: 1px;
border-style: dashed;
border-color: lightgray;
} }
.searchImage:hover, .renameImage:hover, .ignoreEpisode:hover, .ignoreEpisodesMaster:hover .searchImage:hover, .renameImage:hover, .ignoreEpisode:hover, .ignoreEpisodesMaster:hover

@ -147,9 +147,12 @@ hr
/* Footer */ /* Footer */
#footer #footer
{ {
margin-top: 5px;
margin-bottom: 30px;
padding: 1px 1px 1px 1px; padding: 1px 1px 1px 1px;
color: #065EFE; color: #065EFE;
text-align: center; text-align: center;
text-decoration: none;
} }

@ -21,3 +21,11 @@
{ {
line-height: 25px; line-height: 25px;
} }
/*MiniProfiler*/
.profiler-button
{
opacity: 0.4;
}

@ -41,7 +41,7 @@ namespace NzbDrone.Web.Controllers
return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet }; return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet };
} }
public JsonResult SyncEpisodesOnDisk(int seriesId) public JsonResult ScanDisk(int seriesId)
{ {
//Syncs the episodes on disk for the specified series //Syncs the episodes on disk for the specified series
_jobProvider.QueueJob(typeof(DiskScanJob), seriesId); _jobProvider.QueueJob(typeof(DiskScanJob), seriesId);

@ -33,7 +33,7 @@ namespace NzbDrone.Web.Controllers
return new JsonResult { Data = "ok" }; return new JsonResult { Data = "ok" };
} }
public JsonResult SearchSeries(int seriesId) public JsonResult BacklogSeries(int seriesId)
{ {
//Syncs the episodes on disk for the specified series //Syncs the episodes on disk for the specified series
_jobProvider.QueueJob(typeof(SeriesSearchJob), seriesId); _jobProvider.QueueJob(typeof(SeriesSearchJob), seriesId);
@ -55,7 +55,7 @@ namespace NzbDrone.Web.Controllers
return new JsonResult { Data = "ok" }; return new JsonResult { Data = "ok" };
} }
public JsonResult RenameSeries(int seriesId) public JsonResult RenameEpisodes(int seriesId)
{ {
//Syncs the episodes on disk for the specified series //Syncs the episodes on disk for the specified series
_jobProvider.QueueJob(typeof(RenameSeriesJob), seriesId); _jobProvider.QueueJob(typeof(RenameSeriesJob), seriesId);

@ -11,7 +11,6 @@
.seasonToggleTopGroup .seasonToggleTopGroup
{ {
overflow: hidden; overflow: hidden;
width: 50%;
} }
.seasonToggleTop .seasonToggleTop
@ -45,9 +44,6 @@
height: 18px; height: 18px;
padding: 1px; padding: 1px;
margin: 2px; margin: 2px;
border-width: 1px;
border-style: dashed;
border-color: lightgray;
} }
.searchImage:hover, .renameImage:hover, .ignoreEpisode:hover, .ignoreEpisodesMaster:hover .searchImage:hover, .renameImage:hover, .ignoreEpisode:hover, .ignoreEpisodesMaster:hover
@ -69,11 +65,10 @@
@section ActionMenu{ @section ActionMenu{
<ul class="sub-menu"> <ul class="sub-menu">
<li>@Html.ActionLink("Back to Series List", "Index", "Series")</li> <li>@Ajax.ActionLink("Scan Disk", "ScanDisk", "Command", new { seriesId = Model.SeriesId }, null)</li>
<li>@Ajax.ActionLink("Scan For Episodes on Disk", "SyncEpisodesOnDisk", "Command", new { seriesId = Model.SeriesId }, null)</li>
<li>@Ajax.ActionLink("Update Info", "UpdateInfo", "Command", new { seriesId = Model.SeriesId }, null)</li> <li>@Ajax.ActionLink("Update Info", "UpdateInfo", "Command", new { seriesId = Model.SeriesId }, null)</li>
<li>@Ajax.ActionLink("Search for Series", "SearchSeries", "Episode", new { seriesId = Model.SeriesId }, null)</li> <li>@Ajax.ActionLink("Search for missing episodes", "BacklogSeries", "Episode", new { seriesId = Model.SeriesId }, null)</li>
<li>@Ajax.ActionLink("Rename Series", "RenameSeries", "Episode", new { seriesId = Model.SeriesId }, null)</li> <li>@Ajax.ActionLink("Rename Episodes", "RenameEpisodes", "Episode", new { seriesId = Model.SeriesId }, null)</li>
</ul> </ul>
} }
@section MainContent{ @section MainContent{
@ -105,9 +100,9 @@
var seriesId = @Model.SeriesId; var seriesId = @Model.SeriesId;
var season = s; var season = s;
<h3> <h2>
@(season == 0 ? "Specials" : "Season " + season) @(season == 0 ? "Specials" : "Season " + season)
</h3> </h2>
<div class="grid-container"> <div class="grid-container">
@{ @{

@ -1,5 +1,4 @@
@using NzbDrone.Web.Models @using NzbDrone.Web.Models
@model FooterModel @model FooterModel
<div> @Html.ActionLink(String.Format("NzbDrone {0} {1:MMM d, yyyy}", Model.Version, Model.BuildTime), "Index", "Update")
NzbDrone @Model.Version (@Model.BuildTime.ToString("MMM d, yyyy"))
</div>

Loading…
Cancel
Save