This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
chat.html
57 lines (50 loc) · 2.16 KB
/
chat.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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<title>Packhacks 2021</title>
<link href="global.css" rel="stylesheet">
<link href="chat.css" rel="stylesheet">
</head>
<body>
<div class="header">
<div class="header-container">
<a href="index.html" class="icon vertical-center"><img class="logo" src="logo.png" alt="A/S Logo"></a>
<span class="app-title">AlphaStack</span>
<a href="postlist.html" class="button vertical-center">Posts</a>
</div>
</div>
<div class="chat-container">
<div id="chat-list"></div>
<div class="chat-main" id="bubble-container">
<div class="select-chat">
Select a chat to begin
</div>
</div>
<div class="chat-input">
<form onsubmit="sendMessage(event)">
<input class="textfield" id="chat-text" placeholder="Message..." />
<input id="chat-submit" type="submit" value="Send"></input>
</form>
<form id="upload-image-form">
<label class="upload" value="Upload Photo">Select A Photo<input id="image-upload" type="file" name="file"></input></label>
<input id="chat-submit" type="submit" value="Upload Photo"></input>
</form>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://www.gstatic.com/firebasejs/7.24.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.18.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.18.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.18.0/firebase-storage.js"></script>
<script src="./firebase/config.js"></script>
<!-- <script src="../firebase/login.js"></script> -->
<script src="./firebase/validate_login.js"></script>
<script src="./firebase/chat.js"></script>
<script src="./chat.js"></script>
</body>
</html>