From 06fd6c8f4cb544c24d770a5083b126bc0ca3dca5 Mon Sep 17 00:00:00 2001 From: Lain Iwakura Date: Wed, 14 Sep 2016 05:36:50 -0400 Subject: [PATCH] TESTING - Add Site Notice (Kind of required) --- app/views/layouts/default.php | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/default.php b/app/views/layouts/default.php index afa1b74..cdf8417 100755 --- a/app/views/layouts/default.php +++ b/app/views/layouts/default.php @@ -52,7 +52,9 @@ } 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 cancel = 'EXIT, Take me to somewhere normal'; @@ -67,7 +69,7 @@ zIndex: 999, }); - container +container .append( $('
') .css({ @@ -80,14 +82,20 @@ .append( $('
') .css({ - backgroundColor: 'white', + backgroundColor: '#a90000', display: 'flex', padding: 8, minWidth: 350, - flexDirection: 'column' + flexDirection: 'column', }) .append( - $('
').css({ margin: 8, color: 'black', whitespace:pre-wrap}).html(notice) + $('
') + .css({ + margin: 8, + color: 'white', + + }) + .html(notice) ) .append( $('
') @@ -110,7 +118,7 @@ $('