1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

copy dashboard to the output folder and load from the file system, instead of using embedded resources

This commit is contained in:
Luke Pulverenti 2013-03-23 00:04:36 -04:00
parent 799eebc9ed
commit 4dd9477bcd
137 changed files with 1424 additions and 1438 deletions

View file

@ -0,0 +1,24 @@
var AboutPage = {
onPageShow: function () {
AboutPage.pollForInfo();
},
pollForInfo: function () {
ApiClient.getSystemInfo().done(AboutPage.renderInfo);
},
renderInfo: function (info) {
AboutPage.renderSystemInfo(info);
},
renderSystemInfo: function (info) {
var page = $.mobile.activePage;
$('#appVersionNumber', page).html(info.Version);
},
};
$(document).on('pageshow', "#aboutPage", AboutPage.onPageShow);