-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
189 lines (164 loc) · 8.82 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AwesomeApp | Find a Classmate</title>
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400" rel="stylesheet">
<link rel="stylesheet" href="css/app.css">
<!-- Favicon -->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<script src="https://cdn.firebase.com/libs/firebaseui/2.5.1/firebaseui.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/2.7.0/firebaseui.css">
</head>
<body>
<main>
<div class="signedIn">
<div class="container">
<nav class="side-nav">
<div class="logo-box">
<img src="img/logo.gif" alt="Awesome App" class="logo">
<a href="https://play.google.com/store/apps/details?id=com.awesomeapp.android.awesomeapp" target="blank" class="download">Download App <i class="ion-ios-download-outline user-icons"></i></a>
</div>
<div class="user-box">
<img id="userImage" src="" alt="" class="user-img">
<p id="userContact"></p>
<div id="userPreferences" class="preferences-wrapper">
</div>
<div class="buttons">
<a id="prefsButton" href="javascript:void(0)" class="btn" data-target="preferences" title="Preferences">Update</a>
<a href="#" class="btn" id="signout" title="Logout">Logout</a>
</div>
</div>
<div class="classmates-box">
<div class="classmates-no"><span id="totalClassmates"></span> classmates</div>
<div class="search-wrapper">
<i class="ion-ios-search icon-search"></i>
<input id="searchClassmate" type="search" name="search" placeholder="Search for a classmate" onfocus="clearSearch(this)" onblur="setSearch(this)">
</div>
<div class="last-registered" style="display: none !important">Last registered:<span class="last-user"><img src="img/slack-white.svg" alt="" class="slack-icon"><span id="lastClassmate"></span></span></div>
</div>
</nav>
<!-- Preferences -->
<div id="preferences" class="modal">
<div class="form-center">
<div class="form-wrapper">
<a id="closeButton" href="javascript:void(0)" class="btn-close"><i class="ion-ios-close-empty icon-close"></i></a>
<form action="" id="preferencesForm" class="form">
<h4 class="form-title">Preferences</h4>
<p class="form-description">Update your Preferences to stay connected with other classmates!</p>
<div id="message"></div>
<div class="field-wrapper">
<label for="slackName" class="form-label">Slack Username - <strong>It will be shared with other Students!</strong></label>
<input id="slackName" type="text" name="slackNameField" required onfocus="clearSearch(this)" onblur="setSearch(this)" class="form-field">
</div>
<div class="field-wrapper">
<label for="tracks" class="form-label">Track</label>
<select id="tracks" class="browser-default form-field" required>
<option value="" disabled selected>Nanodegree Tracks</option>
</select>
</div>
<div class="field-wrapper">
<label for="availableProjects" class="form-label">Current Project</label>
<select id="availableProjects" class="browser-default form-field" required>
<option value="" disabled selected>Current Project</option>
</select>
</div>
<div class="field-wrapper">
<label for="langOne" class="form-label">First Language</label>
<select id="langOne" class="browser-default form-field" required>
<option value="" disabled selected>Preferred Language #1</option>
</select>
</div>
<div class="field-wrapper">
<label for="langTwo" class="form-label">Second Language</label>
<select id="langTwo" class="browser-default form-field" required>
<option value="" disabled selected>Preferred Language #2</option>
</select>
</div>
<div class="button-wrapper">
<button type="submit" id="savePreferences" class="btn btn-form" title="Update Preferences">Save</button>
</div>
</form>
</div>
</div>
</div>
<!-- Explore -->
<section id="explore" class="explore-box">
<!-- Tracks -->
<div class="tracks">
</div>
<!-- Details -->
<div class="track-details">
<div class="projects"></div>
<div class="info-block">
<div class="search-results"></div>
<ul class="students"></ul>
</div>
</div>
</section>
</div>
<footer class="link-container">
<a href="http://www.freepik.com" class="graphic">Background by Starline / Freepik</a>
<p>Want to contribute? Check our <a href="https://github.com/elharony/awesomeApp-Web">Github Repo</a></p>
</footer>
</div>
<div id="loader">
<div class="preloader-wrapper big active">
<div class="spinner-layer spinner-blue">
<div class="circle-clipper left">
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
</div><div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
<div class="spinner-layer spinner-red">
<div class="circle-clipper left">
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
</div><div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
<div class="spinner-layer spinner-yellow">
<div class="circle-clipper left">
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
</div><div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
<div class="spinner-layer spinner-green">
<div class="circle-clipper left">
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
</div><div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
</div>
</div>
<section class="signedOut">
<div class="inner">
<img src="img/logo.gif" alt="Awesome App" class="logo">
<h1 id="login">Find a Classmate!</h1>
<div id="firebaseui-auth-container"></div>
</div>
</section>
</div>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="js/materialize.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.12.1/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.12.1/firebase-firestore.js"></script>
<script src="js/app.js"></script>
</body>
</html>