update translations

This commit is contained in:
Luke Pulverenti 2014-07-11 00:27:46 -04:00
parent 6124369679
commit 5f578574d7
56 changed files with 291 additions and 456 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title></title> <title>${PluginsTitle}</title>
</head> </head>
<body> <body>
<div id="addPluginPage" data-role="page" class="page type-interior pluginConfigurationPage"> <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"> <div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="plugins.html" data-role="button">${TabMyPlugins}</a> <a href="plugins.html" data-role="button">${TabMyPlugins}</a>
<a href="plugincatalog.html" data-role="button" class="ui-btn-active">${TabCatalog}</a> <a href="plugincatalog.html" data-role="button" class="ui-btn-active">${TabCatalog}</a>
<a href="channelsettings.html" data-role="button">${TabChannels}</a>
</div> </div>
<form class="addPluginForm"> <form class="addPluginForm">
<h2 class="pluginName"></h2>
<p id="tagline" style="font-style: italic;"></p> <p id="tagline" style="font-style: italic;"></p>
<p id="pPreviewImage" style="text-align: center; margin: 2em 0;"></p> <p id="pPreviewImage" style="text-align: center; margin: 2em 0;"></p>
@ -40,9 +43,11 @@
</p> </p>
<p id="regInfo"> <p id="regInfo">
</p> </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 /> <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"> <p class="premiumDescription">
This is a <a data-rel="popup" href="#premiumPlugins">premium</a> plugin.<br /> This is a <a data-rel="popup" href="#premiumPlugins">premium</a> plugin.<br />
<br /> <br />

View File

@ -14,7 +14,6 @@
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a> <a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
<a href="advancedpaths.html" data-role="button">${TabPaths}</a> <a href="advancedpaths.html" data-role="button">${TabPaths}</a>
<a href="appsplayback.html" data-role="button">${TabResume}</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> <a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
</div> </div>
<form id="advancedConfigurationForm"> <form id="advancedConfigurationForm">

View File

@ -14,7 +14,6 @@
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a> <a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
<a href="#" data-role="button" class="ui-btn-active">${TabPaths}</a> <a href="#" data-role="button" class="ui-btn-active">${TabPaths}</a>
<a href="appsplayback.html" data-role="button">${TabResume}</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> <a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
</div> </div>
<form class="advancedPathsForm"> <form class="advancedPathsForm">

View File

@ -1,21 +1,19 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>${TitleAdvanced}</title> <title>${TitleServer}</title>
</head> </head>
<body> <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 data-role="content">
<div class="content-primary"> <div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="advanced.html" data-role="button">${TabGeneral}</a> <a href="dashboard.html" data-role="button">${TabDashboard}</a>
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a> <a href="dashboardgeneral.html" data-role="button">${TabGeneral}</a>
<a href="advancedpaths.html" data-role="button">${TabPaths}</a> <a href="#" data-role="button" class="ui-btn-active">${TabAdvanced}</a>
<a href="appsplayback.html" data-role="button">${TabResume}</a> <a href="serversecurity.html" data-role="button">${TabSecurity}</a>
<a href="#" data-role="button" class="ui-btn-active">${TabServer}</a>
<a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
</div> </div>
<form class="advancedServerSettingsForm"> <form class="advancedServerSettingsForm">

View File

@ -13,8 +13,7 @@
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a> <a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
<a href="advancedpaths.html" data-role="button">${TabPaths}</a> <a href="advancedpaths.html" data-role="button">${TabPaths}</a>
<a href="#" class="ui-btn-active" data-role="button">${TabResume}</a> <a href="#" class="ui-btn-active" data-role="button">${TabResume}</a>
<a href="advancedserversettings.html" data-role="button">${TabServer}</a> <a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
<a href="appsplayback.html" data-role="button">${TabTranscoding}</a>
</div> </div>
<form class="appsPlaybackForm"> <form class="appsPlaybackForm">

View File

@ -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>

View File

@ -1,13 +1,19 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>${TitleChannels}</title> <title>${PluginsTitle}</title>
</head> </head>
<body> <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 data-role="content">
<div class="content-primary"> <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"> <form class="channelSettingsForm">
<p class="noChannelsHeader" style="display: none;">${ChannelSettingsFormHelp}</p> <p class="noChannelsHeader" style="display: none;">${ChannelSettingsFormHelp}</p>
<br /> <br />

View File

