mirror of https://github.com/Sonarr/Sonarr
Click row to see the details of that episode.
Alternate rows are coloured (along with the details)
This commit is contained in:
parent
d7bc3a3734
commit
a7c90351ac
|
@ -144,3 +144,8 @@ function saveEpisodeIgnore(episodeId, ignored) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Click on row, show details */
|
||||||
|
$('.seriesTable tr').live('click', function() {
|
||||||
|
$(this).next('.detail-view').toggle();
|
||||||
|
});
|
|
@ -75,9 +75,9 @@
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
border-style: inset;
|
border-style: inset;
|
||||||
border-color: #EEEEEE;
|
border-color: #EEEEEE;
|
||||||
background-color: white;
|
|
||||||
padding-left: 7px;
|
padding-left: 7px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.seriesTable td {
|
.seriesTable td {
|
||||||
|
@ -87,6 +87,14 @@
|
||||||
border-color: #EEEEEE;
|
border-color: #EEEEEE;
|
||||||
padding-left: 7px;
|
padding-left: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.detail-view {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Colour alternating rows */
|
||||||
|
.seriesTable tr:nth-child(4n) {background: #E5ECF9}
|
||||||
|
.seriesTable tr:nth-child(4n+1) {background: #E5ECF9}
|
||||||
</style>
|
</style>
|
||||||
@section ActionMenu{
|
@section ActionMenu{
|
||||||
<ul class="sub-menu">
|
<ul class="sub-menu">
|
||||||
|
|
|
@ -29,3 +29,9 @@
|
||||||
@Ajax.ImageActionLink("../../Content/Images/Rename.png", new { Alt = "Rename", Title = "Rename episode", @class = "renameImage" }, "Rename", "Episode", new { EpisodeFileId = Model.EpisodeFileId }, null, null)
|
@Ajax.ImageActionLink("../../Content/Images/Rename.png", new { Alt = "Rename", Title = "Rename episode", @class = "renameImage" }, "Rename", "Episode", new { EpisodeFileId = Model.EpisodeFileId }, null, null)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class="detail-view">
|
||||||
|
<td colspan="5">
|
||||||
|
@Model.Overview <br />
|
||||||
|
<b>@Model.Path</b>
|
||||||
|
</td>
|
||||||
|
</tr>
|
Loading…
Reference in New Issue