Skip to content
Permalink
master
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 53 lines (43 sloc) 2.81 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 href="groupchat.html"><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!">
<svg id="sendBtn" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 527.56 527.56"><defs><style>.cls-1{fill:#999;}</style></defs><polygon class="cls-1" points="176.9 367.81 204.08 316.52 361.7 205.66 176.86 302.19 176.9 367.81"/><path class="cls-1" d="M283.47,23C137.78,23,19.68,141.05,19.68,286.73s118.1,263.78,263.79,263.78,263.78-118.1,263.78-263.78S429.15,23,283.47,23ZM443.84,205.53,326.18,380A12.53,12.53,0,0,1,310,384.07l-47.15-24.48L198,415.87a12.53,12.53,0,0,1-20.73-9.41l-.38-91.88-70.24-36.66a12.52,12.52,0,0,1,3.19-23.34l321-68.3a12.52,12.52,0,0,1,13,19.25Z" transform="translate(-19.68 -22.95)"/></svg>
<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@1.2/firebase-chat-functions.js"></script>
<script src="main.js?version=2"></script>
</body>
</html>