jellyfin-web/dashboard-ui/userparentalcontrol.html

158 lines
8.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
2014-12-26 10:45:06 -07:00
<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">
2014-04-01 15:23:07 -07:00
<a href="#" data-role="button" onclick="Dashboard.navigate('useredit.html', true);">${TabProfile}</a>
2014-12-29 13:18:48 -07:00
<a href="#" data-role="button" onclick="Dashboard.navigate('userlibraryaccess.html', true);">${TabAccess}</a>
2014-10-13 21:59:34 -07:00
<a href="#" data-role="button" onclick="Dashboard.navigate('userparentalcontrol.html', true);" class="ui-btn-active">${TabParentalControl}</a>
2014-10-29 15:01:02 -07:00
<a href="#" data-role="button" onclick="Dashboard.navigate('userpassword.html', true);">${TabPassword}</a>
</div>
<form class="userParentalControlForm">
2013-12-26 09:53:23 -07:00
<ul data-role="listview" class="ulForm">
<li>
2014-04-01 15:23:07 -07:00
<label for="selectMaxParentalRating">${LabelMaxParentalRating}</label>
2014-02-20 22:04:11 -07:00
<select name="selectMaxParentalRating" id="selectMaxParentalRating" data-mini="true"></select>
2014-04-01 15:23:07 -07:00
<div class="fieldDescription">${MaxParentalRatingHelp}</div>
</li>
</ul>
2013-12-26 09:53:23 -07:00
<div>
<div class="blockUnratedItems">
</div>
2013-12-26 09:53:23 -07:00
</div>
<br />
2014-11-28 19:40:46 -07:00
<div>
<div>
2015-02-08 23:17:11 -07:00
<div class="ui-controlgroup-label" style="display:inline-block;">${LabelBlockOrAllowItemsWithTags}</div>
2014-11-28 19:40:46 -07:00
<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>
2015-02-08 23:17:11 -07:00
<div class="tagFilters" style="margin-top:.5em;">
2014-11-28 19:40:46 -07:00
</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">
2014-04-01 15:23:07 -07:00
${ButtonSave}
</button>
</li>
</ul>
</form>
2014-11-28 19:40:46 -07:00
<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>
2015-01-01 22:36:27 -07:00
<input id="txtTag" type="text" required="required" />
2014-11-28 19:40:46 -07:00
</li>
2015-02-08 23:17:11 -07:00
<li>
<label for="selectTagMode">${LabelTagFilterMode}</label>
<select id="selectTagMode" data-mini="true">
<option value="Block">${OptionBlockItemWithTag}</option>
<option value="Allow">${OptionAllowItemWithTag}</option>
</select>
<div class="fieldDescription allowModeHelp">${LabelTagFilterAllowModeHelp}</div>
</li>
2014-11-28 19:40:46 -07:00
<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>
2014-11-28 19:40:46 -07:00
<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>
2014-10-15 20:26:39 -07:00
<option value="Everyday">${OptionEveryday}</option>
<option value="Weekday">${OptionWeekdays}</option>
<option value="Weekend">${OptionWeekends}</option>
2014-10-29 15:01:02 -07:00
</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" />
2014-11-28 19:40:46 -07:00
<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">
2014-11-28 19:40:46 -07:00
$('.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>