-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
205 lines (185 loc) · 8.99 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
<!-- TwoDoor Single Page Application - Main Component -->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-154885834-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-154885834-1');
</script>
<title>TwoDoor</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="author" content="Arthur, Scout">
<meta name="description" content="The Adaptive Flashcard Tutoring App">
<meta name="keywords" content="keywords,here">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="img/svg" href="static/images/doorFavicon.png">
<link rel="stylesheet" href="static/styles/index.css">
<link rel="stylesheet" href="static/styles/card.css">
<link rel="stylesheet" href="static/styles/home.css">
<link rel="stylesheet" href="static/styles/summary.css">
<link rel="stylesheet" href="static/styles/build.css">
<link rel="stylesheet" href="static/styles/holbie.css">
<link rel="stylesheet" href="static/styles/deck.css">
<link rel="stylesheet" href="static/styles/settings.css">
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.2.0/firebase-ui-auth.css" />
</head>
<body>
<header class="header">
<div class="logo" id="logo"></div>
<div class="holbie-logo"></div>
<div class="timer">3:00</div>
<div class="signin-component">
<div class="signin-welcome">Welcome Holbie!</div>
<!-- <div class="bttn--signin bttn--summary">SIGN IN</div> -->
<div class="app-settings"><div class="app-settings-icon"></div>
<ul class="app-settings-dropdown">
<li class="settings-title">
<div class="settings-label">App Settings:</div>
</li>
<li>
<input class="setting-adjust-to-input" type="checkbox">
<div class="setting-label">Adjust to Input</div>
</li>
<li>
<input class="setting-adjust-to-input" type="checkbox">
<div class="setting-label">Save API Key</div>
</li>
<li>
<button class="bttn--signin">Sign In</button>
</li>
</ul>
</div>
</div>
</header>
<div class="main-container">
<div class="home-component">
<div class="home-component--main">TwoDoor</div>
<!-- <div class="home-component--sub">The One and Only</div> -->
<div class="deck-container"></div>
</div>
<div class="game-component">
<div class="deck">
<div class="flippable door" id="door1" ontouchstart="this.classList.toggle('hover');"></div>
<div class="flippable door" id="door2" ontouchstart="this.classList.toggle('hover');"></div>
</div>
<div class="control">
<div class="cancel-button">
<div class="bttn bttn--cancel"></div>
</div>
<div class="text-box">
<input type="text" name="text-answer" id="text-answer" placeholder="...">
</div>
<div class="next-button">
<div class="bttn bttn--next"></div>
</div>
</div>
<div class="instruction-component">
<div class="timerRight">You will be timed! when the timer hits zero, the game will end and your performance is displayed</div>
<div class="cardRight">Remember: This is <em>not</em> a test! You will not know all the answers, and that's ok. The game is made to train you through repetition.</div>
<div class="controlLeft">Click here to end the game</div>
<div class="controlRight">Press enter or click this button to submit</div>
</div>
<div id="game-anchor"></div>
</div>
<div class="summary-overlay" id="summary-overlay">
<div class="summary-component">
<div class="chart-buttons">
<div class="bttn--summary card-bar-chart--bttn-successes">Successes</div>
<div class="bttn--summary card-bar-chart--bttn-failures">Failures</div>
<div class="bttn--summary card-bar-chart--bttn-percentage">Percent</div>
<div class="bttn--summary card-bar-chart--bttn-demo">Demo</div>
</div>
<a href="#text-answer" class="bttn--summary bttn-end-summary">×</a>
<div class="card-bar-chart"></div>
<div class="summary-template"></div>
</div>
</div>
<div class="build-component">
Name of the Deck
<input type="text" name="build-deck-name" id="build-deck-name">
<div class="build-card-selector">
<div class="bttn bttn--select-left"></div>
<div class="card-index">1 </div> /
<div class="deck-length">1</div>
<div class="bttn bttn--select-right"></div>
</div>
<div class="deck-modifier">
<div class="bttn--remove-card"></div>
<div class="build-card-fields">
<div class="field-text">Question:
<textarea type="text" class="field" name="question-field">What attribute makes TwoDoor unique?</textarea>
</div>
<div class="field-text">(optional) image:
<textarea type="text" class="field" name="image-field">https://image.shutterstock.com/image-vector/sample-stamp-grunge-texture-vector-260nw-1389188327.jpg</textarea>
</div>
<div class="field-text">Answer:
<textarea type="text" class="field" name="answer-field">adaptive!</textarea>
</div>
<div class="field-text">Regex:
<textarea type="text" class="field" name="regex-field">adaptive!*</textarea>
</div>
</div>
<div class="bttn bttn--add-card"></div>
</div>
<div class="bttn bttn--play"></div>
</div>
<div class="holbie-signin-component">
<div class="holbie-status">Please Sign In!</div>
<form id="holbie-signin">
<input name="holbie-apikey" type="text" placeholder="Holberton Api Key:" />
<input name="holbie-email" type="text" placeholder="Holberton Email" />
<input name="holbie-password" type="password" placeholder="Holberton Password" />
<input name="holbie-submit" type="submit" value="Signin" />
</form>
</div>
<div id="firebaseui-auth-container"></div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="static/scripts/card.js" type="text/javascript"></script>
<script src="static/scripts/prebuilt.js" type="text/javascript"></script>
<script src="static/scripts/datastore.js" type="text/javascript"></script>
<script src="static/scripts/algorithm.js" type="text/javascript"></script>
<script src="static/scripts/home.js" type="text/javascript"></script>
<script src="static/scripts/random.js" type="text/javascript"></script>
<script src="static/scripts/summary.js" type="text/javascript"></script>
<script src="static/scripts/template.js" type="text/javascript"></script>
<script src="static/scripts/auth.js" type="text/javascript"></script>
<script src="static/scripts/build.js" type="text/javascript"></script>
<script src="static/scripts/hb.js" type="text/javascript"></script>
<script src="static/scripts/unicode.js" type="text/javascript"></script>
<script src="static/scripts/deck.js" type="text/javascript"></script>
<script src="static/scripts/settings.js" type="text/javascript"></script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/ui/4.2.0/firebase-ui-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-firestore.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyDPFScM1l7xtz0ZIFzBTswq8B7FruIn4UE",
authDomain: "twodoor-63fbb.firebaseapp.com",
databaseURL: "https://twodoor-63fbb.firebaseio.com",
projectId: "twodoor-63fbb",
storageBucket: "twodoor-63fbb.appspot.com",
messagingSenderId: "734948646797",
appId: "1:734948646797:web:0d89896cdf4b892f2c67c4",
measurementId: "G-V6SF1EVRMF"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
const db = firebase.firestore();
</script>
</body>
</html>