@ -55,7 +55,6 @@
border-spacing: 0; border-spacing: 0;
border-collapse: collapse; border-collapse: collapse;
margin: 0 auto; margin: 0 auto;
max-width: 650px;
} }
.ehsContent td { .ehsContent td {
@ -63,10 +62,6 @@
border-spacing: 0; border-spacing: 0;
} }
.squareEhsContent {
max-width: 750px;
}
.homePageSection + .homePageSection { .homePageSection + .homePageSection {
margin-top: 1em; margin-top: 1em;
} }
@ -85,55 +80,55 @@
@media all and (min-width: 900px) { @media all and (min-width: 900px) {
.ehsContent { .ehsContent {
max-width: 880px; width: 880px;
} }
.squareEhsContent { .squareEhsContent {
max-width: 750px; width: 750px;
} }
} }
@media all and (min-width: 1000px) { @media all and (min-width: 1000px) {
.ehsContent { .ehsContent {
max-width: 905px; width: 905px;
} }
.squareEhsContent { .squareEhsContent {
max-width: 900px; width: 900px;
} }
} }
@media all and (min-width: 1200px) { @media all and (min-width: 1200px) {
.ehsContent { .ehsContent {
max-width: 925px; width: 925px;
} }
.squareEhsContent { .squareEhsContent {
max-width: 900px; width: 900px;
} }
} }
@media all and (min-width: 1400px) { @media all and (min-width: 1400px) {
.ehsContent { .ehsContent {
max-width: 1240px; width: 1080px;
} }
.squareEhsContent { .squareEhsContent {
max-width: 1240px; width: 1220px;
} }
} }
@media all and (min-width: 1600px) { @media all and (min-width: 1600px) {
.homeEhsContent { .homeEhsContent {
max-width: 1540px; width: 1440px;
} }
.squareEhsContent { .squareEhsContent {
max-width: 1420px; width: 1420px;
} }
} }
@ -184,9 +179,9 @@
} }
.galleryImageContainer:hover { .galleryImageContainer:hover {
-moz-box-shadow: 0 0 20px 3px #38c; -moz-box-shadow: 0 0 0 5px #38c;
-webkit-box-shadow: 0 0 20px 3px #38c; -webkit-box-shadow: 0 0 0 5px #38c;
box-shadow: 0 0 20px 3px #38c; box-shadow: 0 0 0 5px #38c;
} }
.galleryImage { .galleryImage {
@ -376,9 +371,9 @@ a.itemTag:hover {
.itemBackdrop { .itemBackdrop {
background-size: cover; background-size: cover;
background-position: center 15%; background-position: center 13%;
background-repeat: no-repeat; background-repeat: no-repeat;
height: 570px; height: 600px;
position: relative; position: relative;
} }
@ -518,26 +513,23 @@ a.itemTag:hover {
.detailSectionHeader { .detailSectionHeader {
background-clip: border-box; background-clip: border-box;
background-color: rgb(20, 20, 20); background-color: #141414;
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;
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
padding: .7em 0 .7em 1em; padding: .75em 0 .75em 1em;
border-radius: 4px; border-radius: 4px;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
position: relative;
}
.detailSectionHeaderButton {
position: absolute;
right: 0;
top: 7px;
margin-top: 0;
margin-bottom: 0;
} }
.lblDetailTab { .lblDetailTab {
@ -700,21 +692,6 @@ a.itemTag:hover {
@media all and (min-width: 1000px) { @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 { .primaryDetailPageContent {
max-width: 850px; max-width: 850px;
} }

View File

@ -197,9 +197,9 @@
} }
.remoteImage:hover, .searchImageContainer:hover { .remoteImage:hover, .searchImageContainer:hover {
-moz-box-shadow: 0 0 12px 7px #38c; -moz-box-shadow: 0 0 0 5px #38c;
-webkit-box-shadow: 0 0 12px 7px #38c; -webkit-box-shadow: 0 0 0 5px #38c;
box-shadow: 0 0 12px 7px #38c; box-shadow: 0 0 0 5px #38c;
} }
.tblLibraryReport img { .tblLibraryReport img {

View File

@ -51,9 +51,9 @@
} }
.posterItem:hover .posterItemImage { .posterItem:hover .posterItemImage {
-moz-box-shadow: 0 0 12px 7px #38c; -moz-box-shadow: 0 0 0 5px #38c;
-webkit-box-shadow: 0 0 12px 7px #38c; -webkit-box-shadow: 0 0 0 5px #38c;
box-shadow: 0 0 12px 7px #38c; box-shadow: 0 0 0 5px #38c;
} }
.coveredPosterItemImage { .coveredPosterItemImage {
@ -456,11 +456,11 @@
} }
.backdropPosterItem { .backdropPosterItem {
width: 298px; width: 350px;
} }
.backdropPosterItem .posterItemImage { .backdropPosterItem .posterItemImage {
height: 167.625px; height: 196.875px;
} }
.miniBackdropPosterItem { .miniBackdropPosterItem {
@ -472,19 +472,22 @@
} }
.squarePosterItem { .squarePosterItem {
width: 160px; width: 192px;
} }
.squarePosterItem .posterItemImage { .squarePosterItem .posterItemImage {
height: 160px; height: 192px;
} }
.portraitPosterItem { .portraitPosterItem {
width: 144px; width: 170px;
} }
.portraitPosterItem .posterItemImage { .portraitPosterItem .posterItemImage {
height: 216px; height: 255px;
}
.posterItemText {
} }
} }

View File

@ -599,9 +599,9 @@ h1 .imageLink {
} }
.posterViewItem:hover, .userItem:hover, .tileItem:hover { .posterViewItem:hover, .userItem:hover, .tileItem:hover {
-moz-box-shadow: 0 0 20px 3px #38c; -moz-box-shadow: 0 0 0 5px #38c;
-webkit-box-shadow: 0 0 20px 3px #38c; -webkit-box-shadow: 0 0 0 5px #38c;
box-shadow: 0 0 20px 3px #38c; box-shadow: 0 0 0 5px #38c;
} }
@media all and (min-width: 750px) { @media all and (min-width: 750px) {
@ -980,9 +980,9 @@ progress {
} }
.activeSession:hover { .activeSession:hover {
-moz-box-shadow: 0 0 20px 1px #38c; -moz-box-shadow: 0 0 10px 3px #38c;
-webkit-box-shadow: 0 0 20px 1px #38c; -webkit-box-shadow: 0 0 10px 3px #38c;
box-shadow: 0 0 20px 1px #38c; box-shadow: 0 0 10px 3px #38c;
} }
.sessionNowPlayingTime { .sessionNowPlayingTime {

View File

@ -5,7 +5,6 @@
font-weight: normal!important; font-weight: normal!important;
display: block; display: block;
position: relative; position: relative;
border-radius: .3125em;
-webkit-transition: all 500ms ease; -webkit-transition: all 500ms ease;
-moz-transition: all 500ms ease; -moz-transition: all 500ms ease;
-o-transition: all 500ms ease; -o-transition: all 500ms ease;

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>${TitleDashboard}</title> <title>${TitleServer}</title>
</head> </head>
<body> <body>
<div id="dashboardPage" data-role="page" class="page type-interior dashboardHomePage"> <div id="dashboardPage" data-role="page" class="page type-interior dashboardHomePage">
@ -10,10 +10,10 @@
<div class="content-primary"> <div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true"> <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="dashboardgeneral.html" data-role="button">${TabGeneral}</a>
<a href="dashboardinfopage.html" data-role="button">${TabInfo}</a> <a href="advancedserversettings.html" data-role="button">${TabAdvanced}</a>
<a href="branding.html" data-role="button">${TabBranding}</a> <a href="serversecurity.html" data-role="button">${TabSecurity}</a>
</div> </div>
<div class="dashboardContent"> <div class="dashboardContent">
<div class="readOnlyContent dashboardHomeLeftColumn"> <div class="readOnlyContent dashboardHomeLeftColumn">
@ -116,6 +116,44 @@
</div> </div>
</div> </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> </div>
</div> </div>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>${TitleDashboard}</title> <title>${TitleServer}</title>
</head> </head>
<body> <body>
<div id="dashboardGeneralPage" data-role="page" class="page type-interior dashboardHomePage"> <div id="dashboardGeneralPage" data-role="page" class="page type-interior dashboardHomePage">
@ -10,10 +10,10 @@
<div class="content-primary"> <div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true"> <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="#" data-role="button" class="ui-btn-active">${TabGeneral}</a>
<a href="dashboardinfopage.html" data-role="button">${TabInfo}</a> <a href="advancedserversettings.html" data-role="button">${TabAdvanced}</a>
<a href="branding.html" data-role="button">${TabBranding}</a> <a href="serversecurity.html" data-role="button">${TabSecurity}</a>
</div> </div>
<form class="dashboardGeneralForm"> <form class="dashboardGeneralForm">
@ -36,6 +36,23 @@
</div> </div>
</li> </li>
</ul> </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"> <ul data-role="listview" class="ulForm">
<li> <li>
<button type="submit" data-theme="b" data-icon="check" data-mini="true"> <button type="submit" data-theme="b" data-icon="check" data-mini="true">

View File

@ -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>

View File

@ -14,7 +14,6 @@
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a> <a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
<a href="advancedpaths.html" data-role="button">${TabPaths}</a> <a href="advancedpaths.html" data-role="button">${TabPaths}</a>
<a href="appsplayback.html" data-role="button">${TabResume}</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> <a href="#" data-role="button" class="ui-btn-active">${TabTranscoding}</a>
</div> </div>

View File

@ -9,6 +9,7 @@
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">
<a href="tvrecommended.html">${TabSuggested}</a> <a href="tvrecommended.html">${TabSuggested}</a>
<a href="tvlatest.html">${TabLatest}</a> <a href="tvlatest.html">${TabLatest}</a>
<a href="tvupcoming.html">${TabUpcoming}</a>
<a href="tvshows.html">${TabShows}</a> <a href="tvshows.html">${TabShows}</a>
<a href="#" class="ui-btn-active">${TabEpisodes}</a> <a href="#" class="ui-btn-active">${TabEpisodes}</a>
<a href="tvgenres.html">${TabGenres}</a> <a href="tvgenres.html">${TabGenres}</a>

View File

@ -16,7 +16,7 @@
<div data-role="content"> <div data-role="content">
<table class="ehsContent homeEhsContent"> <table class="ehsContent">
<tr> <tr>
<td> <td>
<div class="sections"></div> <div class="sections"></div>

View File

@ -16,7 +16,7 @@
<div data-role="content"> <div data-role="content">
<table class="ehsContent homeEhsContent"> <table class="ehsContent">
<tr> <tr>
<td> <td>
<div class="sections"></div> <div class="sections"></div>

View File

@ -64,6 +64,7 @@
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">
<a href="tvrecommended.html">${TabSuggested}</a> <a href="tvrecommended.html">${TabSuggested}</a>
<a href="tvlatest.html">${TabLatest}</a> <a href="tvlatest.html">${TabLatest}</a>
<a href="tvupcoming.html">${TabUpcoming}</a>
<a href="tvshows.html">${TabShows}</a> <a href="tvshows.html">${TabShows}</a>
<a href="episodes.html">${TabEpisodes}</a> <a href="episodes.html">${TabEpisodes}</a>
<a href="tvgenres.html">${TabGenres}</a> <a href="tvgenres.html">${TabGenres}</a>

View File

@ -25,7 +25,7 @@
<div id="boxsetTabs" class="itemTabs" style="display: none;"> <div id="boxsetTabs" class="itemTabs" style="display: none;">
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">
<a href="#" class="ui-btn-active">${TabCollections}</a> <a href="collections.html" class="ui-btn-active">${TabCollections}</a>
</div> </div>
</div> </div>
@ -44,6 +44,7 @@
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">
<a href="tvrecommended.html">${TabSuggested}</a> <a href="tvrecommended.html">${TabSuggested}</a>
<a href="tvlatest.html">${TabLatest}</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="tvshows.html" class="ui-btn-active">${TabShows}</a>
<a href="episodes.html">${TabEpisodes}</a> <a href="episodes.html">${TabEpisodes}</a>
<a href="tvgenres.html">${TabGenres}</a> <a href="tvgenres.html">${TabGenres}</a>
@ -254,6 +255,7 @@
<div id="scenesCollapsible" style="display: none;" class="detailSection"> <div id="scenesCollapsible" style="display: none;" class="detailSection">
<div class="detailSectionHeader"> <div class="detailSectionHeader">
${HeaderScenes} ${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>
<div id="scenesContent" class="detailSectionContent"></div> <div id="scenesContent" class="detailSectionContent"></div>
</div> </div>

View File

@ -18,11 +18,7 @@
<table class="ehsContent squareEhsContent"> <table class="ehsContent squareEhsContent">
<tr> <tr>
<td> <td>
<h1 class="listHeader">${HeaderLatestAlbums}</h1> <h1 class="listHeader">${HeaderLatestMusic}</h1>
<div id="recentlyAddedAlbums">
</div>
<h1 class="listHeader">${HeaderLatestSongs}</h1>
<div id="recentlyAddedSongs"> <div id="recentlyAddedSongs">
</div> </div>

View File

@ -13,7 +13,6 @@
<a href="advanced.html" data-role="button">${TabGeneral}</a> <a href="advanced.html" data-role="button">${TabGeneral}</a>
<a href="#" data-role="button" class="ui-btn-active">${TabNotifications}</a> <a href="#" data-role="button" class="ui-btn-active">${TabNotifications}</a>
<a href="advancedpaths.html" data-role="button">${TabPaths}</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> <a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
</div> </div>

View File

@ -14,7 +14,6 @@
<a href="notificationsettings.html" data-role="button" class="ui-btn-active">${TabNotifications}</a> <a href="notificationsettings.html" data-role="button" class="ui-btn-active">${TabNotifications}</a>
<a href="advancedpaths.html" data-role="button">${TabPaths}</a> <a href="advancedpaths.html" data-role="button">${TabPaths}</a>
<a href="appsplayback.html" data-role="button">${TabResume}</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> <a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
</div> </div>

View File

@ -14,7 +14,6 @@
<a href="#" data-role="button" class="ui-btn-active">${TabNotifications}</a> <a href="#" data-role="button" class="ui-btn-active">${TabNotifications}</a>
<a href="advancedpaths.html" data-role="button">${TabPaths}</a> <a href="advancedpaths.html" data-role="button">${TabPaths}</a>
<a href="appsplayback.html" data-role="button">${TabResume}</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> <a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
</div> </div>

View File

@ -10,6 +10,7 @@
<div data-role="controlgroup" data-type="horizontal" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" data-mini="true">
<a href="plugins.html" data-role="button">${TabMyPlugins}</a> <a href="plugins.html" data-role="button">${TabMyPlugins}</a>
<a href="#" data-role="button" class="ui-btn-active">${TabCatalog}</a> <a href="#" data-role="button" class="ui-btn-active">${TabCatalog}</a>
<a href="channelsettings.html" data-role="button">${TabChannels}</a>
</div> </div>
<br /> <br />

View File

@ -11,6 +11,7 @@
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true"> <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="#" data-role="button" class="ui-btn-active">${TabMyPlugins}</a>
<a href="plugincatalog.html" data-role="button">${TabCatalog}</a> <a href="plugincatalog.html" data-role="button">${TabCatalog}</a>
<a href="channelsettings.html" data-role="button">${TabChannels}</a>
</div> </div>
<div class="readOnlyContent"> <div class="readOnlyContent">

View File

@ -148,7 +148,7 @@
populateHistory(pkg, page); populateHistory(pkg, page);
if (pkg.totalRatings > 0) populateReviews(pkg.id, page); if (pkg.totalRatings > 0) populateReviews(pkg.id, page);
Dashboard.setPageTitle(pkg.name); $('.pluginName', page).html(pkg.name);
if (pkg.targetSystem == 'Server') { if (pkg.targetSystem == 'Server') {
$("#btnInstallDiv", page).show(); $("#btnInstallDiv", page).show();

View File

@ -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);

View File

@ -1,5 +1,7 @@
(function ($, document, window) { (function ($, document, window) {
var brandingConfigKey = "branding";
function loadPage(page, config, languageOptions) { function loadPage(page, config, languageOptions) {
$('#txtServerName', page).val(config.ServerName || ''); $('#txtServerName', page).val(config.ServerName || '');
@ -29,6 +31,10 @@
}); });
ApiClient.getNamedConfiguration(brandingConfigKey).done(function (config) {
$('#txtLoginDisclaimer', page).val(config.LoginDisclaimer || '');
});
}); });
window.DashboardGeneralPage = { window.DashboardGeneralPage = {
@ -43,7 +49,16 @@
config.ServerName = $('#txtServerName', form).val(); config.ServerName = $('#txtServerName', form).val();
config.UICulture = $('#selectLocalizationLanguage', 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 // Disable default form submission

View File

@ -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);

View File

@ -34,6 +34,24 @@
DashboardPage.sessionUpdateTimer = setInterval(DashboardPage.refreshSessionsLocally, 60000); 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 () { refreshSessionsLocally: function () {
var list = DashboardPage.sessionsList; var list = DashboardPage.sessionsList;
@ -78,6 +96,7 @@
$('#btnManualUpdateContainer', page).show(); $('#btnManualUpdateContainer', page).show();
} }
DashboardPage.renderPaths(page, systemInfo);
DashboardPage.renderHasPendingRestart(page, systemInfo.HasPendingRestart); DashboardPage.renderHasPendingRestart(page, systemInfo.HasPendingRestart);
}); });
}, },

View File

@ -53,7 +53,8 @@
showParentTitle: true, showParentTitle: true,
overlayText: screenWidth >= 600, overlayText: screenWidth >= 600,
selectionPanel: true, selectionPanel: true,
lazy: true lazy: true,
context: 'tv'
}); });
} }

