-
Notifications
You must be signed in to change notification settings - Fork 0
/
builder.html
156 lines (151 loc) · 5.7 KB
/
builder.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700;800&family=Roboto:wght@400;500;700;800&family=Roboto+Flex:wght@900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/builder.css">
<title>Marvel SNAP Deck Builder</title>
</head>
<body>
<main class="content">
<section class="deck-view" aria-label="cards in your deck">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
<img class="deck-card" src="images/builder/blank.webp" alt="blank card">
</section>
<aside class="toast">
<p class="toast-msg"></p>
</aside>
<section class="cards-view">
<div class="card-info" role="tooltip">
</div>
<div class="all-cards">
</div>
</section>
<section class="deck-generator">
<div class="filters">
<label for="card-ability">
<span>Ability / Tag</span>
<select name="ability" id="card-ability">
<option></option>
<option value="on reveal">On Reveal</option>
<option value="ongoing">Ongoing</option>
<option value="discard">Discard</option>
<option value="move">Move</option>
<option value="destroy">Destroy</option>
<option value="activate">Activate</option>
<option value="others">Special</option>
<option value="no ability">No Ability</option>
<option value="summon">Summon</option>
<option value="unreleased">Unreleased</option>
</select>
</label>
<label for="card-energy">
<span>Energy</span>
<select name="cost" id="card-energy">
<option></option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6+">6+</option>
</select>
</label>
<label for="card-power">
<span>Power</span>
<select name="power" id="card-power">
<option></option>
<option value="1-">1-</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6+">6+</option>
</select>
</label>
<label for="card-series">
<span>Series</span>
<select name="series" id="card-series">
<option></option>
<option value="Season Pass">Season Pass</option>
<option value="1">Series 1</option>
<option value="2">Series 2</option>
<option value="3">Series 3</option>
<option value="4">Series 4</option>
<option value="5">Series 5</option>
</select>
</label>
</div>
<div class="sorter">
<label for="sort-category">
<span>Sort Property</span>
<select name="field" id="sort-category">
<option value="name">Name</option>
<option value="cost" selected>Energy</option>
<option value="power">Power</option>
</select>
</label>
<label for="sort-order">
<span>Sort Order</span>
<select name="order" id="sort-order">
<option value="ascending" selected>Ascending</option>
<option value="descending">Descending</option>
</select>
</label>
</div>
<div class="controls">
<label class="sr-only" for="keyword-searcher">Search By Keyword</label>
<input id="keyword-searcher"
type="text"
placeholder="keyword"
autocomplete="off"
>
<div class="controls-div">
<button class="btn-control" id="save-deck-btn" aria-label="Copy Deck Code" data-tooltip="Copy Deck">
<img src='images/builder/save.svg'>
</button>
<button class="btn-control" id="import-deck-btn" aria-label="Import Deck Code" data-tooltip="Import Deck">
<img src='images/builder/import.svg'>
</button>
<button class="btn-control" id="reset-controls-btn" aria-label="Reset Sort & Filter" data-tooltip="Reset Sort & Filter">
<img src='images/builder/reset-controls.svg'>
</button>
<button class="btn-control" id="reset-all-btn" aria-label="Reset All" data-tooltip="Reset All">
<img src='images/builder/reset.svg'>
</button>
<a class="btn-control" id="exit-deck-builder" aria-label="Exit Deck Builder" data-tooltip="Exit" href="index.html">
<img src='images/builder/exit.svg'>
</a>
</div>
</div>
</section>
<section class="builder-modal">
<div class="builder-modal-content">
<span>■ Click on a blank area to close ■</span>
<label for="deck-code">Import Deck Code</label>
<textarea id="deck-code"
placeholder="Paste your deck code here..."
rows=9
></textarea>
<button class="submit-deck-code-btn">Submit</button>
</div>
</section>
</main>
<script type="text/javascript" src="builder.js"></script>
</body>
</html>