mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Finished Series Index Table formatting
This commit is contained in:
parent
d706a35ab7
commit
4cc4e8133e
6 changed files with 95 additions and 48 deletions
5
UI/Series/EpisodeProgressTemplate.html
Normal file
5
UI/Series/EpisodeProgressTemplate.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<div class="progress">
|
||||
<span class="progressbar-back-text">{{episodeFileCount}} / {{episodeCount}}</span>
|
||||
|
||||
<div class="bar" style="width:{{percentOfEpisodes}}%"><span class="progressbar-front-text">{{episodeFileCount}} / {{episodeCount}}</span></div>
|
||||
</div>
|
|
@ -58,27 +58,27 @@ define([
|
|||
name: 'nextAiring',
|
||||
label: 'Next Airing',
|
||||
editable: false,
|
||||
cell: 'datetime',
|
||||
formatter: new Backgrid.AirDateFormatter()
|
||||
cell: 'airDate'
|
||||
},
|
||||
{
|
||||
name: 'episodes',
|
||||
label: 'Episodes',
|
||||
editable: false,
|
||||
sortable: false,
|
||||
cell: 'string'
|
||||
cell: 'episodeProgress'
|
||||
},
|
||||
{
|
||||
name: 'edit',
|
||||
label: '',
|
||||
editable: false,
|
||||
sortable: false,
|
||||
cell: 'string'
|
||||
cell: 'controlsColumn'
|
||||
}
|
||||
];
|
||||
|
||||
this.series.show(new Backgrid.Grid(
|
||||
{
|
||||
row: Backgrid.SeriesIndexTableRow,
|
||||
columns : columns,
|
||||
collection : this.seriesCollection,
|
||||
className: 'table table-hover'
|
||||
|
|
2
UI/Series/Index/Table/ControlsColumnTemplate.html
Normal file
2
UI/Series/Index/Table/ControlsColumnTemplate.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<i class="icon-cog x-edit" title="Edit Series"></i>
|
||||
<i class="icon-remove x-remove" title="Delete Series"></i>
|
Loading…
Add table
Add a link
Reference in a new issue