mirror of
https://github.com/cfultz/mtgcsv.git
synced 2024-11-22 01:10:02 +01:00
75 lines
3.3 KiB
HTML
75 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>MTG Card CSV Generator</title>
|
|
<link rel="stylesheet" href="styles.css">
|
|
<link rel="manifest" href="manifest.json">
|
|
<link href="https://fonts.googleapis.com/css2?family=Sorts+Mill+Goudy&display=swap" rel="stylesheet">
|
|
<link rel="icon" href="icon.png" type="image/png">
|
|
<link href="//cdn.jsdelivr.net/npm/mana-font@latest/css/mana.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="menu">
|
|
<div class="hamburger-menu" onclick="toggleMenu()">☰</div>
|
|
<div id="menu-content" class="menu-content">
|
|
<label>Select Theme:</label>
|
|
<div id="theme-selector">
|
|
<span class="mana-icon" onclick="setTheme('')"></span> <!-- Colorless -->
|
|
<span class="mana-icon" onclick="setTheme('theme-white')"></span> <!-- White -->
|
|
<span class="mana-icon" onclick="setTheme('theme-blue')"></span> <!-- Blue -->
|
|
<span class="mana-icon" onclick="setTheme('theme-black')"></span> <!-- Black -->
|
|
<span class="mana-icon" onclick="setTheme('theme-red')"></span> <!-- Red -->
|
|
<span class="mana-icon" onclick="setTheme('theme-green')"></span> <!-- Green -->
|
|
</div>
|
|
<label for="sound-threshold">Sound Threshold (USD):</label>
|
|
<input type="number" id="sound-threshold" min="0.01" step="0.01" value="1.00">
|
|
</div>
|
|
</div>
|
|
|
|
<h1>MTG Card CSV Generator</h1>
|
|
<form id="card-form">
|
|
<div>
|
|
<label for="card-name">Card Name:</label>
|
|
<input type="text" id="card-name" autocomplete="off" required>
|
|
<div id="suggestions"></div>
|
|
</div>
|
|
<div>
|
|
<label for="set-code">Set Code:</label>
|
|
<input type="text" id="set-code" required>
|
|
</div>
|
|
<div>
|
|
<label for="card-id">Card ID:</label>
|
|
<input type="text" id="card-id" required>
|
|
</div>
|
|
<div>
|
|
<label for="quantity">Quantity:</label>
|
|
<input type="number" id="quantity" min="1" value="1" required>
|
|
</div>
|
|
<div>
|
|
<label for="foil">Is it Foil?</label>
|
|
<select id="foil">
|
|
<option value="No">No</option>
|
|
<option value="Yes">Yes</option>
|
|
</select>
|
|
</div>
|
|
<button type="button" id="add-card-button">Add Card</button>
|
|
</form>
|
|
<button id="download-csv-button">Download CSV</button>
|
|
<textarea id="csv-output" readonly></textarea>
|
|
<div id="card-popup" class="card-popup"></div>
|
|
</div>
|
|
|
|
<footer>
|
|
<p>
|
|
<a href="https://github.com/cfultz/mtgcsv" target="_blank">View on GitHub</a> |
|
|
This app is not affiliated with Wizards of the Coast or Hasbro. All rights and trademarks are owned by their respective owners.
|
|
</p>
|
|
</footer>
|
|
|
|
<script type="module" src="app.js"></script>
|
|
</body>
|
|
</html>
|