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

mono progress

This commit is contained in:
Luke Pulverenti 2013-09-28 14:16:30 -04:00
parent ad2d047de5
commit 4f61697711
2 changed files with 19 additions and 2 deletions

View file

@ -50,7 +50,7 @@
</div> </div>
</div> </div>
<div data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 2em;"> <div id="runningTasksCollapsible" data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 2em; display: none;">
<h3>Running Tasks</h3> <h3>Running Tasks</h3>
<div id="divRunningTasks"> <div id="divRunningTasks">
</div> </div>
@ -58,7 +58,21 @@
</div> </div>
<div style="margin-top: 2em;"> <div style="margin-top: 2em;">
<button id="btnRestartServer" type="button" data-icon="refresh" data-mini="true" data-inline="true" onclick="DashboardPage.restart();">Restart MB Server</button> <div style="display: inline-block;">
<button id="btnRestartServer" type="button" data-icon="refresh" data-mini="true" data-inline="true" onclick="DashboardPage.restart();">Restart MB Server</button>
</div>
<div style="display: inline-block;">
<button id="btnShutdown" type="button" data-icon="delete" data-mini="true" data-inline="true" onclick="DashboardPage.shutdown();">Shutdown MB Server</button>
</div>
</div>
<div data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 2em;">
<h3>Links</h3>
<div>
<p><a href="http://mediabrowser3.com/community" target="_blank">Community</a></p>
<p><a href="https://github.com/MediaBrowser/MediaBrowser" target="_blank">Github</a></p>
<p><a href="../swagger-ui/index.html" target="_blank">Interactive Api Documentation</a></p>
</div>
</div> </div>
<div style="display: none; margin-top: 4em;" id="contribute"> <div style="display: none; margin-top: 4em;" id="contribute">

View file

@ -264,6 +264,9 @@
if (!dashboardInfo.RunningTasks.length) { if (!dashboardInfo.RunningTasks.length) {
html += '<p>No tasks are currently running.</p>'; html += '<p>No tasks are currently running.</p>';
$('#runningTasksCollapsible', page).hide();
} else {
$('#runningTasksCollapsible', page).show();
} }
for (var i = 0, length = dashboardInfo.RunningTasks.length; i < length; i++) { for (var i = 0, length = dashboardInfo.RunningTasks.length; i < length; i++) {