diff src/index.html.luan @ 107:ed1418c95488

delete old messages
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 03 Sep 2025 12:36:57 -0600
parents 46418395c860
children
line wrap: on
line diff
--- a/src/index.html.luan	Wed Sep 03 07:58:46 2025 -0600
+++ b/src/index.html.luan	Wed Sep 03 12:36:57 2025 -0600
@@ -81,6 +81,14 @@
 				<button onclick="doDeleteChat(this)">Delete</button>
 			</div>
 		</dialog>
+		<dialog delete_old>
+			<h2>Delete Old Messages</h2>
+			<p>Are you sure that you want to delete the older half of the messages in this chat?</p>
+			<div buttons>
+				<button onclick="closeModal(this)">Cancel</button>
+				<button onclick="doDeleteOld(this)">Delete</button>
+			</div>
+		</dialog>
 		<dialog delete_post>
 			<h2>Delete Message</h2>
 			<p>Are you sure that you want to delete this message?</p>