jellyfin-web/dashboard-ui/dashboard.html
2013-11-30 13:32:39 -05:00

117 lines
7.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Dashboard</title>
</head>
<body>
<div id="dashboardPage" data-role="page" class="page type-interior adminPage">
<div data-role="content">
<div class="content-primary">
<div class="readOnlyContent">
<div data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 2em;">
<h3>Server Information</h3>
<div>
<p>
Version <span id="appVersionNumber"></span>
</p>
<p id="pUpToDate" style="display: none;">
<img src="css/images/checkmarkgreen.png" style="height: 20px; margin-right: 3px; position: relative; top: 4px;" />
Media Browser Server is up to date
</p>
<div id="pUpdateNow" style="display: none;">
<p><strong>A new version of Media Browser Server is available!</strong></p>
<p id="newVersionNumber"></p>
<div id="btnUpdateApplicationContainer">
<button id="btnUpdateApplication" type="button" data-icon="download" data-theme="b" onclick="DashboardPage.updateApplication();">Update Now</button>
</div>
<div id="btnManualUpdateContainer">
Please shutdown the server and <a href="http://www.mediabrowser3.com/download" target="_blank">update manually.</a>
</div>
</div>
<div id="updateFail" style="color: #cc0000; display: none;">There was an error connecting to the remote Media Browser repository.</div>
<p id="ports"></p>
<div id="pPluginUpdates"></div>
</div>
</div>
<div id="collapsiblePendingInstallations" data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 2em; display: none;">
<h3>Pending Installations</h3>
<p>The following components have been installed or updated:</p>
<div id="pendingInstallations">
</div>
<p>Please restart the server to finish applying updates.</p>
<div class="btnRestartContainer hide">
<button type="button" data-icon="refresh" data-theme="b" onclick="Dashboard.restartServer();">Restart Now</button>
</div>
</div>
<div data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 2em;">
<h3>Active Connections</h3>
<div>
<table class="tblConnections" style="border-collapse: collapse;">
</table>
</div>
</div>
<div id="runningTasksCollapsible" data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 2em; display: none;">
<h3>Running Tasks</h3>
<div id="divRunningTasks">
</div>
<p><a href="scheduledtasks.html">Manage Scheduled Tasks</a></p>
</div>
<div style="margin-top: 2em;">
<div style="display: inline-block;">
<div class="btnRestartContainer hide">
<button id="btnRestartServer" type="button" data-icon="refresh" data-mini="true" data-inline="true" onclick="DashboardPage.restart();">Restart MB Server</button>
</div>
</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: 1em;">
<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>
<p>Server bookmark: <a id="bookmarkUrl" href="#" data-ajax="false" onclick="return !DashboardPage.bookmarkPageIfSupported(this.href);"></a></p>
</div>
</div>
<div data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 1em;">
<h3>System Paths</h3>
<div>
<p><b>Logs:</b> <span id="logPath"></span></p>
<p><b>Images by name:</b> <span id="imagesByNamePath"></span></p>
</div>
</div>
<div style="display: none; margin-top: 4em;" id="contribute">
<h3 style="padding-left: 1em;">Help improve Media Browser</h3>
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="amount" value="10">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="donate@mediabrowser3.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name" value="Media Browser Supporter">
<input type="hidden" name="item_number" value="MBSupporter">
<input type="hidden" name="notify_url" value="http://mb3admin.com/admin/service/services/ppipn.php">
<input type="hidden" name="return" id="paypalReturnUrl" value="#">
<a data-role="button" onclick="$(this).parents('form')[0].submit();">
<img src="css/images/supporter/donatepaypal.png" /></a>
<a href="https://github.com/MediaBrowser/MediaBrowser/wiki" data-role="button" target="_blank">Become a Developer</a>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>