-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
205 lines (200 loc) · 8.39 KB
/
index.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="SWAP PLACEHOLDERport" content="width=device-width, initial-scale=1.0">
<title>Body of Cards</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ultra">
<link rel="stylesheet" href="./assets/styles/reset.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<link rel="stylesheet" href="./assets/styles/style.css">
</head>
<body>
<div class="box" id="title">
<div>
<h1>Body of Cards</h1>
<h3>A Playing Card Workout Generator</h3>
</div>
<!-- Rules Button -->
<button class="button" id="rulesBtn">Rules</button>
<div class="modal" id="rulesModal">
<div class="modal-background"></div>
<div class="modal-content">
<div class="box"><img src="assets/images/1_WR7pxaf-gT9Ui4x12AoY2A.png"></div>
</div>
<button class="modal-close is-large" aria-label="close"></button>
</div>
</div>
<!-- Start Timer/Previous Workout Buttons -->
<div class="box">
<button id="timerStart" class="button is-black">Start Timer</button>
<p id="timerText"></p>
<!--Modal Button-->
<button id='workouts' class="js-modal-trigger button is-black" data-target="highScoreModal">
Previous Workouts
</button>
</div>
<p class='explain'>Click Card to Flip</p>
<!-- Shown Card HTML -->
<ul class="flipping-cards">
<!-- Front of Card -->
<li class = 'li-card'>
<input type="checkbox" id="item1">
<label for="item1">
<span class="wrapper">
<span class="image">
<div class="card" id="card-1">
<div class="card-image px-6">
<img src="https://deckofcardsapi.com/static/img/5S.png" alt="Placeholder image" id="0">
</div>
<div class="card-content mt-4">
<p class='title is-size-4 has-text-centered'>
<a href='https://en.wikipedia.org/wiki/Pull-up_(exercise)'></a>
</p>
<p class="has-text-centered "></p>
</div>
</div>
<!-- Back of Card -->
</span>
<span class="back"></span>
</span>
</label>
<footer class="card-footer">
<p class="card-footer-item is-left">
<button class="neon-btn bulma-control-mixin" id="swap-1">
SWAP CARD
</button>
</p>
</footer>
</li>
<li class = 'li-card'>
<input type="checkbox" id="item2">
<label for="item2">
<span class="wrapper">
<span class="image">
<div class="card" id="card-2">
<div class="card-image px-6">
<img src="https://deckofcardsapi.com/static/img/6H.png" alt="Placeholder image" id="1">
</div>
<div class="card-content mt-4">
<p class='title is-size-4 has-text-centered'>
<a href='#'></a>
</p>
<p class="has-text-centered"></p>
</div>
</div>
</span>
<span class="back"></span>
</span>
</label>
<footer class="card-footer">
<p class="card-footer-item is-left">
<button class="neon-btn bulma-control-mixin" id='swap-2'>
SWAP CARD
</button>
</p>
</footer>
</li>
<li class = 'li-card'>
<input type="checkbox" id="item3">
<label for="item3">
<span class="wrapper">
<span class="image">
<div class="card" id="card-3">
<div class="card-image px-6">
<img src="https://deckofcardsapi.com/static/img/KD.png" alt="Placeholder image" id="2">
</div>
<div class="card-content mt-4">
<p class='title is-size-4 has-text-centered'>
<a href='#'></a>
</p>
<p class="has-text-centered"></p>
</div>
</div>
</span>
<span class="back"></span>
</span>
</label>
<footer class="card-footer">
<p class="card-footer-item is-left">
<button class="neon-btn bulma-control-mixin" id="swap-3">
SWAP CARD
</button>
</p>
</footer>
</li>
<li class = 'li-card'>
<input type="checkbox" id="item4">
<label for="item4">
<span class="wrapper">
<span class="image">
<div class="card" id="card-4">
<div class="card-image px-6">
<img src="https://deckofcardsapi.com/static/img/0C.png" alt="Placeholder image" id="3">
</div>
<div class="card-content mt-4">
<p class='title is-size-4 has-text-centered'>
<a href='#'></a>
</p>
<p class="has-text-centered"></p>
</div>
</div>
</span>
<span class="back"></span>
</span>
</label>
<footer class="card-footer">
<p class="card-footer-item is-left">
<button class="neon-btn bulma-control-mixin" id="swap-4">
SWAP CARD
</button>
</p>
</footer>
</li>
<li class = 'li-card'>
<input type="checkbox" id="item5">
<label for="item5">
<span class="wrapper">
<span class="image">
<div class="card" id="card-5">
<div class="card-image px-6">
<img src="https://deckofcardsapi.com/static/img/9C.png" alt="Placeholder image" id="4">
</div>
<div class="card-content mt-4">
<p class='title is-size-4 has-text-centered'>
<a href='#'></a>
</p>
<p class="has-text-centered"></p>
</div>
</div>
</span>
<span class="back"></span>
</span>
</label>
<footer class="card-footer">
<p class="card-footer-item is-left">
<button class="neon-btn bulma-control-mixin" id="swap-5">
SWAP CARD
</button>
</p>
</footer>
</li>
</ul>
<!--Modal HTML-->
<div id="highScoreModal" class="modal">
<div class="modal-background"></div>
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title">Past Workouts</p>
<button class="delete" aria-label="close"></button>
</header>
<section class="modal-card-body">
<!-- Dynamic modal will be generated here -->
</section>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js"></script>
<script src="./assets/scripts/script.js"></script>
</body>
</html>