Finished Series Index Table formatting

This commit is contained in:
Mark McDowall 2013-04-22 23:06:55 -07:00
commit 4cc4e8133e
6 changed files with 95 additions and 48 deletions

View 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>

View file

@ -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'

View 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>