View File

@ -129,7 +129,7 @@
var options = { 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", Fields: "PrimaryImageAspectRatio",
IsPlayed: false, IsPlayed: false,
IsFolder: false IsFolder: false
@ -154,7 +154,6 @@
html += '</div>'; html += '</div>';
} }
$(elem).html(html).trigger('create').createPosterItemMenus(); $(elem).html(html).trigger('create').createPosterItemMenus();
}); });
} }

View File

@ -591,7 +591,7 @@
var options = { var options = {
userId: Dashboard.getCurrentUserId(), userId: Dashboard.getCurrentUserId(),
limit: item.Type == "MusicAlbum" ? 4 : 6, limit: item.Type == "MusicAlbum" ? 4 : 5,
fields: "PrimaryImageAspectRatio,UserData" fields: "PrimaryImageAspectRatio,UserData"
}; };
@ -872,7 +872,7 @@
html += '<span>' + type.name + '</span>'; html += '<span>' + type.name + '</span>';
if (user.Configuration.IsAdministrator) { 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>'; html += '</div>';

View File

@ -327,6 +327,24 @@
$(document).on('pageshow', ".mediaLibraryPage", MediaLibraryPage.onPageShow); $(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 ($, document, window) {
function pollTasks(page) { function pollTasks(page) {

View File

@ -12,7 +12,7 @@
var options = { var options = {
IncludeItemTypes: "Movie", 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", Fields: "PrimaryImageAspectRatio",
ParentId: parentId, ParentId: parentId,
IsPlayed: false IsPlayed: false

View File

@ -50,7 +50,7 @@
SortOrder: "Descending", SortOrder: "Descending",
IncludeItemTypes: "Movie", IncludeItemTypes: "Movie",
Filters: "IsResumable", Filters: "IsResumable",
Limit: screenWidth >= 1920 ? 4 : (screenWidth >= 1440 ? 4 : 3), Limit: screenWidth >= 1920 ? 6 : (screenWidth >= 1440 ? 6 : 3),
Recursive: true, Recursive: true,
Fields: "PrimaryImageAspectRatio", Fields: "PrimaryImageAspectRatio",
CollapseBoxSetItems: false, CollapseBoxSetItems: false,
@ -81,7 +81,7 @@
userId: Dashboard.getCurrentUserId(), userId: Dashboard.getCurrentUserId(),
categoryLimit: screenWidth >= 1200 ? 4 : 3, categoryLimit: screenWidth >= 1200 ? 4 : 3,
itemLimit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 7), itemLimit: screenWidth >= 1920 ? 6 : (screenWidth >= 1440 ? 6 : 7),
Fields: "PrimaryImageAspectRatio" Fields: "PrimaryImageAspectRatio"
}); });

View File

@ -10,28 +10,8 @@
var parentId = LibraryMenu.getTopParentId(); var parentId = LibraryMenu.getTopParentId();
var options = { 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", IncludeItemTypes: "Audio",
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6), Limit: screenWidth >= 1920 ? 14 : (screenWidth >= 1440 ? 14 : 12),
Fields: "PrimaryImageAspectRatio", Fields: "PrimaryImageAspectRatio",
ParentId: parentId ParentId: parentId
}; };
@ -54,7 +34,7 @@
SortBy: "DatePlayed", SortBy: "DatePlayed",
SortOrder: "Descending", SortOrder: "Descending",
IncludeItemTypes: "Audio", IncludeItemTypes: "Audio",
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6), Limit: screenWidth >= 1920 ? 7 : (screenWidth >= 1440 ? 7 : 6),
Recursive: true, Recursive: true,
Fields: "PrimaryImageAspectRatio,AudioInfo", Fields: "PrimaryImageAspectRatio,AudioInfo",
Filters: "IsPlayed", Filters: "IsPlayed",
@ -84,7 +64,7 @@
SortBy: "PlayCount", SortBy: "PlayCount",
SortOrder: "Descending", SortOrder: "Descending",
IncludeItemTypes: "Audio", IncludeItemTypes: "Audio",
Limit: screenWidth >= 1920 ? 16 : (screenWidth >= 1440 ? 16 : 12), Limit: screenWidth >= 1920 ? 14 : (screenWidth >= 1440 ? 14 : 12),
Recursive: true, Recursive: true,
Fields: "PrimaryImageAspectRatio,AudioInfo", Fields: "PrimaryImageAspectRatio,AudioInfo",
Filters: "IsPlayed", Filters: "IsPlayed",

