TESTING - Add Site Notice (Kind of required)
This commit is contained in:
parent
7e3aee8f69
commit
06fd6c8f4c
@ -52,7 +52,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var $ = jQuery;
|
var $ = jQuery;
|
||||||
var notice = 'WARNING! THIS SITE HAS MIXED CONTENT AND IS NOT SAFE FOR WORK OR PUBLIC! \nThis site contains mixed content and has images containing erotic, grotesque acts, or acts of violence. NO content portrays any real life events or content illegal in the United States of America. This database is well regulated by its moderators and all posts are pending until approval. Please see SERVICE USE POLICY on ACR Docs too other policies that apply to this site. \n\nContent such as cate2, cate3, guro, loli, rape, and other are NOT accessible to the public or any bot unless you have an account, you must wait for a OPEN ACCESS day to register or view such content.';
|
var notice = 'WARNING! THIS SITE HAS MIXED CONTENT AND IS NOT SAFE FOR WORK OR PUBLIC! \
|
||||||
|
This site contains mixed content and has images containing erotic, grotesque acts, or acts of violence. NO content portrays any real life events or content illegal in the United States of America. This database is well regulated by its moderators and all posts are pending until approval. Please see SERVICE USE POLICY on ACR Docs too other policies that apply to this site. \
|
||||||
|
Content such as cate2, cate3, guro, loli, rape, and other are NOT accessible to the public or any bot unless you have an account, you must wait for a OPEN ACCESS day to register or view such content.';
|
||||||
var accept = 'YES, I fully understand what content I will see!';
|
var accept = 'YES, I fully understand what content I will see!';
|
||||||
var cancel = 'EXIT, Take me to somewhere normal';
|
var cancel = 'EXIT, Take me to somewhere normal';
|
||||||
|
|
||||||
@ -67,7 +69,7 @@
|
|||||||
zIndex: 999,
|
zIndex: 999,
|
||||||
});
|
});
|
||||||
|
|
||||||
container
|
container
|
||||||
.append(
|
.append(
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.css({
|
.css({
|
||||||
@ -80,14 +82,20 @@
|
|||||||
.append(
|
.append(
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.css({
|
.css({
|
||||||
backgroundColor: 'white',
|
backgroundColor: '#a90000',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
padding: 8,
|
padding: 8,
|
||||||
minWidth: 350,
|
minWidth: 350,
|
||||||
flexDirection: 'column'
|
flexDirection: 'column',
|
||||||
})
|
})
|
||||||
.append(
|
.append(
|
||||||
$('<div>').css({ margin: 8, color: 'black', whitespace:pre-wrap}).html(notice)
|
$('<div>')
|
||||||
|
.css({
|
||||||
|
margin: 8,
|
||||||
|
color: 'white',
|
||||||
|
|
||||||
|
})
|
||||||
|
.html(notice)
|
||||||
)
|
)
|
||||||
.append(
|
.append(
|
||||||
$('<div>')
|
$('<div>')
|
||||||
@ -110,7 +118,7 @@
|
|||||||
$('<button>')
|
$('<button>')
|
||||||
.html(cancel)
|
.html(cancel)
|
||||||
.click(function() {
|
.click(function() {
|
||||||
window.location.href = 'about:blank';
|
window.location.href = 'https://plus.google.com/u/1/communities/114928521647105863223';
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -119,6 +127,7 @@
|
|||||||
.prependTo(
|
.prependTo(
|
||||||
$('body')
|
$('body')
|
||||||
)
|
)
|
||||||
|
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<?= $this->partial('layouts/news') ?>
|
<?= $this->partial('layouts/news') ?>
|
||||||
|
Reference in New Issue
Block a user