Mercurial Hosting > chat
diff src/index.html.luan @ 23:c54c806fcc6e
add delete_post
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 05 Nov 2024 16:09:10 -0700 |
parents | 5a56297713a3 |
children | af41be2dcdec |
line wrap: on
line diff
--- a/src/index.html.luan Tue Nov 05 14:29:16 2024 -0700 +++ b/src/index.html.luan Tue Nov 05 16:09:10 2024 -0700 @@ -112,6 +112,14 @@ <button go onclick="doDeleteChat(this)">Delete</button> </div> </dialog> + <dialog delete_post> + <h2>Delete Message</h2> + <p>Are you sure that you want to delete this message?</p> + <div buttons> + <button cancel onclick="closeModal(this)">Cancel</button> + <button go onclick="doDeletePost(this)">Delete</button> + </div> + </dialog> <script> <% if selected ~= nil then