View File

@ -0,0 +1 @@


View File

@ -657,7 +657,7 @@ var Dashboard = {
var pageElem = page[0]; var pageElem = page[0];
return [{ return [{
name: "Dashboard", name: "Server",
href: "dashboard.html", href: "dashboard.html",
selected: page.hasClass("dashboardHomePage") selected: page.hasClass("dashboardHomePage")
}, { }, {
@ -677,11 +677,6 @@ var Dashboard = {
name: "Auto-Organize", name: "Auto-Organize",
href: "autoorganizelog.html", href: "autoorganizelog.html",
selected: page.hasClass("organizePage") selected: page.hasClass("organizePage")
}, {
name: "Channels",
divider: true,
href: "channelsettings.html",
selected: page.hasClass("channelSettingsPage")
}, { }, {
name: "DLNA", name: "DLNA",
href: "dlnasettings.html", href: "dlnasettings.html",

View File

@ -11,27 +11,29 @@
}; };
query.ParentId = LibraryMenu.getTopParentId(); query.ParentId = LibraryMenu.getTopParentId();
var context = '';
if (query.ParentId) { if (query.ParentId) {
$('.scopedLibraryViewNav', page).show(); $('.scopedLibraryViewNav', page).show();
$('.globalNav', page).hide(); $('.globalNav', page).hide();
$('.homeEhsContent', page).css('text-align', 'left'); $('.ehsContent', page).css('text-align', 'left');
$('.scopedContent', page).show(); $('.scopedContent', page).show();
context = 'tv';
loadResume(page); loadResume(page);
} else { } else {
$('.scopedLibraryViewNav', page).hide(); $('.scopedLibraryViewNav', page).hide();
$('.globalNav', page).show(); $('.globalNav', page).show();
$('.homeEhsContent', page).css('text-align', 'center'); $('.ehsContent', page).css('text-align', 'center');
$('.scopedContent', page).hide(); $('.scopedContent', page).hide();
} }
loadNextUp(page); loadNextUp(page, context || 'home-nextup');
} }
function loadNextUp(page) { function loadNextUp(page, context) {
var screenWidth = $(window).width(); var screenWidth = $(window).width();
@ -49,13 +51,13 @@
$('.scopedLibraryViewNav', page).show(); $('.scopedLibraryViewNav', page).show();
$('.globalNav', page).hide(); $('.globalNav', page).hide();
$('.ehsContent', page).css('text-align', 'left').removeClass('homeEhsContent'); $('.ehsContent', page).css('text-align', 'left');
$('.scopedContent', page).show(); $('.scopedContent', page).show();
} else { } else {
$('.scopedLibraryViewNav', page).hide(); $('.scopedLibraryViewNav', page).hide();
$('.globalNav', page).show(); $('.globalNav', page).show();
$('.ehsContent', page).css('text-align', 'center').addClass('homeEhsContent'); $('.ehsContent', page).css('text-align', 'center');
$('.scopedContent', page).hide(); $('.scopedContent', page).hide();
} }
@ -73,7 +75,7 @@
showTitle: true, showTitle: true,
showParentTitle: true, showParentTitle: true,
overlayText: screenWidth >= 600, overlayText: screenWidth >= 600,
context: 'home-nextup', context: context,
lazy: true lazy: true
})).trigger('create').createPosterItemMenus(); })).trigger('create').createPosterItemMenus();
@ -93,7 +95,7 @@
SortOrder: "Descending", SortOrder: "Descending",
IncludeItemTypes: "Episode", IncludeItemTypes: "Episode",
Filters: "IsResumable", Filters: "IsResumable",
Limit: screenWidth >= 1920 ? 5 : 4, Limit: screenWidth >= 1920 ? 6 : 4,
Recursive: true, Recursive: true,
Fields: "PrimaryImageAspectRatio,SeriesInfo,UserData", Fields: "PrimaryImageAspectRatio,SeriesInfo,UserData",
ExcludeLocationTypes: "Virtual", ExcludeLocationTypes: "Virtual",
@ -116,7 +118,8 @@
showTitle: true, showTitle: true,
showParentTitle: true, showParentTitle: true,
overlayText: screenWidth >= 600, overlayText: screenWidth >= 600,
lazy: true lazy: true,
context: 'tv'
})).trigger('create').createPosterItemMenus(); })).trigger('create').createPosterItemMenus();

