Skip to content
Permalink
4dfa6d7d8d
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 51 lines (42 sloc) 2.15 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="theme-color" content="#f00" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to Chatmate!</title>
<link href="main.css?version=2" rel="stylesheet">
<link rel="manifest" href="manifest.json?version=2">
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap" rel="stylesheet">
</head>
<body>
<header>
<a><img src="imgs/more.png" alt="Menu Icon" height = 20px width = 30px></a>
<p class=>
<h2>DMD3440 Chat Room</h2>
</p>
<a href="profile.html"><img src="imgs/profile.png" alt="Profile Icon" height = 30px width = 25px></a>
</header>
<div class="info">
<img class="smallImage" src="#" id="userProfilePicDisplay"/>
<span id="usernameDisplay" contenteditable="true">{UserName}</span>
<span class="small" id="userStatusDisplay">{Status}</span>
</div>
<div id="chatBox"></div>
<div id="chatInput">
<input id="newMsg" type="text" placeholder="type a message!">
<button id="sendBtn">Send</button>
</div>
<!-- Firebase App (the core Firebase SDK) is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.9.2/firebase-app.js"></script>
<!-- If you enabled Analytics in your project, add the Firebase SDK for Analytics -->
<script src="https://www.gstatic.com/firebasejs/7.9.2/firebase-analytics.js"></script>
<!-- Add Firebase products that you want to use -->
<script src="https://www.gstatic.com/firebasejs/7.9.2/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.9.2/firebase-firestore.js"></script>
<script src="firebase-config.js"></script>
<script src="register-sw.js"></script>
<script src="https://cdn.jsdelivr.net/gh/joelsalisbury/firebase-chat-3440/firebase-chat-functions.js"></script>
<script src="main.js?version=2"></script>
</body>
</html>