UI Cleanup

This commit is contained in:
kay.one 2011-11-25 23:53:16 -08:00
parent 60814fde7b
commit da996c97c2
7 changed files with 21 additions and 19 deletions

View File

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

View File

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

View File

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

View File

@ -41,7 +41,7 @@ namespace NzbDrone.Web.Controllers
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
_jobProvider.QueueJob(typeof(DiskScanJob), seriesId);

View File

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

View File

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

View File

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