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:
parent
799eebc9ed
commit
4dd9477bcd
137 changed files with 1424 additions and 1438 deletions
24
dashboard-ui/scripts/aboutPage.js
Normal file
24
dashboard-ui/scripts/aboutPage.js
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue