mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
update translations
This commit is contained in:
parent
6124369679
commit
5f578574d7
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<title>${PluginsTitle}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="addPluginPage" data-role="page" class="page type-interior pluginConfigurationPage">
|
||||
@ -11,8 +11,11 @@
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="plugins.html" data-role="button">${TabMyPlugins}</a>
|
||||
<a href="plugincatalog.html" data-role="button" class="ui-btn-active">${TabCatalog}</a>
|
||||
<a href="channelsettings.html" data-role="button">${TabChannels}</a>
|
||||
</div>
|
||||
<form class="addPluginForm">
|
||||
|
||||
<h2 class="pluginName"></h2>
|
||||
<p id="tagline" style="font-style: italic;"></p>
|
||||
<p id="pPreviewImage" style="text-align: center; margin: 2em 0;"></p>
|
||||
|
||||
@ -40,9 +43,11 @@
|
||||
</p>
|
||||
<p id="regInfo">
|
||||
</p>
|
||||
<p class="supporterDescription">This is a <a data-rel="popup" href="#supporterPlugins">supporter-only</a> plugin.<br />
|
||||
<p class="supporterDescription">
|
||||
This is a <a data-rel="popup" href="#supporterPlugins">supporter-only</a> plugin.<br />
|
||||
<br />
|
||||
It will require a <a href="supporter.html">supporter key</a> in order to register after the <strong>14-day free trial</strong>.</p>
|
||||
It will require a <a href="supporter.html">supporter key</a> in order to register after the <strong>14-day free trial</strong>.
|
||||
</p>
|
||||
<p class="premiumDescription">
|
||||
This is a <a data-rel="popup" href="#premiumPlugins">premium</a> plugin.<br />
|
||||
<br />
|
||||
|
@ -14,7 +14,6 @@
|
||||
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
|
||||
<a href="advancedpaths.html" data-role="button">${TabPaths}</a>
|
||||
<a href="appsplayback.html" data-role="button">${TabResume}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabServer}</a>
|
||||
<a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
|
||||
</div>
|
||||
<form id="advancedConfigurationForm">
|
||||
|
@ -14,7 +14,6 @@
|
||||
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabPaths}</a>
|
||||
<a href="appsplayback.html" data-role="button">${TabResume}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabServer}</a>
|
||||
<a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
|
||||
</div>
|
||||
<form class="advancedPathsForm">
|
||||
|
@ -1,21 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleAdvanced}</title>
|
||||
<title>${TitleServer}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="advancedServerSettingsPage" data-role="page" class="page type-interior advancedConfigurationPage">
|
||||
<div id="advancedServerSettingsPage" data-role="page" class="page type-interior dashboardHomePage">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="advanced.html" data-role="button">${TabGeneral}</a>
|
||||
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
|
||||
<a href="advancedpaths.html" data-role="button">${TabPaths}</a>
|
||||
<a href="appsplayback.html" data-role="button">${TabResume}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabServer}</a>
|
||||
<a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
|
||||
<a href="dashboard.html" data-role="button">${TabDashboard}</a>
|
||||
<a href="dashboardgeneral.html" data-role="button">${TabGeneral}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabAdvanced}</a>
|
||||
<a href="serversecurity.html" data-role="button">${TabSecurity}</a>
|
||||
</div>
|
||||
<form class="advancedServerSettingsForm">
|
||||
|
||||
|
@ -13,8 +13,7 @@
|
||||
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
|
||||
<a href="advancedpaths.html" data-role="button">${TabPaths}</a>
|
||||
<a href="#" class="ui-btn-active" data-role="button">${TabResume}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabServer}</a>
|
||||
<a href="appsplayback.html" data-role="button">${TabTranscoding}</a>
|
||||
<a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
|
||||
</div>
|
||||
<form class="appsPlaybackForm">
|
||||
|
||||
|
@ -1,56 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleDashboard}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="dashboardBrandingPage" data-role="page" class="page type-interior dashboardHomePage">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="dashboard.html" data-role="button">${TabHome}</a>
|
||||
<a href="dashboardgeneral.html" data-role="button">${TabGeneral}</a>
|
||||
<a href="dashboardinfopage.html" data-role="button">${TabInfo}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabBranding}</a>
|
||||
</div>
|
||||
|
||||
<form class="dashboardBrandingForm">
|
||||
|
||||
<p>${HeaderBrandingHelp}</p>
|
||||
<br />
|
||||
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="txtLoginDisclaimer">${LabelLoginDisclaimer}</label>
|
||||
<input id="txtLoginDisclaimer" data-mini="true" />
|
||||
<div class="fieldDescription">${LabelLoginDisclaimerHelp}</div>
|
||||
</li>
|
||||
</ul>
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete" data-mini="true">
|
||||
${ButtonCancel}
|
||||
</button>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$('.dashboardBrandingForm')
|
||||
.off('submit', BrandingPage.onSubmit)
|
||||
.on('submit', BrandingPage.onSubmit);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,13 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleChannels}</title>
|
||||
<title>${PluginsTitle}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="channelSettingsPage" data-role="page" class="page type-interior channelSettingsPage">
|
||||
<div id="channelSettingsPage" data-role="page" class="page type-interior pluginConfigurationPage">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="plugins.html" data-role="button">${TabMyPlugins}</a>
|
||||
<a href="plugincatalog.html" data-role="button">${TabCatalog}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabChannels}</a>
|
||||
</div>
|
||||
|
||||
<form class="channelSettingsForm">
|
||||
<p class="noChannelsHeader" style="display: none;">${ChannelSettingsFormHelp}</p>
|
||||
<br />
|
||||
|
@ -55,7 +55,6 @@
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
margin: 0 auto;
|
||||
max-width: 650px;
|
||||
}
|
||||
|
||||
.ehsContent td {
|
||||
@ -63,10 +62,6 @@
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
.squareEhsContent {
|
||||
max-width: 750px;
|
||||
}
|
||||
|
||||
.homePageSection + .homePageSection {
|
||||
margin-top: 1em;
|
||||
}
|
||||
@ -85,55 +80,55 @@
|
||||
@media all and (min-width: 900px) {
|
||||
|
||||
.ehsContent {
|
||||
max-width: 880px;
|
||||
width: 880px;
|
||||
}
|
||||
|
||||
.squareEhsContent {
|
||||
max-width: 750px;
|
||||
width: 750px;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 1000px) {
|
||||
|
||||
.ehsContent {
|
||||
max-width: 905px;
|
||||
width: 905px;
|
||||
}
|
||||
|
||||
.squareEhsContent {
|
||||
max-width: 900px;
|
||||
width: 900px;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 1200px) {
|
||||
|
||||
.ehsContent {
|
||||
max-width: 925px;
|
||||
width: 925px;
|
||||
}
|
||||
|
||||
.squareEhsContent {
|
||||
max-width: 900px;
|
||||
width: 900px;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 1400px) {
|
||||
|
||||
.ehsContent {
|
||||
max-width: 1240px;
|
||||
width: 1080px;
|
||||
}
|
||||
|
||||
.squareEhsContent {
|
||||
max-width: 1240px;
|
||||
width: 1220px;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 1600px) {
|
||||
|
||||
.homeEhsContent {
|
||||
max-width: 1540px;
|
||||
width: 1440px;
|
||||
}
|
||||
|
||||
.squareEhsContent {
|
||||
max-width: 1420px;
|
||||
width: 1420px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -184,9 +179,9 @@
|
||||
}
|
||||
|
||||
.galleryImageContainer:hover {
|
||||
-moz-box-shadow: 0 0 20px 3px #38c;
|
||||
-webkit-box-shadow: 0 0 20px 3px #38c;
|
||||
box-shadow: 0 0 20px 3px #38c;
|
||||
-moz-box-shadow: 0 0 0 5px #38c;
|
||||
-webkit-box-shadow: 0 0 0 5px #38c;
|
||||
box-shadow: 0 0 0 5px #38c;
|
||||
}
|
||||
|
||||
.galleryImage {
|
||||
@ -376,9 +371,9 @@ a.itemTag:hover {
|
||||
|
||||
.itemBackdrop {
|
||||
background-size: cover;
|
||||
background-position: center 15%;
|
||||
background-position: center 13%;
|
||||
background-repeat: no-repeat;
|
||||
height: 570px;
|
||||
height: 600px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@ -518,26 +513,23 @@ a.itemTag:hover {
|
||||
|
||||
.detailSectionHeader {
|
||||
background-clip: border-box;
|
||||
background-color: rgb(20, 20, 20);
|
||||
border-bottom-color: rgb(31, 31, 31);
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 1px;
|
||||
border-left-color: rgb(31, 31, 31);
|
||||
border-left-style: solid;
|
||||
border-left-width: 1px;
|
||||
border-right-color: rgb(31, 31, 31);
|
||||
border-right-style: solid;
|
||||
border-right-width: 1px;
|
||||
border-top-color: rgb(31, 31, 31);
|
||||
border-top-style: solid;
|
||||
border-top-width: 1px;
|
||||
background-color: #141414;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
padding: .7em 0 .7em 1em;
|
||||
padding: .75em 0 .75em 1em;
|
||||
border-radius: 4px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.detailSectionHeaderButton {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 7px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.lblDetailTab {
|
||||
@ -700,21 +692,6 @@ a.itemTag:hover {
|
||||
|
||||
@media all and (min-width: 1000px) {
|
||||
|
||||
.detailPageContent {
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
.primaryDetailPageContent {
|
||||
max-width: 850px;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 1200px) {
|
||||
|
||||
.detailPageContent {
|
||||
max-width: 930px;
|
||||
}
|
||||
|
||||
.primaryDetailPageContent {
|
||||
max-width: 850px;
|
||||
}
|
||||
|
@ -197,9 +197,9 @@
|
||||
}
|
||||
|
||||
.remoteImage:hover, .searchImageContainer:hover {
|
||||
-moz-box-shadow: 0 0 12px 7px #38c;
|
||||
-webkit-box-shadow: 0 0 12px 7px #38c;
|
||||
box-shadow: 0 0 12px 7px #38c;
|
||||
-moz-box-shadow: 0 0 0 5px #38c;
|
||||
-webkit-box-shadow: 0 0 0 5px #38c;
|
||||
box-shadow: 0 0 0 5px #38c;
|
||||
}
|
||||
|
||||
.tblLibraryReport img {
|
||||
|
@ -51,9 +51,9 @@
|
||||
}
|
||||
|
||||
.posterItem:hover .posterItemImage {
|
||||
-moz-box-shadow: 0 0 12px 7px #38c;
|
||||
-webkit-box-shadow: 0 0 12px 7px #38c;
|
||||
box-shadow: 0 0 12px 7px #38c;
|
||||
-moz-box-shadow: 0 0 0 5px #38c;
|
||||
-webkit-box-shadow: 0 0 0 5px #38c;
|
||||
box-shadow: 0 0 0 5px #38c;
|
||||
}
|
||||
|
||||
.coveredPosterItemImage {
|
||||
@ -456,11 +456,11 @@
|
||||
}
|
||||
|
||||
.backdropPosterItem {
|
||||
width: 298px;
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
.backdropPosterItem .posterItemImage {
|
||||
height: 167.625px;
|
||||
height: 196.875px;
|
||||
}
|
||||
|
||||
.miniBackdropPosterItem {
|
||||
@ -472,20 +472,23 @@
|
||||
}
|
||||
|
||||
.squarePosterItem {
|
||||
width: 160px;
|
||||
width: 192px;
|
||||
}
|
||||
|
||||
.squarePosterItem .posterItemImage {
|
||||
height: 160px;
|
||||
height: 192px;
|
||||
}
|
||||
|
||||
.portraitPosterItem {
|
||||
width: 144px;
|
||||
width: 170px;
|
||||
}
|
||||
|
||||
.portraitPosterItem .posterItemImage {
|
||||
height: 216px;
|
||||
height: 255px;
|
||||
}
|
||||
|
||||
.posterItemText {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -599,9 +599,9 @@ h1 .imageLink {
|
||||
}
|
||||
|
||||
.posterViewItem:hover, .userItem:hover, .tileItem:hover {
|
||||
-moz-box-shadow: 0 0 20px 3px #38c;
|
||||
-webkit-box-shadow: 0 0 20px 3px #38c;
|
||||
box-shadow: 0 0 20px 3px #38c;
|
||||
-moz-box-shadow: 0 0 0 5px #38c;
|
||||
-webkit-box-shadow: 0 0 0 5px #38c;
|
||||
box-shadow: 0 0 0 5px #38c;
|
||||
}
|
||||
|
||||
@media all and (min-width: 750px) {
|
||||
@ -980,9 +980,9 @@ progress {
|
||||
}
|
||||
|
||||
.activeSession:hover {
|
||||
-moz-box-shadow: 0 0 20px 1px #38c;
|
||||
-webkit-box-shadow: 0 0 20px 1px #38c;
|
||||
box-shadow: 0 0 20px 1px #38c;
|
||||
-moz-box-shadow: 0 0 10px 3px #38c;
|
||||
-webkit-box-shadow: 0 0 10px 3px #38c;
|
||||
box-shadow: 0 0 10px 3px #38c;
|
||||
}
|
||||
|
||||
.sessionNowPlayingTime {
|
||||
|
@ -5,7 +5,6 @@
|
||||
font-weight: normal!important;
|
||||
display: block;
|
||||
position: relative;
|
||||
border-radius: .3125em;
|
||||
-webkit-transition: all 500ms ease;
|
||||
-moz-transition: all 500ms ease;
|
||||
-o-transition: all 500ms ease;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleDashboard}</title>
|
||||
<title>${TitleServer}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="dashboardPage" data-role="page" class="page type-interior dashboardHomePage">
|
||||
@ -10,10 +10,10 @@
|
||||
<div class="content-primary">
|
||||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabHome}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabDashboard}</a>
|
||||
<a href="dashboardgeneral.html" data-role="button">${TabGeneral}</a>
|
||||
<a href="dashboardinfopage.html" data-role="button">${TabInfo}</a>
|
||||
<a href="branding.html" data-role="button">${TabBranding}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabAdvanced}</a>
|
||||
<a href="serversecurity.html" data-role="button">${TabSecurity}</a>
|
||||
</div>
|
||||
<div class="dashboardContent">
|
||||
<div class="readOnlyContent dashboardHomeLeftColumn">
|
||||
@ -116,6 +116,44 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="readOnlyContent" style="clear: left;">
|
||||
<div data-role="collapsible" data-collapsed="true">
|
||||
<h3>${HeaderLinks}</h3>
|
||||
<div>
|
||||
<p><a href="http://mediabrowser.tv/community" target="_blank">${LinkCommunity}</a></p>
|
||||
<p><a href="https://github.com/MediaBrowser/MediaBrowser" target="_blank">${LinkGithub}</a></p>
|
||||
<p><a href="../swagger-ui/index.html" target="_blank">${LinkApiDocumentation}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible" data-collapsed="true">
|
||||
<h3>${HeaderSystemPaths}</h3>
|
||||
<div>
|
||||
<p>
|
||||
<b>${LabelCache}</b><br />
|
||||
<span id="cachePath"></span>
|
||||
</p>
|
||||
<p>
|
||||
<b>${LabelImagesByName}</b><br />
|
||||
<span id="imagesByNamePath"></span>
|
||||
</p>
|
||||
<p>
|
||||
<b>${LabelLogs}</b><br />
|
||||
<span id="logPath"></span>
|
||||
</p>
|
||||
<p>
|
||||
<b>${LabelMetadata}</b><br />
|
||||
<span id="metadataPath"></span>
|
||||
</p>
|
||||
<p>
|
||||
<b>${LabelTranscodingTemporaryFiles}</b><br />
|
||||
<span id="transcodingTemporaryPath"></span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleDashboard}</title>
|
||||
<title>${TitleServer}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="dashboardGeneralPage" data-role="page" class="page type-interior dashboardHomePage">
|
||||
@ -10,10 +10,10 @@
|
||||
<div class="content-primary">
|
||||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="dashboard.html" data-role="button">${TabHome}</a>
|
||||
<a href="dashboard.html" data-role="button">${TabDashboard}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabGeneral}</a>
|
||||
<a href="dashboardinfopage.html" data-role="button">${TabInfo}</a>
|
||||
<a href="branding.html" data-role="button">${TabBranding}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabAdvanced}</a>
|
||||
<a href="serversecurity.html" data-role="button">${TabSecurity}</a>
|
||||
</div>
|
||||
|
||||
<form class="dashboardGeneralForm">
|
||||
@ -36,6 +36,23 @@
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div data-role="collapsible">
|
||||
<h2>${HeaderBranding}</h2>
|
||||
<div>
|
||||
<p>${HeaderBrandingHelp}</p>
|
||||
<br />
|
||||
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="txtLoginDisclaimer">${LabelLoginDisclaimer}</label>
|
||||
<input id="txtLoginDisclaimer" data-mini="true" />
|
||||
<div class="fieldDescription">${LabelLoginDisclaimerHelp}</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
|
||||
|
@ -1,44 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleDashboard}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="dashboardInfoPage" data-role="page" class="page type-interior dashboardHomePage">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
<div class="readOnlyContent">
|
||||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="dashboard.html" data-role="button">${TabHome}</a>
|
||||
<a href="dashboardgeneral.html" data-role="button">${TabGeneral}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabInfo}</a>
|
||||
<a href="branding.html" data-role="button">${TabBranding}</a>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible" data-collapsed="false" style="margin-top: 1em;">
|
||||
<h3>${HeaderLinks}</h3>
|
||||
<div>
|
||||
<p><a href="http://mediabrowser.tv/community" target="_blank">${LinkCommunity}</a></p>
|
||||
<p><a href="https://github.com/MediaBrowser/MediaBrowser" target="_blank">${LinkGithub}</a></p>
|
||||
<p><a href="../swagger-ui/index.html" target="_blank">${LinkApiDocumentation}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible" data-collapsed="false" style="margin-top: 1em;">
|
||||
<h3>${HeaderSystemPaths}</h3>
|
||||
<div>
|
||||
<p><b>Cache:</b> <span id="cachePath"></span></p>
|
||||
<p><b>Images by name:</b> <span id="imagesByNamePath"></span></p>
|
||||
<p><b>Logs:</b> <span id="logPath"></span></p>
|
||||
<p><b>Metadata:</b> <span id="metadataPath"></span></p>
|
||||
<p><b>Transcoding temporary files:</b> <span id="transcodingTemporaryPath"></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -14,7 +14,6 @@
|
||||
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
|
||||
<a href="advancedpaths.html" data-role="button">${TabPaths}</a>
|
||||
<a href="appsplayback.html" data-role="button">${TabResume}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabServer}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabTranscoding}</a>
|
||||
</div>
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<a href="tvrecommended.html">${TabSuggested}</a>
|
||||
<a href="tvlatest.html">${TabLatest}</a>
|
||||
<a href="tvupcoming.html">${TabUpcoming}</a>
|
||||
<a href="tvshows.html">${TabShows}</a>
|
||||
<a href="#" class="ui-btn-active">${TabEpisodes}</a>
|
||||
<a href="tvgenres.html">${TabGenres}</a>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<div data-role="content">
|
||||
|
||||
<table class="ehsContent homeEhsContent">
|
||||
<table class="ehsContent">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sections"></div>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<div data-role="content">
|
||||
|
||||
<table class="ehsContent homeEhsContent">
|
||||
<table class="ehsContent">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sections"></div>
|
||||
|
@ -64,6 +64,7 @@
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<a href="tvrecommended.html">${TabSuggested}</a>
|
||||
<a href="tvlatest.html">${TabLatest}</a>
|
||||
<a href="tvupcoming.html">${TabUpcoming}</a>
|
||||
<a href="tvshows.html">${TabShows}</a>
|
||||
<a href="episodes.html">${TabEpisodes}</a>
|
||||
<a href="tvgenres.html">${TabGenres}</a>
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
<div id="boxsetTabs" class="itemTabs" style="display: none;">
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<a href="#" class="ui-btn-active">${TabCollections}</a>
|
||||
<a href="collections.html" class="ui-btn-active">${TabCollections}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -44,6 +44,7 @@
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<a href="tvrecommended.html">${TabSuggested}</a>
|
||||
<a href="tvlatest.html">${TabLatest}</a>
|
||||
<a href="tvupcoming.html">${TabUpcoming}</a>
|
||||
<a href="tvshows.html" class="ui-btn-active">${TabShows}</a>
|
||||
<a href="episodes.html">${TabEpisodes}</a>
|
||||
<a href="tvgenres.html">${TabGenres}</a>
|
||||
@ -254,6 +255,7 @@
|
||||
<div id="scenesCollapsible" style="display: none;" class="detailSection">
|
||||
<div class="detailSectionHeader">
|
||||
${HeaderScenes}
|
||||
<a class="detailSectionHeaderButton" href="metadatachapters.html" data-role="button" data-icon="gear" data-iconpos="notext" data-inline="true" title="${ButtonSettings}">${ButtonSettings}</a>
|
||||
</div>
|
||||
<div id="scenesContent" class="detailSectionContent"></div>
|
||||
</div>
|
||||
|
@ -18,11 +18,7 @@
|
||||
<table class="ehsContent squareEhsContent">
|
||||
<tr>
|
||||
<td>
|
||||
<h1 class="listHeader">${HeaderLatestAlbums}</h1>
|
||||
|
||||
<div id="recentlyAddedAlbums">
|
||||
</div>
|
||||
<h1 class="listHeader">${HeaderLatestSongs}</h1>
|
||||
<h1 class="listHeader">${HeaderLatestMusic}</h1>
|
||||
|
||||
<div id="recentlyAddedSongs">
|
||||
</div>
|
||||
|
@ -13,7 +13,6 @@
|
||||
<a href="advanced.html" data-role="button">${TabGeneral}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabNotifications}</a>
|
||||
<a href="advancedpaths.html" data-role="button">${TabPaths}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabServer}</a>
|
||||
<a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
|
||||
</div>
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
<a href="notificationsettings.html" data-role="button" class="ui-btn-active">${TabNotifications}</a>
|
||||
<a href="advancedpaths.html" data-role="button">${TabPaths}</a>
|
||||
<a href="appsplayback.html" data-role="button">${TabResume}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabServer}</a>
|
||||
<a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
|
||||
</div>
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabNotifications}</a>
|
||||
<a href="advancedpaths.html" data-role="button">${TabPaths}</a>
|
||||
<a href="appsplayback.html" data-role="button">${TabResume}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabServer}</a>
|
||||
<a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
|
||||
</div>
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
<div data-role="controlgroup" data-type="horizontal" data-mini="true">
|
||||
<a href="plugins.html" data-role="button">${TabMyPlugins}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabCatalog}</a>
|
||||
<a href="channelsettings.html" data-role="button">${TabChannels}</a>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
|
@ -11,6 +11,7 @@
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabMyPlugins}</a>
|
||||
<a href="plugincatalog.html" data-role="button">${TabCatalog}</a>
|
||||
<a href="channelsettings.html" data-role="button">${TabChannels}</a>
|
||||
</div>
|
||||
|
||||
<div class="readOnlyContent">
|
||||
|
@ -148,7 +148,7 @@
|
||||
populateHistory(pkg, page);
|
||||
if (pkg.totalRatings > 0) populateReviews(pkg.id, page);
|
||||
|
||||
Dashboard.setPageTitle(pkg.name);
|
||||
$('.pluginName', page).html(pkg.name);
|
||||
|
||||
if (pkg.targetSystem == 'Server') {
|
||||
$("#btnInstallDiv", page).show();
|
||||
|
@ -1,45 +0,0 @@
|
||||
(function ($, document, window) {
|
||||
|
||||
var brandingConfigKey = "branding";
|
||||
|
||||
function loadPage(page, config) {
|
||||
|
||||
$('#txtLoginDisclaimer', page).val(config.LoginDisclaimer || '');
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
}
|
||||
|
||||
$(document).on('pageshow', "#dashboardBrandingPage", function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var page = this;
|
||||
|
||||
ApiClient.getNamedConfiguration(brandingConfigKey).done(function (config) {
|
||||
|
||||
loadPage(page, config);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
window.BrandingPage = {
|
||||
|
||||
onSubmit: function () {
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var form = this;
|
||||
|
||||
ApiClient.getNamedConfiguration(brandingConfigKey).done(function (config) {
|
||||
|
||||
config.LoginDisclaimer = $('#txtLoginDisclaimer', form).val();
|
||||
|
||||
ApiClient.updateNamedConfiguration(brandingConfigKey, config).done(Dashboard.processServerConfigurationUpdateResult);
|
||||
});
|
||||
|
||||
// Disable default form submission
|
||||
return false;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
})(jQuery, document, window);
|
@ -1,5 +1,7 @@
|
||||
(function ($, document, window) {
|
||||
|
||||
var brandingConfigKey = "branding";
|
||||
|
||||
function loadPage(page, config, languageOptions) {
|
||||
|
||||
$('#txtServerName', page).val(config.ServerName || '');
|
||||
@ -29,6 +31,10 @@
|
||||
|
||||
});
|
||||
|
||||
ApiClient.getNamedConfiguration(brandingConfigKey).done(function (config) {
|
||||
|
||||
$('#txtLoginDisclaimer', page).val(config.LoginDisclaimer || '');
|
||||
});
|
||||
});
|
||||
|
||||
window.DashboardGeneralPage = {
|
||||
@ -43,7 +49,16 @@
|
||||
config.ServerName = $('#txtServerName', form).val();
|
||||
config.UICulture = $('#selectLocalizationLanguage', form).val();
|
||||
|
||||
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
||||
ApiClient.updateServerConfiguration(config).done(function() {
|
||||
|
||||
ApiClient.getNamedConfiguration(brandingConfigKey).done(function (brandingConfig) {
|
||||
|
||||
brandingConfig.LoginDisclaimer = $('#txtLoginDisclaimer', form).val();
|
||||
|
||||
ApiClient.updateNamedConfiguration(brandingConfigKey, brandingConfig).done(Dashboard.processServerConfigurationUpdateResult);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
// Disable default form submission
|
||||
|
@ -1,37 +0,0 @@
|
||||
(function ($, document, window) {
|
||||
|
||||
function loadPage(page, systemInfo) {
|
||||
|
||||
$('#cachePath', page).html(systemInfo.CachePath);
|
||||
$('#logPath', page).html(systemInfo.LogPath);
|
||||
$('#imagesByNamePath', page).html(systemInfo.ItemsByNamePath);
|
||||
$('#transcodingTemporaryPath', page).html(systemInfo.TranscodingTempPath);
|
||||
$('#metadataPath', page).html(systemInfo.InternalMetadataPath);
|
||||
|
||||
if (systemInfo.WanAddress) {
|
||||
|
||||
var externalUrl = systemInfo.WanAddress + "/mediabrowser";
|
||||
|
||||
$('.externalUrl', page).html('Remote access: <a href="' + externalUrl + '" target="_blank">' + externalUrl + '</a>').show().trigger('create');
|
||||
} else {
|
||||
$('.externalUrl', page).hide();
|
||||
}
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
}
|
||||
|
||||
$(document).on('pageshow', "#dashboardInfoPage", function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var page = this;
|
||||
|
||||
ApiClient.getSystemInfo().done(function (systemInfo) {
|
||||
|
||||
loadPage(page, systemInfo);
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
})(jQuery, document, window);
|
@ -34,6 +34,24 @@
|
||||
DashboardPage.sessionUpdateTimer = setInterval(DashboardPage.refreshSessionsLocally, 60000);
|
||||
},
|
||||
|
||||
renderPaths: function (page, systemInfo) {
|
||||
|
||||
$('#cachePath', page).html(systemInfo.CachePath);
|
||||
$('#logPath', page).html(systemInfo.LogPath);
|
||||
$('#imagesByNamePath', page).html(systemInfo.ItemsByNamePath);
|
||||
$('#transcodingTemporaryPath', page).html(systemInfo.TranscodingTempPath);
|
||||
$('#metadataPath', page).html(systemInfo.InternalMetadataPath);
|
||||
|
||||
if (systemInfo.WanAddress) {
|
||||
|
||||
var externalUrl = systemInfo.WanAddress + "/mediabrowser";
|
||||
|
||||
$('.externalUrl', page).html('Remote access: <a href="' + externalUrl + '" target="_blank">' + externalUrl + '</a>').show().trigger('create');
|
||||
} else {
|
||||
$('.externalUrl', page).hide();
|
||||
}
|
||||
},
|
||||
|
||||
refreshSessionsLocally: function () {
|
||||
|
||||
var list = DashboardPage.sessionsList;
|
||||
@ -78,6 +96,7 @@
|
||||
$('#btnManualUpdateContainer', page).show();
|
||||
}
|
||||
|
||||
DashboardPage.renderPaths(page, systemInfo);
|
||||
DashboardPage.renderHasPendingRestart(page, systemInfo.HasPendingRestart);
|
||||
});
|
||||
},
|
||||
@ -753,7 +772,7 @@
|
||||
|
||||
imgUrl = "css/images/supporter/nonsupporterbadge.png";
|
||||
text = "Please support Media Browser.";
|
||||
|
||||
|
||||
$('.supporterIconContainer', page).html('<a class="imageLink supporterIcon" href="supporter.html" title="' + text + '"><img src="' + imgUrl + '" style="height:32px;vertical-align: middle; margin-right: .5em;" /><span style="position:relative;top:2px;text-decoration:none;">' + text + '</span></a>');
|
||||
}
|
||||
},
|
||||
|
@ -53,7 +53,8 @@
|
||||
showParentTitle: true,
|
||||
overlayText: screenWidth >= 600,
|
||||
selectionPanel: true,
|
||||
lazy: true
|
||||
lazy: true,
|
||||
context: 'tv'
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,7 @@
|
||||
|
||||
var options = {
|
||||
|
||||
Limit: screenWidth >= 2400 ? 30 : (screenWidth >= 1920 ? 15 : (screenWidth >= 1440 ? 10 : (screenWidth >= 800 ? 9 : 8))),
|
||||
Limit: screenWidth >= 2400 ? 30 : (screenWidth >= 1920 ? 15 : (screenWidth >= 1440 ? 12 : (screenWidth >= 800 ? 9 : 8))),
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
IsPlayed: false,
|
||||
IsFolder: false
|
||||
@ -154,7 +154,6 @@
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
|
||||
$(elem).html(html).trigger('create').createPosterItemMenus();
|
||||
});
|
||||
}
|
||||
|
@ -591,7 +591,7 @@
|
||||
|
||||
var options = {
|
||||
userId: Dashboard.getCurrentUserId(),
|
||||
limit: item.Type == "MusicAlbum" ? 4 : 6,
|
||||
limit: item.Type == "MusicAlbum" ? 4 : 5,
|
||||
fields: "PrimaryImageAspectRatio,UserData"
|
||||
};
|
||||
|
||||
@ -872,7 +872,7 @@
|
||||
html += '<span>' + type.name + '</span>';
|
||||
|
||||
if (user.Configuration.IsAdministrator) {
|
||||
html += '<a href="editcollectionitems.html?id=' + currentItem.Id + '" data-role="button" data-icon="edit" data-iconpos="notext" data-inline="true" style="position: absolute; right: 0; top: 6px; margin-top: 0; margin-bottom: 0;">Edit</a>';
|
||||
html += '<a class="detailSectionHeaderButton" href="editcollectionitems.html?id=' + currentItem.Id + '" data-role="button" data-icon="edit" data-iconpos="notext" data-inline="true">Edit</a>';
|
||||
}
|
||||
|
||||
html += '</div>';
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
MediaLibraryPage.reloadLibrary(page);
|
||||
},
|
||||
|
||||
|
||||
reloadLibrary: function (page) {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
@ -327,6 +327,24 @@
|
||||
|
||||
$(document).on('pageshow', ".mediaLibraryPage", MediaLibraryPage.onPageShow);
|
||||
|
||||
var WizardLibraryPage = {
|
||||
|
||||
next: function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.ajax({
|
||||
type: "POST",
|
||||
url: ApiClient.getUrl('System/Configuration/MetadataPlugins/Autoset')
|
||||
|
||||
}).done(function () {
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
Dashboard.navigate('wizardsettings.html');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
(function ($, document, window) {
|
||||
|
||||
function pollTasks(page) {
|
||||
|
@ -12,7 +12,7 @@
|
||||
var options = {
|
||||
|
||||
IncludeItemTypes: "Movie",
|
||||
Limit: screenWidth >= 1920 ? 32 : (screenWidth >= 1440 ? 32 : (screenWidth >= 800 ? 28 : 18)),
|
||||
Limit: screenWidth >= 1920 ? 30 : (screenWidth >= 1440 ? 30 : (screenWidth >= 800 ? 28 : 18)),
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
ParentId: parentId,
|
||||
IsPlayed: false
|
||||
|
@ -50,7 +50,7 @@
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Movie",
|
||||
Filters: "IsResumable",
|
||||
Limit: screenWidth >= 1920 ? 4 : (screenWidth >= 1440 ? 4 : 3),
|
||||
Limit: screenWidth >= 1920 ? 6 : (screenWidth >= 1440 ? 6 : 3),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
CollapseBoxSetItems: false,
|
||||
@ -81,7 +81,7 @@
|
||||
|
||||
userId: Dashboard.getCurrentUserId(),
|
||||
categoryLimit: screenWidth >= 1200 ? 4 : 3,
|
||||
itemLimit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 7),
|
||||
itemLimit: screenWidth >= 1920 ? 6 : (screenWidth >= 1440 ? 6 : 7),
|
||||
Fields: "PrimaryImageAspectRatio"
|
||||
});
|
||||
|
||||
|
@ -10,28 +10,8 @@
|
||||
var parentId = LibraryMenu.getTopParentId();
|
||||
|
||||
var options = {
|
||||
IncludeItemTypes: "MusicAlbum",
|
||||
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6),
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
ParentId: parentId
|
||||
};
|
||||
|
||||
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
||||
|
||||
$('#recentlyAddedAlbums', page).html(LibraryBrowser.getPosterViewHtml({
|
||||
items: items,
|
||||
showUnplayedIndicator: false,
|
||||
showChildCountIndicator: true,
|
||||
shape: "square",
|
||||
showTitle: true,
|
||||
showParentTitle: true
|
||||
})).createPosterItemMenus();
|
||||
|
||||
});
|
||||
|
||||
options = {
|
||||
IncludeItemTypes: "Audio",
|
||||
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6),
|
||||
Limit: screenWidth >= 1920 ? 14 : (screenWidth >= 1440 ? 14 : 12),
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
ParentId: parentId
|
||||
};
|
||||
@ -54,7 +34,7 @@
|
||||
SortBy: "DatePlayed",
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Audio",
|
||||
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6),
|
||||
Limit: screenWidth >= 1920 ? 7 : (screenWidth >= 1440 ? 7 : 6),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
||||
Filters: "IsPlayed",
|
||||
@ -84,7 +64,7 @@
|
||||
SortBy: "PlayCount",
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Audio",
|
||||
Limit: screenWidth >= 1920 ? 16 : (screenWidth >= 1440 ? 16 : 12),
|
||||
Limit: screenWidth >= 1920 ? 14 : (screenWidth >= 1440 ? 14 : 12),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
||||
Filters: "IsPlayed",
|
||||
|
1
dashboard-ui/scripts/serversecurity.js
Normal file
1
dashboard-ui/scripts/serversecurity.js
Normal file
@ -0,0 +1 @@
|
||||
|
@ -657,7 +657,7 @@ var Dashboard = {
|
||||
var pageElem = page[0];
|
||||
|
||||
return [{
|
||||
name: "Dashboard",
|
||||
name: "Server",
|
||||
href: "dashboard.html",
|
||||
selected: page.hasClass("dashboardHomePage")
|
||||
}, {
|
||||
@ -677,11 +677,6 @@ var Dashboard = {
|
||||
name: "Auto-Organize",
|
||||
href: "autoorganizelog.html",
|
||||
selected: page.hasClass("organizePage")
|
||||
}, {
|
||||
name: "Channels",
|
||||
divider: true,
|
||||
href: "channelsettings.html",
|
||||
selected: page.hasClass("channelSettingsPage")
|
||||
}, {
|
||||
name: "DLNA",
|
||||
href: "dlnasettings.html",
|
||||
|
@ -11,27 +11,29 @@
|
||||
};
|
||||
|
||||
query.ParentId = LibraryMenu.getTopParentId();
|
||||
|
||||
var context = '';
|
||||
|
||||
if (query.ParentId) {
|
||||
|
||||
$('.scopedLibraryViewNav', page).show();
|
||||
$('.globalNav', page).hide();
|
||||
$('.homeEhsContent', page).css('text-align', 'left');
|
||||
$('.ehsContent', page).css('text-align', 'left');
|
||||
$('.scopedContent', page).show();
|
||||
context = 'tv';
|
||||
|
||||
loadResume(page);
|
||||
|
||||
} else {
|
||||
$('.scopedLibraryViewNav', page).hide();
|
||||
$('.globalNav', page).show();
|
||||
$('.homeEhsContent', page).css('text-align', 'center');
|
||||
$('.ehsContent', page).css('text-align', 'center');
|
||||
$('.scopedContent', page).hide();
|
||||
}
|
||||
|
||||
loadNextUp(page);
|
||||
loadNextUp(page, context || 'home-nextup');
|
||||
}
|
||||
|
||||
function loadNextUp(page) {
|
||||
function loadNextUp(page, context) {
|
||||
|
||||
var screenWidth = $(window).width();
|
||||
|
||||
@ -49,13 +51,13 @@
|
||||
|
||||
$('.scopedLibraryViewNav', page).show();
|
||||
$('.globalNav', page).hide();
|
||||
$('.ehsContent', page).css('text-align', 'left').removeClass('homeEhsContent');
|
||||
$('.ehsContent', page).css('text-align', 'left');
|
||||
$('.scopedContent', page).show();
|
||||
|
||||
} else {
|
||||
$('.scopedLibraryViewNav', page).hide();
|
||||
$('.globalNav', page).show();
|
||||
$('.ehsContent', page).css('text-align', 'center').addClass('homeEhsContent');
|
||||
$('.ehsContent', page).css('text-align', 'center');
|
||||
$('.scopedContent', page).hide();
|
||||
}
|
||||
|
||||
@ -73,7 +75,7 @@
|
||||
showTitle: true,
|
||||
showParentTitle: true,
|
||||
overlayText: screenWidth >= 600,
|
||||
context: 'home-nextup',
|
||||
context: context,
|
||||
lazy: true
|
||||
|
||||
})).trigger('create').createPosterItemMenus();
|
||||
@ -93,7 +95,7 @@
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Episode",
|
||||
Filters: "IsResumable",
|
||||
Limit: screenWidth >= 1920 ? 5 : 4,
|
||||
Limit: screenWidth >= 1920 ? 6 : 4,
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,SeriesInfo,UserData",
|
||||
ExcludeLocationTypes: "Virtual",
|
||||
@ -116,7 +118,8 @@
|
||||
showTitle: true,
|
||||
showParentTitle: true,
|
||||
overlayText: screenWidth >= 600,
|
||||
lazy: true
|
||||
lazy: true,
|
||||
context: 'tv'
|
||||
|
||||
})).trigger('create').createPosterItemMenus();
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
updateFilterControls(page);
|
||||
|
||||
if (view == "Thumb") {
|
||||
|
||||
|
||||
html = LibraryBrowser.getPosterViewHtml({
|
||||
items: result.Items,
|
||||
shape: "backdrop",
|
||||
@ -42,7 +42,7 @@
|
||||
context: 'tv',
|
||||
lazy: true
|
||||
});
|
||||
|
||||
|
||||
$('.itemsContainer', page).removeClass('timelineItemsContainer');
|
||||
}
|
||||
else if (view == "Banner") {
|
||||
@ -56,18 +56,6 @@
|
||||
});
|
||||
$('.itemsContainer', page).removeClass('timelineItemsContainer');
|
||||
}
|
||||
else if (view == "Poster") {
|
||||
|
||||
html = LibraryBrowser.getPosterViewHtml({
|
||||
items: result.Items,
|
||||
shape: "portrait",
|
||||
context: 'tv',
|
||||
showTitle: true,
|
||||
centerText: true,
|
||||
lazy: true
|
||||
});
|
||||
$('.itemsContainer', page).removeClass('timelineItemsContainer');
|
||||
}
|
||||
else if (view == "List") {
|
||||
|
||||
html = LibraryBrowser.getListViewHtml({
|
||||
@ -77,18 +65,18 @@
|
||||
});
|
||||
$('.itemsContainer', page).removeClass('timelineItemsContainer');
|
||||
}
|
||||
else if (view == "Timeline") {
|
||||
|
||||
else {
|
||||
|
||||
// Poster
|
||||
html = LibraryBrowser.getPosterViewHtml({
|
||||
items: result.Items,
|
||||
shape: "portrait",
|
||||
context: 'tv',
|
||||
timeline: true,
|
||||
showTitle: true,
|
||||
centerText: true,
|
||||
lazy: true
|
||||
});
|
||||
|
||||
$('.itemsContainer', page).addClass('timelineItemsContainer');
|
||||
$('.itemsContainer', page).removeClass('timelineItemsContainer');
|
||||
}
|
||||
|
||||
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
|
||||
|
@ -13,6 +13,19 @@
|
||||
|
||||
query.ParentId = LibraryMenu.getTopParentId();
|
||||
|
||||
var context = '';
|
||||
|
||||
if (query.ParentId) {
|
||||
|
||||
$('.scopedLibraryViewNav', page).show();
|
||||
$('.globalNav', page).hide();
|
||||
context = 'tv';
|
||||
|
||||
} else {
|
||||
$('.scopedLibraryViewNav', page).hide();
|
||||
$('.globalNav', page).show();
|
||||
}
|
||||
|
||||
ApiClient.getJSON(ApiClient.getUrl("Shows/Upcoming", query)).done(function (result) {
|
||||
|
||||
var items = result.Items;
|
||||
@ -31,8 +44,8 @@
|
||||
showPremiereDate: true,
|
||||
showPremiereDateIndex: true,
|
||||
preferThumb: true,
|
||||
context: 'home-upcoming',
|
||||
lazy: true
|
||||
context: context || 'home-upcoming',
|
||||
lazy: true,
|
||||
|
||||
})).trigger('create').createPosterItemMenus();
|
||||
});
|
||||
|
@ -1,54 +0,0 @@
|
||||
(function ($, document) {
|
||||
|
||||
function save(page) {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
// After saving chapter task, now save server config
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
config.EnableUPnP = $('#chkEnableUpnp', page).checked();
|
||||
|
||||
ApiClient.updateServerConfiguration(config).done(function (result) {
|
||||
|
||||
ApiClient.getNamedConfiguration("chapters").done(function (chapterConfig) {
|
||||
|
||||
chapterConfig.EnableMovieChapterImageExtraction = $('#chkMovies', page).checked();
|
||||
|
||||
ApiClient.updateNamedConfiguration("chapters", chapterConfig).done(function () {
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
||||
navigateToNextPage();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function navigateToNextPage() {
|
||||
|
||||
ApiClient.getSystemInfo().done(function (systemInfo) {
|
||||
|
||||
var os = systemInfo.OperatingSystem.toLowerCase();
|
||||
|
||||
if (os.indexOf('windows') != -1) {
|
||||
Dashboard.navigate('wizardservice.html');
|
||||
} else {
|
||||
Dashboard.navigate('wizardfinish.html');
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
$(document).on('pageinit', "#wizardImageSettingsPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
$('#btnNextPage', page).on('click', function () {
|
||||
|
||||
save(page);
|
||||
});
|
||||
});
|
||||
|
||||
})(jQuery, document, window);
|
@ -50,7 +50,7 @@
|
||||
|
||||
function navigateToNextPage() {
|
||||
|
||||
Dashboard.navigate('wizardimagesettings.html');
|
||||
Dashboard.navigate('wizardservice.html');
|
||||
}
|
||||
|
||||
$(document).on('pageshow', "#wizardSettingsPage", function () {
|
||||
|
24
dashboard-ui/serversecurity.html
Normal file
24
dashboard-ui/serversecurity.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleServer}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="serverSecurityPage" data-role="page" class="page type-interior dashboardHomePage">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="dashboard.html" data-role="button">${TabDashboard}</a>
|
||||
<a href="dashboardgeneral.html" data-role="button">${TabGeneral}</a>
|
||||
<a href="advancedserversettings.html" data-role="button">${TabAdvanced}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabSecurity}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -8,6 +8,7 @@
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<a href="tvrecommended.html">${TabSuggested}</a>
|
||||
<a href="tvlatest.html">${TabLatest}</a>
|
||||
<a href="tvupcoming.html">${TabUpcoming}</a>
|
||||
<a href="tvshows.html">${TabShows}</a>
|
||||
<a href="episodes.html">${TabEpisodes}</a>
|
||||
<a href="#" class="ui-btn-active">${TabGenres}</a>
|
||||
|
@ -8,6 +8,7 @@
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<a href="tvrecommended.html">${TabSuggested}</a>
|
||||
<a href="#" class="ui-btn-active">${TabLatest}</a>
|
||||
<a href="tvupcoming.html">${TabUpcoming}</a>
|
||||
<a href="tvshows.html">${TabShows}</a>
|
||||
<a href="episodes.html">${TabEpisodes}</a>
|
||||
<a href="tvgenres.html">${TabGenres}</a>
|
||||
|
@ -8,6 +8,7 @@
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<a href="tvrecommended.html">${TabSuggested}</a>
|
||||
<a href="tvlatest.html">${TabLatest}</a>
|
||||
<a href="tvupcoming.html">${TabUpcoming}</a>
|
||||
<a href="tvshows.html">${TabShows}</a>
|
||||
<a href="episodes.html">${TabEpisodes}</a>
|
||||
<a href="tvgenres.html">${TabGenres}</a>
|
||||
|
@ -16,6 +16,7 @@
|
||||
<div class="libraryViewNav scopedLibraryViewNav" style="display: none;">
|
||||
<a href="tvrecommended.html" class="ui-btn-active">${TabSuggested}</a>
|
||||
<a href="tvlatest.html">${TabLatest}</a>
|
||||
<a href="tvupcoming.html">${TabUpcoming}</a>
|
||||
<a href="tvshows.html">${TabShows}</a>
|
||||
<a href="episodes.html">${TabEpisodes}</a>
|
||||
<a href="tvgenres.html">${TabGenres}</a>
|
||||
|
@ -8,6 +8,7 @@
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<a href="tvrecommended.html">${TabSuggested}</a>
|
||||
<a href="tvlatest.html">${TabLatest}</a>
|
||||
<a href="tvupcoming.html">${TabUpcoming}</a>
|
||||
<a href="#" class="ui-btn-active">${TabShows}</a>
|
||||
<a href="episodes.html">${TabEpisodes}</a>
|
||||
<a href="tvgenres.html">${TabGenres}</a>
|
||||
@ -25,7 +26,6 @@
|
||||
<option value="Poster">${OptionPoster}</option>
|
||||
<option value="Banner">${OptionBanner}</option>
|
||||
<option value="List">${OptionList}</option>
|
||||
<option value="Timeline">${OptionTimeline}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -8,6 +8,7 @@
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<a href="tvrecommended.html">${TabSuggested}</a>
|
||||
<a href="tvlatest.html">${TabLatest}</a>
|
||||
<a href="tvupcoming.html">${TabUpcoming}</a>
|
||||
<a href="tvshows.html">${TabShows}</a>
|
||||
<a href="episodes.html">${TabEpisodes}</a>
|
||||
<a href="tvgenres.html">${TabGenres}</a>
|
||||
|
@ -5,15 +5,25 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="tvUpcomingPage" data-role="page" class="page libraryPage backdropPage" data-backdroptype="series" data-theme="b">
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
<div class="libraryViewNav globalNav" style="display: none;">
|
||||
<a href="index.html">${TabHome}</a>
|
||||
<a href="homelatest.html">${TabLatest}</a>
|
||||
<a href="tvrecommended.html">${TabNextUp}</a>
|
||||
<a href="favorites.html">${TabFavorites}</a>
|
||||
<a href="#" class="ui-btn-active">${TabUpcoming}</a>
|
||||
</div>
|
||||
<div class="libraryViewNav scopedLibraryViewNav" style="display: none;">
|
||||
<a href="tvrecommended.html">${TabSuggested}</a>
|
||||
<a href="tvlatest.html">${TabLatest}</a>
|
||||
<a href="tvupcoming.html" class="ui-btn-active">${TabUpcoming}</a>
|
||||
<a href="tvshows.html">${TabShows}</a>
|
||||
<a href="episodes.html">${TabEpisodes}</a>
|
||||
<a href="tvgenres.html">${TabGenres}</a>
|
||||
<a href="tvpeople.html">${TabPeople}</a>
|
||||
<a href="tvstudios.html">${TabNetworks}</a>
|
||||
</div>
|
||||
<div data-role="content">
|
||||
<table class="ehsContent homeEhsContent">
|
||||
<table class="ehsContent">
|
||||
<tr>
|
||||
<td>
|
||||
<div id="upcomingItems">
|
||||
|
@ -1,38 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleMediaBrowser}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wizardImageSettingsPage" data-role="page" class="page standalonePage wizardPage mediaLibraryPage">
|
||||
|
||||
<div data-role="content">
|
||||
|
||||
<div class="ui-corner-all ui-shadow wizardContent">
|
||||
<h2>
|
||||
<img src="css/images/mblogoicon.png" />${LabelConfigureSettings}</h2>
|
||||
|
||||
<br />
|
||||
|
||||
<div style="margin: 2em 0;">
|
||||
<label for="chkMovies">${LabelEnableChapterImageExtractionForMovies}</label>
|
||||
<input id="chkMovies" name="chkMovies" type="checkbox" checked="checked" />
|
||||
<div class="fieldDescription">${LabelChapterImageExtractionForMoviesHelp}</div>
|
||||
</div>
|
||||
|
||||
<div style="margin: 2em 0;">
|
||||
<label for="chkEnableUpnp">${LabelEnableAutomaticPortMapping}</label>
|
||||
<input type="checkbox" id="chkEnableUpnp" checked="checked" />
|
||||
<div class="fieldDescription">${LabelEnableAutomaticPortMappingHelp}</div>
|
||||
</div>
|
||||
|
||||
<div class="wizardNavigation">
|
||||
<button type="button" data-iconpos="left" data-icon="arrow-l" data-inline="true" onclick="history.back();">${LabelPrevious}</button>
|
||||
<button id="btnNextPage" type="button" data-iconpos="right" data-icon="arrow-r" data-inline="true">${LabelNext}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -54,7 +54,7 @@
|
||||
|
||||
<div class="wizardNavigation">
|
||||
<button type="button" data-iconpos="left" data-icon="arrow-l" data-inline="true" onclick="history.back();">${LabelPrevious}</button>
|
||||
<button type="button" data-iconpos="right" data-icon="arrow-r" data-inline="true" onclick="Dashboard.navigate('wizardsettings.html');">${LabelNext}</button>
|
||||
<button type="button" data-iconpos="right" data-icon="arrow-r" data-inline="true" onclick="WizardLibraryPage.next();">${LabelNext}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user