jellyfin-web/dashboard-ui/userparentalcontrol.html
Luke Pulverenti ea66c9a08c sync updates
2014-12-26 12:45:06 -05:00

150 lines
7.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div id="userParentalControlPage" data-role="page" class="page type-interior userProfilesPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Users">
<div data-role="content">
<div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="#" data-role="button" onclick="Dashboard.navigate('useredit.html', true);">${TabProfile}</a>
<a href="#" data-role="button" onclick="Dashboard.navigate('userlibraryaccess.html', true);">${TabLibraryAccess}</a>
<a href="#" data-role="button" onclick="Dashboard.navigate('userparentalcontrol.html', true);" class="ui-btn-active">${TabParentalControl}</a>
<a href="#" data-role="button" onclick="Dashboard.navigate('userpassword.html', true);">${TabPassword}</a>
</div>
<form class="userParentalControlForm">
<ul data-role="listview" class="ulForm">
<li>
<label for="selectMaxParentalRating">${LabelMaxParentalRating}</label>
<select name="selectMaxParentalRating" id="selectMaxParentalRating" data-mini="true"></select>
<div class="fieldDescription">${MaxParentalRatingHelp}</div>
</li>
</ul>
<div>
<div class="blockUnratedItems">
</div>
</div>
<br />
<div>
<div>
<div class="ui-controlgroup-label" style="display:inline-block;">${LabelBlockItemsWithTags}</div>
<button type="button" class="btnAddTag" data-inline="true" data-mini="true" data-iconpos="notext" data-icon="plus" style="vertical-align:middle;margin: -5px 0 0 1em;">${ButtonAdd}</button>
</div>
<div class="blockedTags" style="margin-top:.5em;">
</div>
</div>
<br />
<div class="accessScheduleSection" style="display:none;">
<div data-role="collapsible">
<h2>${HeaderAccessSchedule}</h2>
<div>
<p>${HeaderAccessScheduleHelp}</p>
<button class="btnAddSchedule" type="button" data-icon="plus" data-mini="true">${ButtonAddSchedule}</button>
<div class="accessScheduleList">
</div>
</div>
</div>
<br />
</div>
<ul data-role="listview" class="ulForm">
<li>
<button type="submit" data-theme="b" data-icon="check">
${ButtonSave}
</button>
</li>
</ul>
</form>
<div data-role="popup" id="popupTag" class="popup" data-theme="a">
<div class="ui-bar-a" style="text-align: center; padding: 5px 20px;">
<h3 style="margin: .5em;">${HeaderAddTag}</h3>
</div>
<div style="padding:10px 5px 0;">
<form class="tagForm" style="min-width:210px;">
<ul data-role="listview" class="ulForm" style="margin-bottom:10px!important;">
<li>
<label for="txtTag">${LabelTag}</label>
<input id="txtTag" data-mini="true" type="text" required="required" />
</li>
<li>
<button type="submit" data-icon="plus" data-theme="b" data-mini="true">${ButtonAdd}</button>
<button type="button" data-icon="delete" data-mini="true" onclick="$(this).parents('.popup').popup('close');">${ButtonCancel}</button>
</li>
</ul>
</form>
</div>
</div>
<div data-role="popup" id="popupSchedule" class="popup" data-theme="a">
<div class="ui-bar-a" style="text-align: center; padding: 5px 20px;">
<h3 style="margin: .5em;">${HeaderSchedule}</h3>
</div>
<div style="padding:10px 5px 0;">
<form class="scheduleForm" style="min-width:210px;">
<ul data-role="listview" class="ulForm" style="margin-bottom:10px!important;">
<li>
<label for="selectDay">${LabelAccessDay}</label>
<select id="selectDay" data-mini="true">
<option value="Sunday">${OptionSunday}</option>
<option value="Monday">${OptionMonday}</option>
<option value="Tuesday">${OptionTuesday}</option>
<option value="Wednesday">${OptionWednesday}</option>
<option value="Thursday">${OptionThursday}</option>
<option value="Friday">${OptionFriday}</option>
<option value="Saturday">${OptionSaturday}</option>
<option value="Everyday">${OptionEveryday}</option>
<option value="Weekday">${OptionWeekdays}</option>
<option value="Weekend">${OptionWeekends}</option>
</select>
</li>
<li>
<label for="selectStart">${LabelAccessStart}</label>
<select class="selectHour" id="selectStart" data-mini="true"></select>
</li>
<li>
<label for="selectEnd">${LabelAccessEnd}</label>
<select class="selectHour" id="selectEnd" data-mini="true"></select>
</li>
<li>
<input type="hidden" id="fldScheduleIndex" />
<button type="submit" data-icon="plus" data-theme="b" data-mini="true">${ButtonAdd}</button>
<button type="button" data-icon="delete" data-mini="true" onclick="$(this).parents('.popup').popup('close');">${ButtonCancel}</button>
</li>
</ul>
</form>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$('.tagForm').off('submit', UserParentalControlPage.onTagFormSubmit).on('submit', UserParentalControlPage.onTagFormSubmit);
$('.scheduleForm').off('submit', UserParentalControlPage.onScheduleFormSubmit).on('submit', UserParentalControlPage.onScheduleFormSubmit);
$('.userParentalControlForm').off('submit', UserParentalControlPage.onSubmit).on('submit', UserParentalControlPage.onSubmit);
</script>
</div>
</body>
</html>