diff --git a/dashboard-ui/css/images/splash.jpg b/dashboard-ui/css/images/splash.jpg
index 2b48e0a70c..0a48f5980b 100644
Binary files a/dashboard-ui/css/images/splash.jpg and b/dashboard-ui/css/images/splash.jpg differ
diff --git a/dashboard-ui/scripts/userparentalcontrol.js b/dashboard-ui/scripts/userparentalcontrol.js
index 4315b41fcb..c1e54a3f6b 100644
--- a/dashboard-ui/scripts/userparentalcontrol.js
+++ b/dashboard-ui/scripts/userparentalcontrol.js
@@ -82,7 +82,6 @@
loadUnratedItems(page, user);
loadBlockedTags(page, user.Policy.BlockedTags);
- loadAllowedTags(page, user.Policy.AllowedTags);
populateRatings(allParentalRatings, page);
@@ -147,40 +146,6 @@
});
}
- function loadAllowedTags(page, tags) {
-
- var html = '
';
-
- var elem = $('.allowedTags', page).html(html).trigger('create');
-
- $('.btnDeleteTag', elem).on('click', function () {
-
- var tag = this.getAttribute('data-tag');
-
- var newTags = tags.filter(function (t) {
- return t != tag;
- });
-
- loadAllowedTags(page, newTags);
- });
- }
-
function deleteAccessSchedule(page, schedules, index) {
schedules.splice(index, 1);
@@ -245,7 +210,6 @@
user.Policy.AccessSchedules = getSchedulesFromPage(page);
user.Policy.BlockedTags = getBlockedTagsFromPage(page);
- user.Policy.AllowedTags = getAllowedTagsFromPage(page);
ApiClient.updateUserPolicy(user.Id, user.Policy).done(function () {
onSaveComplete(page);
@@ -286,16 +250,6 @@
saveBlockedTag(page);
- // Disable default form submission
- return false;
- },
-
- onAllowedTagFormSubmit: function () {
-
- var page = $(this).parents('.page');
-
- saveAllowedTag(page);
-
// Disable default form submission
return false;
}
@@ -385,19 +339,6 @@
$('#popupBlockedTag', page).popup('close');
}
- function saveAllowedTag(page) {
-
- var tag = $('#txtAllowedTag', page).val();
- var tags = getAllowedTagsFromPage(page);
-
- if (tags.indexOf(tag) == -1) {
- tags.push(tag);
- loadAllowedTags(page, tags);
- }
-
- $('#popupAllowedTag', page).popup('close');
- }
-
function getSchedulesFromPage(page) {
return $('.liSchedule', page).map(function () {
@@ -420,27 +361,12 @@
}).get();
}
- function getAllowedTagsFromPage(page) {
-
- return $('.allowedTag', page).map(function () {
-
- return this.getAttribute('data-tag');
-
- }).get();
- }
-
function showBlockedTagPopup(page) {
$('#popupBlockedTag', page).popup('open');
$('#txtBlockedTag', page).val('').focus();
}
- function showAllowedTagPopup(page) {
-
- $('#popupAllowedTag', page).popup('open');
- $('#txtAllowedTag', page).val('').focus();
- }
-
$(document).on('pageinit', "#userParentalControlPage", function () {
var page = this;
@@ -456,12 +382,6 @@
showBlockedTagPopup(page);
});
-
- $('.btnAddAllowedTag', page).on('click', function () {
-
- showAllowedTagPopup(page);
- });
-
populateHours(page);
}).on('pageshow', "#userParentalControlPage", function () {
diff --git a/dashboard-ui/userparentalcontrol.html b/dashboard-ui/userparentalcontrol.html
index 7242ea55d2..6144a28ba0 100644
--- a/dashboard-ui/userparentalcontrol.html
+++ b/dashboard-ui/userparentalcontrol.html
@@ -41,17 +41,6 @@
-
-
-
${LabelAllowContentWithTags}
-
-
-
-
-
-
-
-
${HeaderAccessSchedule}
@@ -103,33 +92,6 @@
-
-