forked from GithubMirrors/cardconjurer
		
	upgrade
This commit is contained in:
		
							
								
								
									
										173
									
								
								test.html
									
									
									
									
									
								
							
							
						
						
									
										173
									
								
								test.html
									
									
									
									
									
								
							| @@ -1,173 +0,0 @@ | ||||
| <!DOCTYPE html5> | ||||
| <html> | ||||
| <head> | ||||
| 	<title>Card Conjurer</title> | ||||
| 	<!-- Other things --> | ||||
| 	<link rel="stylesheet" href="data/site/newStyles.css"> | ||||
| 	<meta charset="UTF-8"> | ||||
| 	<meta name="viewport" content="width=device-width, initial-scale=1"> | ||||
| </head> | ||||
| <body> | ||||
| 	<div class="mainDiv"> | ||||
| 		<div class="pageTitle"> | ||||
| 			Card Conjurer | ||||
| 		</div> | ||||
| 		<div class="mainGrid"> | ||||
| 			<div class="canvasContainer"> | ||||
| 				<canvas id="displayCanvas"></canvas> | ||||
| 			</div> | ||||
| 			<div class="cardMenu"> | ||||
|                 <!-- Card editor tabs begin here! --> | ||||
|                 <div class="tabMenu"> | ||||
|                 	<div class="tabOption mainEditor tabOptionSelected" onclick="toggleTabs(event, 'frame', 'mainEditor')">Frame</div> | ||||
|                 	<div class="tabOption mainEditor" onclick="toggleTabs(event, 'text', 'mainEditor')">Text</div> | ||||
|                 	<div class="tabOption mainEditor" onclick="toggleTabs(event, 'art', 'mainEditor')">Art</div> | ||||
|                 	<div class="tabOption mainEditor" onclick="toggleTabs(event, 'collector', 'mainEditor')">Collector</div> | ||||
|                 	<div class="tabOption mainEditor" onclick="toggleTabs(event, 'set', 'mainEditor')">Set Symbol</div> | ||||
|                 	<div class="tabOption mainEditor" onclick="toggleTabs(event, 'watermark', 'mainEditor')">Watermark</div> | ||||
|                 </div> | ||||
|                 <div class="tabContent mainEditor tabVisible" id="frame"> | ||||
|                 	<div class="splitGrid"> | ||||
|                 		<div id="framePicker" class="frameGrid"></div> | ||||
|                 		<div id="maskPicker"></div> | ||||
|                 	</div> | ||||
|                 	<div class="splitGrid"> | ||||
| 		            	<button onclick="addFrameToCardMaster()" class="button">Add</button> | ||||
| 		            	<button onclick="addFrameToCardMaster(' - Right')" class="button">Add To Right Half</button> | ||||
|                 	</div> | ||||
|                 	<div id="selectedFramePreview">No frame selected</div> | ||||
|                 	<div id="cardMaster"></div> | ||||
|                 </div> | ||||
|                 <div class="tabContent mainEditor" id="text"> | ||||
|                 	<div id="inputWhichTextTabs" class="textTab"></div> | ||||
| 					<textarea class="textarea" id="inputText" placeholder="" oninput="updateText()"></textarea> | ||||
| 					<input type="text" class="input text" placeholder="Mana Cost" id="inputManaCost" oninput="cardImageUpdated()" value=""> | ||||
| 					<div class="bar"></div> | ||||
| 					<div class="title">How To Use Text Codes</div> | ||||
| 					<div class="paragraph indent"> | ||||
| 						Remember to surround each code with curly brackets ("{" and "}"). The codes are not caps sensitive. The following is a list of available text codes and what they do: | ||||
| 					</div> | ||||
| 					<div id="textCodeTutorial"></div> | ||||
|                 </div> | ||||
|                 <div class="tabContent mainEditor" id="art"> | ||||
|                 	<div class="splitGrid"> | ||||
| 						<div> | ||||
| 							<input type="file" class="input file" accept="image/*" onchange="uploadImage(event, cardArt)" placeholder="Via File Upload"> | ||||
| 							<input type="text" class="input text" placeholder="Via URL" onchange="cardArt.src = 'https://cors-anywhere.herokuapp.com/' + this.value"> | ||||
| 							<input type="text" class="input text" id="inputCardArtName" onchange="inputCardArtName(this.value)" placeholder="Via Card Name"> | ||||
| 							<input type="number" class="input number" id="inputCardArtNameNumber" onchange="inputCardArtNameNumber(this.value)" value="" min="1" max="1" placeholder="Which Art From Card Name"> | ||||
| 						</div> | ||||
| 						<div> | ||||
|                             <div style="text-align: center; margin: 0.18em 0px">X, Y, & Zoom:</div> | ||||
| 							<input type="number" class="input number" value="0" id="inputCardArtX" oninput="cardImageUpdated()"> | ||||
| 							<input type="number" class="input number" value="0" id="inputCardArtY" oninput="cardImageUpdated()"> | ||||
| 							<input type="number" class="input number" value="100" step="0.1" min="0" id="inputCardArtZoom" oninput="cardImageUpdated()"> | ||||
| 						</div> | ||||
| 					</div> | ||||
|                 </div> | ||||
|                 <div class="tabContent mainEditor" id="collector"> | ||||
|                 	<div class="autoGrid"> | ||||
| 						<input type="text" class="input text" placeholder="Number" id="inputInfoNumber" oninput="updateBottomInfoCanvas()" value=""> | ||||
| 						<input type="text" class="input text" placeholder="Rarity" id="inputInfoRarity" oninput="updateBottomInfoCanvas()" value="P"> | ||||
| 						<input type="text" class="input text" placeholder="Set" id="inputInfoSet" oninput="updateBottomInfoCanvas()" value="MTG"> | ||||
| 						<input type="text" class="input text" placeholder="Language" id="inputInfoLanguage" oninput="updateBottomInfoCanvas()" value="EN"> | ||||
| 						<input type="text" class="input text" placeholder="Artist's Name" id="inputInfoArtist" oninput="updateBottomInfoCanvas()" value=""> | ||||
| 					</div> | ||||
|                 </div> | ||||
|                 <div class="tabContent mainEditor" id="set"> | ||||
|                 	<div class="autoGrid"> | ||||
| 						<input type="file" class="input file" accept="image/*" onchange="uploadImage(event, setSymbol)" placeholder="Via File Upload"> | ||||
| 						<input type="text" class="input text" placeholder="Via URL" onchange="whiteToTransparent(setSymbol, 'https://cors-anywhere.herokuapp.com/' + this.value)"> | ||||
| 						<input type="text" class="input text" id="inputSetCode" placeholder="Via Set Code" onchange="whiteToTransparent(setSymbol, 'https://cors-anywhere.herokuapp.com/http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=' + this.value + '&size=large&rarity=' + document.getElementById('inputSetRarity').value)"> | ||||
| 						<input type="text" class="input text" id="inputSetRarity" placeholder="Rarity" onchange="whiteToTransparent(setSymbol, 'https://cors-anywhere.herokuapp.com/http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=' + document.getElementById('inputSetCode').value + '&size=large&rarity=' + this.value)"> | ||||
| 						<button class="button" onclick="randomSet()">Random</button> | ||||
| 					</div> | ||||
|                 </div> | ||||
|                 <div class="tabContent mainEditor" id="watermark"> | ||||
|                 	<div class="autoGrid"> | ||||
| 						<input type="file" class="input file" accept="image/*" onchange="uploadImage(event, watermark)" placeholder="Via File Upload"> | ||||
| 						<input type="text" class="input text" placeholder="Via URL" onchange="whiteToTransparent(watermark, 'https://cors-anywhere.herokuapp.com/' + this.value)"> | ||||
| 						<input type="text" class="input text" placeholder="Via Set Code" onchange="whiteToTransparent(watermark, 'https://cors-anywhere.herokuapp.com/http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=' + this.value + '&size=large')"> | ||||
| 						<select class="select" id="inputWatermarkPrimary" onchange="updateWatermark()"> | ||||
| 							<option value="none">None</option> | ||||
| 							<option value="default">Default</option> | ||||
| 							<option value="#ccc8b1" selected="selected">White</option> | ||||
| 							<option value="#b0c3d5">Blue</option> | ||||
| 							<option value="#b3b3b3">Black</option> | ||||
| 							<option value="#ddac9b">Red</option> | ||||
| 							<option value="#b9c8b5">Green</option> | ||||
| 							<option value="#e4d49b">Gold</option> | ||||
| 							<option value="#cfc8be">Artifact/Colorless</option> | ||||
| 						</select> | ||||
| 						<select class="select" id="inputWatermarkSecondary" onchange="updateWatermark()"> | ||||
| 							<option value="none">None</option> | ||||
| 							<option value="default">Default</option> | ||||
| 							<option value="#ccc8b1">White</option> | ||||
| 							<option value="#b0c3d5">Blue</option> | ||||
| 							<option value="#b3b3b3">Black</option> | ||||
| 							<option value="#ddac9b">Red</option> | ||||
| 							<option value="#b9c8b5">Green</option> | ||||
| 							<option value="#e4d49b">Gold</option> | ||||
| 							<option value="#cfc8be">Artifact/Colorless</option> | ||||
| 						</select> | ||||
| 					</div> | ||||
|                 </div> | ||||
|                 <!-- Card editor tabs end here! --> | ||||
|                 <div class="bar"></div> | ||||
| 				<div> | ||||
| 					<div class="download"> | ||||
| 						<a onclick="downloadCardImage(this)" id="downloadCardImage" href="" target="_blank" download="card.png">Download</a> | ||||
| 					</div> | ||||
| 				</div> | ||||
| 			</div> | ||||
| 		</div> | ||||
| 		<div class="hidden"></div> | ||||
| 		<div class="layer"> | ||||
| 			<div class="title">Welcome to Card Conjurer!</div> | ||||
| 			<div class="paragraph indent">Card Conjurer is a free program that helps you create custom Magic: The Gathering cards. There are already plenty of custom card makers out there, but what sets Card Conjurer apart from the rest is its live-edit capabilities. You can immediatly see the effects of any change you make, which makes card customization easier and overall a better experience.</div> | ||||
| 		</div> | ||||
| 		<div class="layer"> | ||||
| 			<div class="title">About Me</div> | ||||
| 			<div class="paragraph indent"> | ||||
| 				Hi! My name is Kyle Burton and I am currently a high school student. I used to play Pokemon, but when a friend introduced me to Magic in 2013 I sold my pocket monsters and bought an M14 Intro Pack. Ever since that day Magic has been my all time favorite game. In addition to playing games, I've always <a href="https://www.youtube.com/watch?v=ERCzN91JicA" target="blank">loved technology</a>. During the 2017-18 school year I tought myself how to code Javascript, and a little bit of HTML and CSS. The following summer I created Kyle's Card Imager (<a href="https://scryfall.com/card/5dn/134/krark-clan-ironworks" target="blank">KCI</a>). It was pretty simple but I soon began to add more border images like Miracle or Nyx. After a few months I decided to share my creation, so I renamed it Card Conjurer and uploaded it to Github, and then in April of 2019 I bought the domain <a href="#" onclick="alert('You\'re already there, silly!')">cardconjurer.com</a>. | ||||
| 			</div> | ||||
| 		</div> | ||||
| 		<div class="layer"> | ||||
|             <div class="title">Want More Customization?</div> | ||||
| 			<!-- <div class="paragraph indent"> | ||||
|                 If you'd like to try out some more frames, scroll to the bottom of this page and check the box next to "Advanced Borders" - CardConjurer.com will remember this setting, so you only need to do this once per device. | ||||
| 			</div> --> | ||||
|             <div class="paragraph indent"> | ||||
|                 This version of the website is currently a work in progress, so it doesn't have all the features the original Card Conjurer had. If you'd like to go back to the old version, <a href="old/index.html">click here</a>. | ||||
|             </div> | ||||
| 		</div> | ||||
| 		<div class="layer"> | ||||
| 			<div class="title">Have Any Questions?</div> | ||||
| 			<div class="paragraph indent"> | ||||
|                 If you have any questions please don't hesitate to email me at: <div 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></div>Even if you made a cool card and want to share, I'd love to see it! | ||||
| 			</div> | ||||
| 		</div> | ||||
| 	</div> | ||||
| </body> | ||||
| <footer> | ||||
| 	<div class="footerGrid"> | ||||
| 		<div> | ||||
| 			Card Conjurer By Kyle Burton<br> | ||||
| 		</div> | ||||
| 		<div> | ||||
| 			Navigation:<br> | ||||
| 			<a href="index.html">Card Creator</a><br> | ||||
| 			<a href="life.html">Life Counter</a> | ||||
| 		</div> | ||||
| 		<div> | ||||
| 			Legal:<br> | ||||
| 			<a href="disclaimer.html">Disclaimer</a><br> | ||||
| 			<a href="termsOfUse.html">Terms of Use</a> | ||||
| 		</div> | ||||
| 	</div> | ||||
| </footer> | ||||
| <script async src="data/scripts/sortable.js"></script> | ||||
| <script async src="data/scripts/setCodeList.js"></script> | ||||
| <script defer src="data/scripts/main.js"></script> | ||||
| <script defer src="data/scripts/colors.js"></script> | ||||
| <html> | ||||
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle