~dricottone/blog

ref: 61beddd07fabc8ae0ee8a011d1971fa797f143b1 blog/layouts/shortcodes/chat.html -rw-r--r-- 822 bytes
61beddd0Dominic Ricottone Add Ludicity 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div id="identity">
  <button onclick="toggleIdentity()">Identity</button>
  <div id="identity-content" class="hidden">
    <p>Your ephemeral public key is:</p>

    <div id="identity-pubkey"></div>
  </div>
</div>

<div id="passwd">
  <button onclick="togglePassword()">Password</button>
  <div id="passwd-content" class="hidden">
    <p>To enable symmetric encryption, enter a password into this text box.</p>
    <input id="passwd-input" autocomplete="off" type="text">
    <button id="passwd-button">Update Key</button>

    <p>The intended recipients of your messages need to put the same password into this text box, too.</p>

    <p>You can only have one password at a time.</p>
  </div>
</div>

<ul id="chat-room"></ul>
<input id="chat-input" autocomplete="off" type="text">
<button id="chat-button">Send</button>