mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added dashboard info page
This commit is contained in:
parent
0073dc3476
commit
1fa7dcdb2b
8 changed files with 125 additions and 63 deletions
|
@ -347,15 +347,6 @@
|
|||
$('#ports', page).html('Running on ports <b>' + port + '</b> and <b>' + dashboardInfo.SystemInfo.WebSocketPortNumber + '</b>');
|
||||
}
|
||||
|
||||
$('#logPath', page).html(dashboardInfo.SystemInfo.LogPath);
|
||||
$('#imagesByNamePath', page).html(dashboardInfo.SystemInfo.ItemsByNamePath);
|
||||
|
||||
var host = ApiClient.serverHostName();
|
||||
|
||||
var url = "http://" + host + ":" + port + "/mediabrowser";
|
||||
|
||||
$('#bookmarkUrl', page).html(url).attr("href", url);
|
||||
|
||||
if (dashboardInfo.RunningTasks.filter(function (task) {
|
||||
|
||||
return task.Id == dashboardInfo.ApplicationUpdateTaskId;
|
||||
|
@ -373,15 +364,6 @@
|
|||
$('.btnRestartContainer', page).addClass('hide');
|
||||
}
|
||||
|
||||
if (dashboardInfo.SystemInfo.WanAddress) {
|
||||
|
||||
var externalUrl = dashboardInfo.SystemInfo.WanAddress + "/mediabrowser";
|
||||
|
||||
$('.externalUrl', page).html('External url: <a href="' + externalUrl + '" target="_blank">' + externalUrl + '</a>').show().trigger('create');
|
||||
} else {
|
||||
$('.externalUrl', page).hide();
|
||||
}
|
||||
|
||||
DashboardPage.renderApplicationUpdateInfo(dashboardInfo);
|
||||
DashboardPage.renderPluginUpdateInfo(dashboardInfo);
|
||||
DashboardPage.renderPendingInstallations(dashboardInfo.SystemInfo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue