diff src/index.html.luan @ 83:a47036fd0158

group chat
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 11 Mar 2025 13:56:59 -0600
parents b5a316575e64
children 3053a4fc10be
line wrap: on
line diff
--- a/src/index.html.luan	Mon Mar 10 22:42:46 2025 -0600
+++ b/src/index.html.luan	Tue Mar 11 13:56:59 2025 -0600
@@ -111,6 +111,20 @@
 				<button onclick="closeModal(this)">Close</button>
 			</div>
 		</dialog>
+		<dialog add>
+			<h2>Add Someone to Chat</h2>
+			<form action="javascript:addToChat()">
+				<p>
+					<label>Person's email</label><br> 
+					<input type=email name=email required><br>
+					<span error></span>
+				</p>
+				<div buttons>
+					<button onclick="closeModal(this)">Cancel</button>
+					<button type=submit>Add</button>
+				</div>
+			</form>
+		</dialog>
 		<input type="file" required onchange="loadedFile(this)">
 		<script>
 			'use strict';