mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add tvdb and games db to xml savers
This commit is contained in:
parent
8bcb6d55a4
commit
56532b90c0
5 changed files with 11 additions and 8 deletions
|
@ -637,10 +637,9 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
|
|||
};
|
||||
|
||||
/**
|
||||
* Instructs the server to perform a pending kernel reload or app restart.
|
||||
* If a restart is not currently required, nothing will happen.
|
||||
* Instructs the server to perform a restart.
|
||||
*/
|
||||
self.performPendingRestart = function () {
|
||||
self.restartServer = function () {
|
||||
|
||||
var url = self.getUrl("System/Restart");
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
</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>
|
||||
<p style="display: none;">Program data path: <span id="programDataPath"></span></p>
|
||||
<p>Program data path: <span id="programDataPath"></span></p>
|
||||
<p>Bookmark url: <a id="bookmarkUrl" href="#" data-ajax="false" onclick="return !DashboardPage.bookmarkPageIfSupported(this.href);"></a></p>
|
||||
<div id="pPluginUpdates"></div>
|
||||
</div>
|
||||
|
@ -55,7 +55,9 @@
|
|||
<p><a href="scheduledtasks.html">Manage Scheduled Tasks</a></p>
|
||||
</div>
|
||||
|
||||
<div style="display: none; margin-top: 100px;" id="contribute">
|
||||
<div style="margin-top: 2em;"><button type="button" data-icon="refresh" data-mini="true" data-inline="true" onclick="$(this).button('disable');Dashboard.restartServer();">Restart server</button></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">
|
||||
|
|
|
@ -1838,7 +1838,9 @@
|
|||
|
||||
html += '</a>';
|
||||
|
||||
if (user.Configuration.IsAdministrator) {
|
||||
html += '<a class="viewMenuLink" href="dashboard.html" title="Dashboard"><img src="css/images/toolswhite.png" alt="Dashboard" /></a>';
|
||||
}
|
||||
|
||||
html += '</div>';
|
||||
|
||||
|
|
|
@ -406,7 +406,7 @@ var Dashboard = {
|
|||
Dashboard.suppressAjaxErrors = true;
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.performPendingRestart().done(function () {
|
||||
ApiClient.restartServer().done(function () {
|
||||
|
||||
setTimeout(function () {
|
||||
Dashboard.reloadPageWhenServerAvailable();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.144" targetFramework="net45" />
|
||||
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.145" targetFramework="net45" />
|
||||
<package id="ServiceStack.Common" version="3.9.54" targetFramework="net45" />
|
||||
<package id="ServiceStack.Text" version="3.9.54" targetFramework="net45" />
|
||||
</packages>
|
Loading…
Add table
Add a link
Reference in a new issue