Mercurial Hosting > chat
diff src/index.html.luan @ 60:3521166513b3
finish invite
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 04 Mar 2025 20:31:00 -0700 |
parents | 8270106644db |
children | afd5ab5b02a2 |
line wrap: on
line diff
--- a/src/index.html.luan Tue Mar 04 08:22:45 2025 -0700 +++ b/src/index.html.luan Tue Mar 04 20:31:00 2025 -0700 @@ -41,26 +41,25 @@ </head> <body> <% header() %> - <div chat_content show="chats"> + <div chat_content show="intro"> <div chats> <% chats_html() %> </div> - <div posts> - <div intro> - <h3>Choose a chat on the left</h3> - <p>or</p> - <h3>Chat with another person</h3> - <form action="javascript:invite()"> - <p> - <label>Person's email</label><br> - <input type=email name=email required><br> - </p> - <p> - <input type=submit> - </p> - </form> - </div> + <div intro> + <h3 or>Choose a chat on the left</h3> + <p or>or</p> + <h3>Chat with another person</h3> + <form action="javascript:invite()"> + <p> + <label>Person's email</label><br> + <input type=email name=email required><br> + </p> + <p> + <input type=submit> + </p> + </form> </div> + <div posts></div> </div> <div hidden> <span pulldown> @@ -75,31 +74,31 @@ <h2>Delete Chat</h2> <p>Are you sure that you want to delete this chat?</p> <div buttons> - <button cancel onclick="closeModal(this)">Cancel</button> - <button go onclick="doDeleteChat(this)">Delete</button> + <button onclick="closeModal(this)">Cancel</button> + <button 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> + <button onclick="closeModal(this)">Cancel</button> + <button onclick="doDeletePost(this)">Delete</button> </div> </dialog> <dialog edit_post> <h2>Edit Message</h2> <p><textarea onfocus="fixTextarea(event)" oninput="fixTextarea(event)"></textarea></p> <div buttons> - <button cancel onclick="closeModal(this)">Cancel</button> - <button go onclick="savePost(this)">Save</button> + <button onclick="closeModal(this)">Cancel</button> + <button onclick="savePost(this)">Save</button> </div> </dialog> <dialog invite> <h2>Chat with another person</h2> <p>We have sent an invite to <span email></span></p> <div buttons> - <button cancel onclick="closeModal(this)">Close</button> + <button onclick="gotoInvite(this)">Close</button> </div> </dialog> <script>