comparison 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
comparison
equal deleted inserted replaced
106:15cf43dd144c 107:ed1418c95488
79 <div buttons> 79 <div buttons>
80 <button onclick="closeModal(this)">Cancel</button> 80 <button onclick="closeModal(this)">Cancel</button>
81 <button onclick="doDeleteChat(this)">Delete</button> 81 <button onclick="doDeleteChat(this)">Delete</button>
82 </div> 82 </div>
83 </dialog> 83 </dialog>
84 <dialog delete_old>
85 <h2>Delete Old Messages</h2>
86 <p>Are you sure that you want to delete the older half of the messages in this chat?</p>
87 <div buttons>
88 <button onclick="closeModal(this)">Cancel</button>
89 <button onclick="doDeleteOld(this)">Delete</button>
90 </div>
91 </dialog>
84 <dialog delete_post> 92 <dialog delete_post>
85 <h2>Delete Message</h2> 93 <h2>Delete Message</h2>
86 <p>Are you sure that you want to delete this message?</p> 94 <p>Are you sure that you want to delete this message?</p>
87 <div buttons> 95 <div buttons>
88 <button onclick="closeModal(this)">Cancel</button> 96 <button onclick="closeModal(this)">Cancel</button>