-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
591 lines (415 loc) · 20.7 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
<html>
<head>
<title> stitch inc.</title>
<!-- Styles.css -->
<link rel="stylesheet" href="css/sidebar.css">
<link rel="stylesheet" href="css/structure.css">
<link rel="stylesheet" href="css/profile.css">
<link rel="stylesheet" href="css/send.css">
<link rel="stylesheet" href="css/messages.css">
<link rel="stylesheet" href="css/login.css">
<link rel="stylesheet" href="css/createGroup.css">
<link rel="stylesheet" href="css/searchbox.css">
<link rel="stylesheet" href="css/addMember.css">
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/infoBox.css">
<link rel="stylesheet" href="css/savedFiles.css">
<link rel="stylesheet" href="css/search.css">
<link rel="stylesheet" href="css/infoTask.css">
<link rel="stylesheet" href="css/splash.css">
<link rel="stylesheet" href="css/myInfo.css">
<link rel="stylesheet" href="css/commandsView.css">
<link rel="stylesheet" href="css/security.css">
<link rel="stylesheet" href="css/tutorial.css">
<link rel="stylesheet" href="csscal/theme3.css">
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed" rel="stylesheet">
<script src="https://kit.fontawesome.com/73b2d580f2.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="css/demo.css"/>
<link rel="stylesheet" href="css/theme3.css"/>
<link rel="stylesheet" href="css/calendar.css"/>
<link rel="stylesheet" href="css/drag.css"/>
<link rel="stylesheet" href="css/autocomplete.css"/>
<link rel="stylesheet" href="css/integrate-email.css"/>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div id="hole"></div>
<div id ="text"> </div>
<div id="integrate-email-container">
<div id="integrate-email-info-holder">
Allow stitch to integrate with your email. Use stitch to simplify your inbox.
Stitch will keep all your authentication data locally not on the cloud so that only,
you, the client, can access it!
<br/>
<label class="email-int-prov"> Password</label>
<br/>
<input class = "input-email-int" type="password" placeholder="password" id ="email-password-int">
<br/>
<label class="email-int-prov"> Provider</label>
<br/>
<input class = "input-email-int" type="text" id = "email-provider" placeholder="i.e. gmail">
<br/>
<div id= "email-provider-info">
Your email provider is the section at the end of your email address, for
example godric.gryffindor@gmail@gmail.com has gmail as a provider!
</div>
<br/>
<div class="email-int-btn" id="verify-int-email">
VERIFY
</div>
<div id="email-verify-counter">
60
</div>
</div>
<br/>
<div id= "verify-email">
<div id="verify-email-address">
We have sent YOU an email from YOU, please enter the verification code
</div>
<br/>
<input class = "input-email-int" id="verification-code" type="text" placeholder="314159">
<br/>
<div id="complete-verification" class="email-int-btn">
COMPLETE
</div>
</div>
</div>
<div id = "security-div-container">
<div id="security-fadeout">
</div>
<div id ="security-box">
<div id = "security-progress">
<div id= "sd-1"class = "sd"></div>
<div id= "sd-2" class = "sd"></div>
<div id= "sd-3" class = "sd"></div>
</div>
<div id="security-desc">
Security is very important. Amongst a vast array of security protocols we have modularised
our security process so if somehow a hacker obtained a user's credentials they would
be trapped and contained to keep the rest of the company safe!
<p> Your data is stored in a database protected by Google's Security System.
Any calls, conferences, or meetings are end to end encrypted and run on a peer to
peer system. As they do not pass through a server they are incredibly difficult
to hack!
</p>
<br/>
<button id="sec-move-forward" class="security-button"> MOVE FORWARD</button>
</div>
<div id = "group-Id-sec">
<div id="group-id-desc"> Your organisation's ID is important to keep secure.
While your organisations data is still protected by several layers, it
is important to not give away your organisation's ID.
If this does happen, not to worry! We will let your organisation know,
and provide a new one. You will have to reconfigure your security!
</div>
<div id= "enter-groupid-sec">
PLEASE ENTER YOUR ORGANISATION'S ID BELOW
</div>
<br/>
<input id ="enter-org-id" placeholder="#5Gtyw832g32gd33ud">
<br/>
<button id="submit-org-id" class="security-button"> SUBMIT</button>
<div id ="validating-id">
<div id="sec-val">
<div id='sec-val-word'>Validating</div>
<div id= 'sec-val-gif'>
<svg id = "loading-gif" version="1.1" id="L5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" enable-background="new 0 0 0 0" xml:space="preserve">
<circle fill="lightgrey" stroke="none" cx="6" cy="50" r="10">
<animateTransform
attributeName="transform"
dur="1s"
type="translate"
values="0 45 ; 0 -45; 0 45"
repeatCount="indefinite"
begin="0.1"/>
</circle>
<circle fill="lightgrey" stroke="none" cx="76" cy="50" r="10">
<animateTransform
attributeName="transform"
dur="1s"
type="translate"
values="0 30 ; 0 -30; 0 30"
repeatCount="indefinite"
begin="0.2"/>
</circle>
<circle fill="lightgrey" stroke="none" cx="146" cy="50" r="10">
<animateTransform
attributeName="transform"
dur="1s"
type="translate"
values="0 15 ; 0 -15; 0 15"
repeatCount="indefinite"
begin="0.3"/>
</circle>
</svg>
</div>
</div>
</div>
</div>
<div id ="sec-your-id">
<div id="sec-yourid-pre">
Your ID is like your phone number. No one will be able to ever access your account without your
credentials, but people will be able to connect with you on this business platform.
Give your id to partner businesses and whoever else you would like to be able to communciate.
Your ID is your portal to collaborating with other businesses.
</div>
<br/>
<br/>
<div id ="sec-user-id"> #dehfdgef3fguf</div>
<br/>
<br/>
<div id = "sec-your-id-extra-info">
You will also be able to access your ID from your profile!
</div>
<br/>
<br/>
<button id="enter-stitch" class="security-button"> TUTORIAL</button>
<button id="enter-stitch-skiptut" class="security-button"> SKIP TUTORIAL</button>
</div>
</div>
</div>
<div id="loading-splash-screen">
<!-- <div id="stitch_logo_cover"> </div> -->
<img id="stitch_logo" src="stitch_logo.png"> </img>
<div id ="company_name">Cascade Labs</div>
</div>
<div id="login-container">
<div id ="login-signup-navigator">
<div class = "login-word" id ="login-nav"> Login</div>
<div class = "login-word" id = "signup-nav">Sign up </div>
<div id = "slide-bar"> SLIDE</div>
</div>
<div id= "login-container-wrapper">
<div id="login-holder">
<label class = "label"> EMAIL ADDRESS</label><br/>
<input class = "log-sig-form" type="email" placeholder="Your Email" id="email-input"> <br/>
<label class = "label"> PASSWORD</label> <br/>
<input class = "log-sig-form" type="password"placeholder="Your Password" id="password-input">
<br/>
<button id="login" class ="lgn-btn" onclick="login()"> Login</button>
<p ><a >Forgot your password?</a></p>
</div>
<div id="signup-holder">
<input class = "log-sig-form" type="text" placeholder="First Name" id="new-first-name-input"> <i class="input-icon uil uil-user"></i>
<input class = "log-sig-form" type="text" placeholder="LastName Name" id="new-last-name-input">
<input class = "log-sig-form" type="email" placeholder="Email" id="new-email-input">
<input class = "log-sig-form" type="password" placeholder="Password" id="new-password-input"> <i class="input-icon uil uil-lock-alt"></i>
<button id="login" class="lgn-btn" onclick="signup()"> Sign Up</button>
</div>
</div>
</div>
<input id= "reset-profile-img" type="file" accept="image/*" onchange="setProfileUrl (event)">
<div id= 'caleander-holder'>
<div id="close-caleander"> Close</div>
<div id ="caleandar"> </div>
</div>
<!-- Sidebar html -->
<div id="main-app">
<div id="side-bar-container">
<div id="search-bar-container">
<form>
<input id="sidebar-searchform" placeholder="Command Center" readonly>
</form>
</div>
<div id="sidebar-content-holder">
</div>
<div id="my-profile-container">
<div id="profile-img">
<img id="profile-img-img"> </img>
</div>
<div id="profile-name-and-status-container">
<div id="profile-name"><span id="profile-my-name"> </span>
<br>
<span id="profile-my-status"><div id="my-status-circle"> </div> <span id ="status-word-user"></span></span>
<div id="icon-container"> </div>
</div>
</div>
</div>
</div>
<div id="column-2">
<!-- Header -->
<div id="header">
<div id="header-group-name"></div>
<div id="add-group-member">
<button id="add-group-member">
<!-- Add Group Member -->
<div id="add-group-member-icon-hover">
</div>
</button>
</div>
</div>
<!-- body html -->
<div id="messages-container"> </div>
<div id="drag-and-drop">
<div id = "center-box"> Drop your files!</div>
</div>
<div id="find-commands-wrapper">
<div id ="close-commands-view">Close</div>
<div id="find-commands-container">
</div>
<div id="fadeout"> </div>
</div>
<div id="input-container">
<textarea id="send-message" type="text" placeholder="Send a message" rows="2"></textarea>
<div id="input-file-div"><input id="send-file"type="file" id="myfile" name="myfile"
onchange="onMediaFileSelected(event)">
</div>
<div id="icon-attach"> <i class="fa fa-paperclip" aria-hidden="true"></i></div>
<div id="search-spacer"></div>
</div>
<!-- Info div -->
<div id="info-div-container" >
<div id="row-one">
<div id="close-info-box"> Close</div>
</div>
<div id="main-info-container">
<div id="info-container">
<div id="group-info-row-one">
<div id="group-image-info">
<img id="group-profile-img"></img></div>
<input id= "reset-group-img" type="file" accept="image/*" onchange="setGroupUrl (event)">
<div id="group-stats-info">
<div contenteditable id="group-stats-name"> Me</div>
<div contenteditable id="group-stats-description"> </div>
</div>
</div>
<div id="group-members">
<div id="see-members-word"> Members <span id = "add-member-plus"> PLUS</span></div>
<div id="add-group-member-container">
<div id = "enter-new-user-email">
<input id="add-new-member-form" type="text" placeholder="severus@slytherin.hog">
</div>
<div id="buttons-row-new-member">
<div class = "newmembut" id = "reset-new-mem">
CLOSE
</div>
<div class = "newmembut" id = "add-new-member">
ADD
</div>
</div>
</div>
<div id="list-group-members"></div>
</div>
<div id="btn-btm-row">
<button id="save-group-info" class="info-btn">Save</button>
<button id="cancel-group-info" class="info-btn">Cancel</button>
<button id="leave-group-info" class="info-btn">Leave</button>
</div> </div> </div>
</div>
<div id="my-info-div">
<div id="close-info-box-me"> Close</div>
<div id = "my-info-container">
<div id="my-info-box-top-row">
My shit
</div>
</div>
</div>
</div>
<!-- Closing the first app section -->
<!-- Settings pages -->
<div id="settings-container">
<div id="settings-box">
<div id="settings-sidebar">
</div>
</div>
</div>
<!-- search Pages -->
<div id="search-container">
<div id="search-box">
Hello world
</div>
</div>
<!-- Login Page -->
<div id ="search-whole-container">
<div id="command-center-container">
<div id ="command-center-wrapper">
<div id ="command-center-top-row">
<form>
<input id="search-form" type="text" placeholder="Search">
</form>
<button id="commands-list"> Cmd</button>
</div>
</div>
<div id ="command-center-content">
</div><div id ="command-center-options"> CREATE</div>
<div id="command-center-people-wrapper">
<div id="command-center-people">
</div>
</div>
</div>
</div>
<div id="info-fade" class="group-info-div"> </div>
</div>
<div id="saved-files-container">
<div id ="my-files-row1">
<div id="saved-files-title" > Find saved files here </div>
<div id="close-files-box"> Close</div>
</div>
<div id ="myfiles-main">
<div id="load-myfiles">
</div>
<div id="my-files-previewer">
<div id="myfile-preview-image"> </div>
<div id="myfile-name-holder"> Screen shot dummy filesname hdfqbgo</div>
<div id="myfile-stat">
<div id="myfile-type-size">
<div id="myfile-type-size-wrapper">
<div id="myfiletype"> PNG</div>
<div id="myfilesize">107 MB </div>
</div>
</div>
<div id="myfile-date-created"> Created <span id = "myfile-date-made-date"> 7 July 2020</span></div>
</div>
</div>
</div>
</div>
<div id = "blocker"> </div>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.16.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.16.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.16.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.16.1/firebase-storage.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.16.1/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyDi3gDCv_bDhdU8q4tkz7pyrw3SuyNqx_k",
authDomain: "chat-app-test-9dd0e.firebaseapp.com",
databaseURL: "https://chat-app-test-9dd0e.firebaseio.com",
projectId: "chat-app-test-9dd0e",
storageBucket: "chat-app-test-9dd0e.appspot.com",
messagingSenderId: "146211515700",
appId: "1:146211515700:web:d6b9f59e07fd1c29b88961",
measurementId: "G-CPML3Z6CGK"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
<script src="notifications.js"> </script>
<script src="login.js"></script>
<script src="functions.js"></script>
<script src="processSendMessage.js"></script>
<script src="variables.js"> </script>
<script src="savedFiles.js"> </script>
<script src="renderInfoBox.js"> </script>
<script src="eventListeners.js"> </script>
<script src="user.js"> </script>
<script src="tutorial.js"> </script>
<script src="security.js"> </script>
<script src="css/style.js"> </script>
<script src ="renderMessages.js"></script>
<script src ="autocomplete.js"></script>
<script type="text/javascript" src="js/caleandar.js"></script>
<script type="text/javascript" src="js/demo.js"></script>
<script type="text/javascript" src="index.js"></script>
<script src="textarea.js"> </script>
<!-- Experiment features below -->
<script src="vr.js"> </script>
</body>
</html>