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>
<body>
<script>
(function() {
(function() {
var cookieName = 'disclaimer_accepted';
if (Cookie.get(cookieName)) {
@ -80,7 +80,7 @@
.append(
$('<div>')
.css({
backgroundColor: #bf5e65,
backgroundColor: 'white',
display: 'flex',
padding: 8,
minWidth: 350,
@ -90,8 +90,7 @@
$('<div>')
.css({
margin: 8,
color: 'white'
white-space: pre-wrap
color: 'black'
})
.html(notice)
)
@ -125,8 +124,8 @@
.prependTo(
$('body')
)
})();
</script>
})();
</script>
<?= $this->partial('layouts/news') ?>
<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>