-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (54 loc) · 1.91 KB
/
Copy pathindex.html
File metadata and controls
58 lines (54 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Plane deck</title>
<link href="https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="center">
<button onclick="reset()">Reset</button>
<button id="openModal">Card list</button>
</div>
<div id="plane_game" class="center">
<button class="arrow" onclick="back()">⇐</button>
<img src="assets/card_back.jpg" id="card">
<button class="arrow" onclick="next()">⇒</button>
</div>
<!-- Modal window -->
<div id="cardModal" class="modal">
<div class="modal-content">
<span id="closeModal" class="close">×</span>
<div class="modal-columns">
<!-- List column -->
<div id="cardListColumn">
<h3>Planes</h3>
<button id="selectAllPlanes">Select All</button>
<button id="deselectAllPlanes">Deselect All</button>
<ul id="planesList"></ul>
<h3>Phenomenon</h3>
<button id="selectAllPhenomenon">Select All</button>
<button id="deselectAllPhenomenon">Deselect All</button>
<ul id="phenomenonList"></ul>
<button id="saveDeck">Save</button>
</div>
<!-- Preview column -->
<div id="cardPreviewColumn">
<h3>Anteprima</h3>
<img id="cardPreview" src="assets/card_back.jpg" alt="Anteprima carta" />
</div>
</div>
</div>
</div>
<footer class="fantasy-footer">
<div class="footer-content">
<p class="credits">
✧ This page uses data and images provided by the <a href="https://scryfall.com/docs/api" target="_blank">Scryfall API</a>. Scryfall is an open-source database for Magic: The Gathering. ✧
</p>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>