mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
footer
This commit is contained in:
@@ -5,6 +5,7 @@ function setCookie(cookieName, cookieValue, cookieTime = (5 * 365 * 24 * 60 * 60
|
|||||||
tempDate.setTime(tempDate.getTime() + cookieTime)
|
tempDate.setTime(tempDate.getTime() + cookieTime)
|
||||||
document.cookie = cookieName + '=' + cookieValue + ';expires=' + tempDate.toUTCString() + ';path=/'
|
document.cookie = cookieName + '=' + cookieValue + ';expires=' + tempDate.toUTCString() + ';path=/'
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCookie(cookieName) {
|
function getCookie(cookieName) {
|
||||||
var name = cookieName + '='
|
var name = cookieName + '='
|
||||||
var cookieArray = document.cookie.split(';')
|
var cookieArray = document.cookie.split(';')
|
||||||
@@ -19,6 +20,7 @@ function getCookie(cookieName) {
|
|||||||
}
|
}
|
||||||
return ''
|
return ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkCookies() {
|
function checkCookies() {
|
||||||
if (getCookie('colorPalette') != undefined) {
|
if (getCookie('colorPalette') != undefined) {
|
||||||
loadScript('data/scripts/palettes/' + getCookie('colorPalette') + '.js')
|
loadScript('data/scripts/palettes/' + getCookie('colorPalette') + '.js')
|
||||||
|
1
data/scripts/footer.js
Normal file
1
data/scripts/footer.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
console.log('footer!!!')
|
39
footer.txt
Normal file
39
footer.txt
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<div class='footer'>
|
||||||
|
<div>
|
||||||
|
<div>Theme</div>
|
||||||
|
<hr>
|
||||||
|
<div>
|
||||||
|
<select id='inputColorPalette' onchange='loadScript("data/scripts/palettes/" + this.value + ".js")'>
|
||||||
|
<option value='lightMode'>Light Mode</option>
|
||||||
|
<option value='darkMode'>Dark Mode</option>
|
||||||
|
<option value='dayRave'>Day Rave</option>
|
||||||
|
<option value='nightRave'>Night Rave</option>
|
||||||
|
<option value='scholarMode'>Scholar Mode</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div>Navigation</div>
|
||||||
|
<hr>
|
||||||
|
<div>
|
||||||
|
<a href='index.html'>Card Creator</a><br>
|
||||||
|
<a href='life.html'>Life Counter</a><br>
|
||||||
|
<a href='askscryfall.html'>Ask Scryfall</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div>Legal</div>
|
||||||
|
<hr>
|
||||||
|
<div>
|
||||||
|
<a href='legal.html'>Terms and Conditions</a><br>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div>Contact</div>
|
||||||
|
<hr>
|
||||||
|
<div>
|
||||||
|
<label class="truncate"><a href="https://mail.google.com/mail/u/0/?view=cm&fs=1&to=CardConjurerMTG@gmail.com&su=Card%20Conjurer&tf=1" target="_blank">CardConjurerMTG@gmail.com</a></label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script defer src="data/scripts/animations.js"></script>
|
||||||
|
</div>
|
43
legal.html
43
legal.html
@@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html5>
|
<!DOCTYPE html5>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<script async src='data/scripts/footer.js'></script>
|
||||||
<script async src="data/scripts/cookies.js"></script>
|
<script async src="data/scripts/cookies.js"></script>
|
||||||
<link rel="stylesheet" href="styles.css">
|
<link rel="stylesheet" href="styles.css">
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
@@ -51,45 +52,7 @@
|
|||||||
If you have any questions regarding this Agreement, you may contact us at CardConjurerMTG@gmail.com.
|
If you have any questions regarding this Agreement, you may contact us at CardConjurerMTG@gmail.com.
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<footer>
|
<footer id='footer'>
|
||||||
<div class='footer'>
|
|
||||||
<div>
|
|
||||||
<div>Theme</div>
|
|
||||||
<hr>
|
|
||||||
<div>
|
|
||||||
<select id='inputColorPalette' onchange='loadScript("data/scripts/palettes/" + this.value + ".js")'>
|
|
||||||
<option value='lightMode'>Light Mode</option>
|
|
||||||
<option value='darkMode'>Dark Mode</option>
|
|
||||||
<option value='dayRave'>Day Rave</option>
|
|
||||||
<option value='nightRave'>Night Rave</option>
|
|
||||||
<option value='scholarMode'>Scholar Mode</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div>Navigation</div>
|
|
||||||
<hr>
|
|
||||||
<div>
|
|
||||||
<a href='index.html'>Card Creator</a><br>
|
|
||||||
<a href='life.html'>Life Counter</a><br>
|
|
||||||
<a href='askscryfall.html'>Ask Scryfall</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div>Legal</div>
|
|
||||||
<hr>
|
|
||||||
<div>
|
|
||||||
<a href='legal.html'>Terms and Conditions</a><br>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div>Contact</div>
|
|
||||||
<hr>
|
|
||||||
<div>
|
|
||||||
<label class="truncate"><a href="https://mail.google.com/mail/u/0/?view=cm&fs=1&to=CardConjurerMTG@gmail.com&su=Card%20Conjurer&tf=1" target="_blank">CardConjurerMTG@gmail.com</a></label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script defer src="data/scripts/animations.js"></script>
|
|
||||||
</div>
|
|
||||||
</footer>
|
</footer>
|
||||||
<html>
|
<html>
|
||||||
|
Reference in New Issue
Block a user