diff --git a/dashboard-ui/scripts/tvshows.js b/dashboard-ui/scripts/tvshows.js index 5f282702bb..03152e8b1b 100644 --- a/dashboard-ui/scripts/tvshows.js +++ b/dashboard-ui/scripts/tvshows.js @@ -1 +1,157 @@ - \ No newline at end of file +(function ($, document) { + + // The base query options + var query = { + + SortBy: "SortName", + SortOrder: "Ascending", + IncludeItemTypes: "Episode", + Recursive: true, + Fields: "PrimaryImageAspectRatio,SeriesInfo" + }; + + function getTableHtml(items) { + + var html = '
'; + html += ' | Name | '; + html += 'Year | '; + html += 'Official Rating | '; + html += 'Runtime | '; + html += 'Community Rating | '; + html += '
---|