comparison src/index.html.luan @ 56:323ddacc1593

start invite
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Mar 2025 07:00:42 -0700
parents 7628fd0e3560
children 7b6691bd65c3
comparison
equal deleted inserted replaced
55:d21ae4920aac 56:323ddacc1593
105 <div chat_content show="chats"> 105 <div chat_content show="chats">
106 <div chats> 106 <div chats>
107 <% chats_html() %> 107 <% chats_html() %>
108 </div> 108 </div>
109 <div posts> 109 <div posts>
110 <h3 intro>Choose a chat on the left</h3> 110 <div intro>
111 <h3>Choose a chat on the left</h3>
112 <p>or</p>
113 <h3>Chat with another person</h3>
114 <form action="javascript:invite()">
115 <p>
116 <label>Person's email</label><br>
117 <input type=email name=email required><br>
118 </p>
119 <p>
120 <input type=submit>
121 </p>
122 </form>
123 </div>
111 </div> 124 </div>
112 </div> 125 </div>
113 <div hidden> 126 <div hidden>
114 <span pulldown> 127 <span pulldown>
115 <img onclick="clickMenu(this)" src="/images/more_vert.svg"> 128 <img onclick="clickMenu(this)" src="/images/more_vert.svg">
141 <div buttons> 154 <div buttons>
142 <button cancel onclick="closeModal(this)">Cancel</button> 155 <button cancel onclick="closeModal(this)">Cancel</button>
143 <button go onclick="savePost(this)">Save</button> 156 <button go onclick="savePost(this)">Save</button>
144 </div> 157 </div>
145 </dialog> 158 </dialog>
159 <dialog invite>
160 <h2>Chat with another person</h2>
161 <p>We have sent an invite to <span email></span></p>
162 <div buttons>
163 <button cancel onclick="closeModal(this)">Close</button>
164 </div>
165 </dialog>
146 <script> 166 <script>
147 'use strict'; 167 'use strict';
148 168
149 <% 169 <%
150 if selected ~= nil then 170 if selected ~= nil then