mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
sync updates
This commit is contained in:
parent
3105920c99
commit
ce737e9d7b
@ -833,7 +833,7 @@
|
||||
|
||||
if (item.Type == 'Series' || item.Type == 'Season' || item.Type == 'BoxSet' || item.MediaType == 'Video') {
|
||||
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') {
|
||||
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 () {
|
||||
|
||||
Dashboard.navigate('wizardfinish.html');
|
||||
Dashboard.navigate('wizardagreement.html');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
||||
Dashboard.navigate('wizardservice.html');
|
||||
|
||||
} else {
|
||||
Dashboard.navigate('wizardfinish.html');
|
||||
Dashboard.navigate('wizardagreement.html');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -49,8 +49,8 @@
|
||||
<label for="chkManageLiveTv">${OptionAllowManageLiveTv}</label>
|
||||
<input type="checkbox" id="chkEnableContentDeletion" name="chkEnableContentDeletion" />
|
||||
<label for="chkEnableContentDeletion">${OptionAllowDeleteLibraryContent}</label>
|
||||
<input type="checkbox" id="chkEnableSync" />
|
||||
<label for="chkEnableSync">${OptionAllowSyncContent}</label>
|
||||
<!--<input type="checkbox" id="chkEnableSync" />
|
||||
<label for="chkEnableSync">${OptionAllowSyncContent}</label>-->
|
||||
</fieldset>
|
||||
<br />
|
||||
<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…
Reference in New Issue
Block a user