Radarr/UI/SeasonPass/SeriesLayoutTemplate.html

72 lines
2.7 KiB
HTML

<div class="seasonpass-series">
<div class="row">
<div class="span11">
<i class="icon-chevron-right x-expander expander pull-left"/>
<span class="title span5">
<a href="{{route}}">
{{title}}
</a>
</span>
<span class="span3">
<select class="x-season-select season-select">
<option value="-1">Select season...</option>
{{#each seasons}}
{{#if_eq seasonNumber compare="0"}}
<option value="{{seasonNumber}}">Specials</option>
{{else}}
<option value="{{seasonNumber}}">Season {{seasonNumber}}</option>
{{/if_eq}}
{{/each}}
</select>
<span class="help-inline">
<i class="icon-question-sign" title="Selecting a season will unmonitor all previous seasons"/>
</span>
</span>
<button class="btn x-latest">Latest</button>
<span class="help-inline">
<i class="icon-question-sign" title="Will quickly select the latest season as first monitored"/>
</span>
</div>
</div>
<div class="row">
<div class="span11">
<div class="x-season-grid season-grid">
<table class="table table-striped">
<thead>
<tr>
<th></th>
<th class="sortable">Season</th>
</tr>
</thead>
<tbody>
{{#each seasons}}
<tr>
<td class="toggle-cell x-monitored" data-season-number="{{seasonNumber}}">
{{#if monitored}}
<i class="icon-nd-monitored"></i>
{{else}}
<i class="icon-nd-unmonitored"></i>
{{/if}}
</td>
<td>
{{#if_eq seasonNumber compare="0"}}
Specials
{{else}}
Season {{seasonNumber}}
{{/if_eq}}
</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
</div>
</div>
</div>