View File

@ -56,18 +56,6 @@
}); });
$('.itemsContainer', page).removeClass('timelineItemsContainer'); $('.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") { else if (view == "List") {
html = LibraryBrowser.getListViewHtml({ html = LibraryBrowser.getListViewHtml({
@ -77,18 +65,18 @@
}); });
$('.itemsContainer', page).removeClass('timelineItemsContainer'); $('.itemsContainer', page).removeClass('timelineItemsContainer');
} }
else if (view == "Timeline") { else {
// Poster
html = LibraryBrowser.getPosterViewHtml({ html = LibraryBrowser.getPosterViewHtml({
items: result.Items, items: result.Items,
shape: "portrait", shape: "portrait",
context: 'tv', context: 'tv',
timeline: true,
showTitle: true, showTitle: true,
centerText: true,
lazy: true lazy: true
}); });
$('.itemsContainer', page).removeClass('timelineItemsContainer');
$('.itemsContainer', page).addClass('timelineItemsContainer');
} }
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount); html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);

View File

@ -13,6 +13,19 @@
query.ParentId = LibraryMenu.getTopParentId(); 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) { ApiClient.getJSON(ApiClient.getUrl("Shows/Upcoming", query)).done(function (result) {
var items = result.Items; var items = result.Items;
@ -31,8 +44,8 @@
showPremiereDate: true, showPremiereDate: true,
showPremiereDateIndex: true, showPremiereDateIndex: true,
preferThumb: true, preferThumb: true,
context: 'home-upcoming', context: context || 'home-upcoming',
lazy: true lazy: true,
})).trigger('create').createPosterItemMenus(); })).trigger('create').createPosterItemMenus();
}); });

