forked from GithubMirrors/cardconjurer
		
	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)
 | 
			
		||||
  	document.cookie = cookieName + '=' + cookieValue + ';expires=' + tempDate.toUTCString() + ';path=/'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function getCookie(cookieName) {
 | 
			
		||||
  	var name = cookieName + '='
 | 
			
		||||
  	var cookieArray = document.cookie.split(';')
 | 
			
		||||
@@ -19,6 +20,7 @@ function getCookie(cookieName) {
 | 
			
		||||
  	}
 | 
			
		||||
  	return ''
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function checkCookies() {
 | 
			
		||||
	if (getCookie('colorPalette') != undefined) {
 | 
			
		||||
		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>
 | 
			
		||||
<html>
 | 
			
		||||
<head>
 | 
			
		||||
    <script async src='data/scripts/footer.js'></script>
 | 
			
		||||
    <script async src="data/scripts/cookies.js"></script>
 | 
			
		||||
    <link rel="stylesheet" href="styles.css">
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
@@ -51,45 +52,7 @@
 | 
			
		||||
        If you have any questions regarding this Agreement, you may contact us at CardConjurerMTG@gmail.com.
 | 
			
		||||
    </div>
 | 
			
		||||
</body>
 | 
			
		||||
<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 id='footer'>
 | 
			
		||||
 | 
			
		||||
</footer>
 | 
			
		||||
<html>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user