mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
sync updates
This commit is contained in:
parent
3105920c99
commit
ce737e9d7b
6 changed files with 72 additions and 5 deletions
|
@ -833,7 +833,7 @@
|
||||||
|
|
||||||
if (item.Type == 'Series' || item.Type == 'Season' || item.Type == 'BoxSet' || item.MediaType == 'Video') {
|
if (item.Type == 'Series' || item.Type == 'Season' || item.Type == 'BoxSet' || item.MediaType == 'Video') {
|
||||||
if (item.UserData.UnplayedItemCount) {
|
if (item.UserData.UnplayedItemCount) {
|
||||||
html += '<span class="ui-li-count">' + item.UserData.UnplayedItemCount + '</span>';
|
//html += '<span class="ui-li-count">' + item.UserData.UnplayedItemCount + '</span>';
|
||||||
} else if (item.UserData.Played && item.Type != 'TvChannel') {
|
} else if (item.UserData.Played && item.Type != 'TvChannel') {
|
||||||
html += '<div class="playedIndicator"><div class="ui-icon-check ui-btn-icon-notext"></div></div>';
|
html += '<div class="playedIndicator"><div class="ui-icon-check ui-btn-icon-notext"></div></div>';
|
||||||
}
|
}
|
||||||
|
|
22
dashboard-ui/scripts/wizardagreement.js
Normal file
22
dashboard-ui/scripts/wizardagreement.js
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
(function (window, $) {
|
||||||
|
|
||||||
|
function onSubmit(page) {
|
||||||
|
|
||||||
|
if ($('#chkAccept', page).checked()) {
|
||||||
|
Dashboard.navigate('wizardfinish.html');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.WizardAgreementPage = {
|
||||||
|
|
||||||
|
onSubmit: function () {
|
||||||
|
|
||||||
|
var page = $(this).parents('.page');
|
||||||
|
|
||||||
|
onSubmit(page);
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
})(window, jQuery);
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
$('#btnNextPage', page).on('click', function () {
|
$('#btnNextPage', page).on('click', function () {
|
||||||
|
|
||||||
Dashboard.navigate('wizardfinish.html');
|
Dashboard.navigate('wizardagreement.html');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
Dashboard.navigate('wizardservice.html');
|
Dashboard.navigate('wizardservice.html');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
Dashboard.navigate('wizardfinish.html');
|
Dashboard.navigate('wizardagreement.html');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,8 +49,8 @@
|
||||||
<label for="chkManageLiveTv">${OptionAllowManageLiveTv}</label>
|
<label for="chkManageLiveTv">${OptionAllowManageLiveTv}</label>
|
||||||
<input type="checkbox" id="chkEnableContentDeletion" name="chkEnableContentDeletion" />
|
<input type="checkbox" id="chkEnableContentDeletion" name="chkEnableContentDeletion" />
|
||||||
<label for="chkEnableContentDeletion">${OptionAllowDeleteLibraryContent}</label>
|
<label for="chkEnableContentDeletion">${OptionAllowDeleteLibraryContent}</label>
|
||||||
<input type="checkbox" id="chkEnableSync" />
|
<!--<input type="checkbox" id="chkEnableSync" />
|
||||||
<label for="chkEnableSync">${OptionAllowSyncContent}</label>
|
<label for="chkEnableSync">${OptionAllowSyncContent}</label>-->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
|
|
45
dashboard-ui/wizardagreement.html
Normal file
45
dashboard-ui/wizardagreement.html
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${TitleMediaBrowser}</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="wizardAgreementPage" data-role="page" class="page standalonePage wizardPage">
|
||||||
|
|
||||||
|
<div data-role="content">
|
||||||
|
|
||||||
|
<div class="ui-corner-all ui-shadow wizardContent" style="position:relative;">
|
||||||
|
<form class="wizardAgreementForm">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h2 style="float:left;">
|
||||||
|
<img src="css/images/mblogoicon.png" />${HeaderTermsOfService}
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br style="clear:both;" />
|
||||||
|
<p>${MessagePleaseAcceptTermsOfService}</p>
|
||||||
|
|
||||||
|
<p><a href="http://mediabrowser.tv/privacy" target="_blank">${ButtonPrivacyPolicy}</a></p>
|
||||||
|
<p><a href="http://mediabrowser.tv/terms" target="_blank">${ButtonTermsOfService}</a></p>
|
||||||
|
<ul data-role="listview" class="ulForm">
|
||||||
|
<li>
|
||||||
|
<label for="chkAccept">${OptionIAcceptTermsOfService}</label>
|
||||||
|
<input id="chkAccept" type="checkbox" />
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="wizardNavigation">
|
||||||
|
<button type="submit" data-iconpos="right" data-icon="arrow-r" data-inline="true">${LabelNext}</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$('.wizardAgreementForm').off('submit', WizardAgreementPage.onSubmit).on('submit', WizardAgreementPage.onSubmit);
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Add a link
Reference in a new issue