NzbDrone grids now have thead and tbody properly set.

pull/6/head
Mark McDowall 13 years ago
parent 19fbed2c42
commit e42f0222dc

@ -80,6 +80,7 @@
}
<table class="seriesTable">
<colgroup>
<col style="width: 10px"/>
<col style="width:auto" />
@ -89,8 +90,10 @@
<col style="width:100px" />
<col style="width:80px"/>
</colgroup>
<thead>
<tr>
<th>Status</>
<th>Status</th>
<th>Title</th>
<th>Seasons</th>
<th>Quality</th>
@ -102,7 +105,8 @@
</th>
</tr>
</thead>
<tbody>
@for (int i = 0; i < Model.Count; i++)
{
var series = Model[i];
@ -117,6 +121,7 @@
Html.RenderPartial("Series", series, new ViewDataDictionary { new KeyValuePair<string, object>("AltRow", true) });
}
}
</tbody>
</table>
<div id="seriesEditor" title="Edit Series"></div>

@ -8,11 +8,12 @@
<table class="seriesTable">
<colgroup>
<col style="width:40px"/>
<col/>
<col style="width:auto"/>
<col style="width:100px" />
<col style="width:100px" />
<col style="width:110px" />
</colgroup>
<thead>
<tr>
<th>#</th>
<th>Title</th>
@ -27,6 +28,8 @@
@Ajax.ImageActionLink("../../Content/Images/Rename.png", new { Alt = "Rename", Title = "Rename all episodes in this season", @class = "renameImage renameImageMaster" }, "RenameSeason", "Episode", new { SeriesId = Model.SeriesId, SeasonNumber = Model.SeasonNumber }, null, null)
</th>
</tr>
</thead>
<tbody>
@for (int i = 0; i < Model.Episodes.Count; i++)
{
var episode = Model.Episodes[i];
@ -41,4 +44,5 @@
Html.RenderPartial("Episode", episode, new ViewDataDictionary { new KeyValuePair<string, object>("AltRow", true) });
}
}
</tbody>
</table>

@ -21,6 +21,7 @@
<col style="width:160px" />
<col style="width:100px" />
</colgroup>
<thead>
<tr>
<th>Series Title</th>
<th>Season #</th>
@ -33,6 +34,8 @@
Status
</th>
</tr>
</thead>
<tbody>
<tr class="title-row">
<td colspan="6">
Yesterday
@ -112,6 +115,7 @@
Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair<string, object>("AltRow", true) });
}
}
</tbody>
</table>
@section Scripts{

Loading…
Cancel
Save