parent
a5a9b7d4fb
commit
0f4b12db4e
|
@ -9,11 +9,6 @@ body {
|
|||
background-image: url(../img/christmas-bg.jpg);
|
||||
}
|
||||
|
||||
.disableSnowLink {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.panel {
|
||||
background-color: #410b13;
|
||||
}
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
<div class="footer">
|
||||
<div class="container">
|
||||
<hr>
|
||||
<p class="pull-left">© <?php tl($config["general"]["title"]); ?> 2016</p>
|
||||
<p class="pull-left" id="website-copyright">© <?php tl($config["general"]["title"]); ?> 2016</p>
|
||||
<div class="pull-right">
|
||||
<ul class="list-inline">
|
||||
<li> <!-- Please respect the amount of work we've put for free into this project and leave the authors in the footer. Thank you. -->
|
||||
<p>
|
||||
<a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.5 — © <a href="https://wruczek.tech">Wruczek</a> 2016
|
||||
<a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.6 — © <a href="https://wruczek.tech">Wruczek</a> 2016
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -90,7 +90,7 @@ function showError($title, $text) { ?>
|
|||
<?php echo $text; ?>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
© <a href="https://wruczek.tech">Wruczek</a> 2016 | <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.5 | MIT License
|
||||
© <a href="https://wruczek.tech">Wruczek</a> 2016 | <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.6 | MIT License
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -20,12 +20,12 @@ if (new Date().getMonth() === 11) {
|
|||
document.getElementById('background-artist').innerHTML = '<a href="http://www.publicdomainpictures.net/view-image.php?image=28562&picture=christmas-bulbs-red-background">Debi Geroux - Public Domain</a>';
|
||||
|
||||
if(getCookie('snoweffect') === 'false') {
|
||||
document.getElementsByTagName('body')[0].innerHTML += '<a class="disableSnowLink" href="#" onclick="enableSnowEffect()">Enable snow effect</a>';
|
||||
document.getElementById('website-copyright').innerHTML += ' — <a class="disableSnowLink" href="#" onclick="enableSnowEffect()">Enable snow effect</a>';
|
||||
return;
|
||||
}
|
||||
|
||||
// Add a link to disable the effect
|
||||
document.getElementsByTagName('body')[0].innerHTML += '<a class="disableSnowLink" href="#" onclick="disableSnowEffect()">Disable snow effect</a>';
|
||||
document.getElementById('website-copyright').innerHTML += ' — <a class="disableSnowLink" href="#" onclick="disableSnowEffect()">Disable snow effect</a>';
|
||||
|
||||
// Add the snow effect
|
||||
snowFall.snow(document.body, {
|
||||
|
|
Loading…
Reference in New Issue