View File

@ -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);

View File

@ -50,7 +50,7 @@
function navigateToNextPage() { function navigateToNextPage() {
Dashboard.navigate('wizardimagesettings.html'); Dashboard.navigate('wizardservice.html');
} }
$(document).on('pageshow', "#wizardSettingsPage", function () { $(document).on('pageshow', "#wizardSettingsPage", function () {

View 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>

View File

@ -8,6 +8,7 @@
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">
<a href="tvrecommended.html">${TabSuggested}</a> <a href="tvrecommended.html">${TabSuggested}</a>
<a href="tvlatest.html">${TabLatest}</a> <a href="tvlatest.html">${TabLatest}</a>
<a href="tvupcoming.html">${TabUpcoming}</a>
<a href="tvshows.html">${TabShows}</a> <a href="tvshows.html">${TabShows}</a>
<a href="episodes.html">${TabEpisodes}</a> <a href="episodes.html">${TabEpisodes}</a>
<a href="#" class="ui-btn-active">${TabGenres}</a> <a href="#" class="ui-btn-active">${TabGenres}</a>

View File

@ -8,6 +8,7 @@
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">
<a href="tvrecommended.html">${TabSuggested}</a> <a href="tvrecommended.html">${TabSuggested}</a>
<a href="#" class="ui-btn-active">${TabLatest}</a> <a href="#" class="ui-btn-active">${TabLatest}</a>
<a href="tvupcoming.html">${TabUpcoming}</a>
<a href="tvshows.html">${TabShows}</a> <a href="tvshows.html">${TabShows}</a>
<a href="episodes.html">${TabEpisodes}</a> <a href="episodes.html">${TabEpisodes}</a>
<a href="tvgenres.html">${TabGenres}</a> <a href="tvgenres.html">${TabGenres}</a>

View File

@ -8,6 +8,7 @@
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">
<a href="tvrecommended.html">${TabSuggested}</a> <a href="tvrecommended.html">${TabSuggested}</a>
<a href="tvlatest.html">${TabLatest}</a> <a href="tvlatest.html">${TabLatest}</a>
<a href="tvupcoming.html">${TabUpcoming}</a>
<a href="tvshows.html">${TabShows}</a> <a href="tvshows.html">${TabShows}</a>
<a href="episodes.html">${TabEpisodes}</a> <a href="episodes.html">${TabEpisodes}</a>
<a href="tvgenres.html">${TabGenres}</a> <a href="tvgenres.html">${TabGenres}</a>

View File

@ -16,6 +16,7 @@
<div class="libraryViewNav scopedLibraryViewNav" style="display: none;"> <div class="libraryViewNav scopedLibraryViewNav" style="display: none;">
<a href="tvrecommended.html" class="ui-btn-active">${TabSuggested}</a> <a href="tvrecommended.html" class="ui-btn-active">${TabSuggested}</a>
<a href="tvlatest.html">${TabLatest}</a> <a href="tvlatest.html">${TabLatest}</a>
<a href="tvupcoming.html">${TabUpcoming}</a>
<a href="tvshows.html">${TabShows}</a> <a href="tvshows.html">${TabShows}</a>
<a href="episodes.html">${TabEpisodes}</a> <a href="episodes.html">${TabEpisodes}</a>
<a href="tvgenres.html">${TabGenres}</a> <a href="tvgenres.html">${TabGenres}</a>

View File

@ -8,6 +8,7 @@
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">
<a href="tvrecommended.html">${TabSuggested}</a> <a href="tvrecommended.html">${TabSuggested}</a>
<a href="tvlatest.html">${TabLatest}</a> <a href="tvlatest.html">${TabLatest}</a>
<a href="tvupcoming.html">${TabUpcoming}</a>
<a href="#" class="ui-btn-active">${TabShows}</a> <a href="#" class="ui-btn-active">${TabShows}</a>
<a href="episodes.html">${TabEpisodes}</a> <a href="episodes.html">${TabEpisodes}</a>
<a href="tvgenres.html">${TabGenres}</a> <a href="tvgenres.html">${TabGenres}</a>
@ -25,7 +26,6 @@
<option value="Poster">${OptionPoster}</option> <option value="Poster">${OptionPoster}</option>
<option value="Banner">${OptionBanner}</option> <option value="Banner">${OptionBanner}</option>
<option value="List">${OptionList}</option> <option value="List">${OptionList}</option>
<option value="Timeline">${OptionTimeline}</option>
</select> </select>
</div> </div>
</div> </div>

View File

@ -8,6 +8,7 @@
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">
<a href="tvrecommended.html">${TabSuggested}</a> <a href="tvrecommended.html">${TabSuggested}</a>
<a href="tvlatest.html">${TabLatest}</a> <a href="tvlatest.html">${TabLatest}</a>
<a href="tvupcoming.html">${TabUpcoming}</a>
<a href="tvshows.html">${TabShows}</a> <a href="tvshows.html">${TabShows}</a>
<a href="episodes.html">${TabEpisodes}</a> <a href="episodes.html">${TabEpisodes}</a>
<a href="tvgenres.html">${TabGenres}</a> <a href="tvgenres.html">${TabGenres}</a>

View File

@ -5,15 +5,25 @@
</head> </head>
<body> <body>
<div id="tvUpcomingPage" data-role="page" class="page libraryPage backdropPage" data-backdroptype="series" data-theme="b"> <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="index.html">${TabHome}</a>
<a href="homelatest.html">${TabLatest}</a> <a href="homelatest.html">${TabLatest}</a>
<a href="tvrecommended.html">${TabNextUp}</a> <a href="tvrecommended.html">${TabNextUp}</a>
<a href="favorites.html">${TabFavorites}</a> <a href="favorites.html">${TabFavorites}</a>
<a href="#" class="ui-btn-active">${TabUpcoming}</a> <a href="#" class="ui-btn-active">${TabUpcoming}</a>
</div> </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"> <div data-role="content">
<table class="ehsContent homeEhsContent"> <table class="ehsContent">
<tr> <tr>
<td> <td>
<div id="upcomingItems"> <div id="upcomingItems">

View File

@ -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>

View File

@ -54,7 +54,7 @@
<div class="wizardNavigation"> <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="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>
</div> </div>