TESTING - Add Site Notice (Kind of required)

This commit is contained in:
Lain Iwakura 2016-09-14 05:01:01 -04:00
parent dc521a6b36
commit 5fe7a9626f

View File

@ -44,7 +44,7 @@
</head> </head>
<body> <body>
<script> <script>
(function() { (function() {
var cookieName = 'disclaimer_accepted'; var cookieName = 'disclaimer_accepted';
if (Cookie.get(cookieName)) { if (Cookie.get(cookieName)) {
@ -80,7 +80,7 @@
.append( .append(
$('<div>') $('<div>')
.css({ .css({
backgroundColor: #bf5e65, backgroundColor: 'white',
display: 'flex', display: 'flex',
padding: 8, padding: 8,
minWidth: 350, minWidth: 350,
@ -90,8 +90,7 @@
$('<div>') $('<div>')
.css({ .css({
margin: 8, margin: 8,
color: 'white' color: 'black'
white-space: pre-wrap
}) })
.html(notice) .html(notice)
) )
@ -125,8 +124,8 @@
.prependTo( .prependTo(
$('body') $('body')
) )
})(); })();
</script> </script>
<?= $this->partial('layouts/news') ?> <?= $this->partial('layouts/news') ?>
<div id="header"> <div id="header">
<div id="title"><h2 id="site-title"><?= $this->linkTo($this->imageTag('images/logo_small.png', array('alt' => CONFIG()->app_name, 'size' => '389x40', 'id' => 'logo')), CONFIG()->url_base) ?><span><?= $this->tag_header($this->h($this->params()->tags)) ?></span></h2></div> <div id="title"><h2 id="site-title"><?= $this->linkTo($this->imageTag('images/logo_small.png', array('alt' => CONFIG()->app_name, 'size' => '389x40', 'id' => 'logo')), CONFIG()->url_base) ?><span><?= $this->tag_header($this->h($this->params()->tags)) ?></span></h2></div>