Centered Status Column icons.

Added mouseover titles to status column icons.
This commit is contained in:
Mark McDowall 2012-02-07 00:24:44 -08:00
parent 7ae751371d
commit 19fbed2c42
2 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@
background-color: #065EFE;
}
.commandsColumn
.commandsColumn, .statusColumn
{
text-align: center;
}

View File

@ -2,20 +2,20 @@
@model NzbDrone.Web.Models.SeriesModel
<tr class="@Model.SeriesId data-row @(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")">
<td>
<td class="statusColumn">
@{if (!Model.Monitored)
{
<img src="../../Content/Images/pause.png" width="24" height="24" alt="Not monitored" />
<img src="../../Content/Images/pause.png" width="24" height="24" alt="Not monitored" title="Paused" />
}
else
{
if (Model.Status == "Ended")
{
<img src="../../Content/Images/stop.png" width="24" height="24" alt="Ended" />
<img src="../../Content/Images/stop.png" width="24" height="24" alt="Ended" title="Ended" />
}
else
{
<img src="../../Content/Images/play.png" width="24" height="24" alt="Continuing" />
<img src="../../Content/Images/play.png" width="24" height="24" alt="Continuing" title="Active" />
}
}
}