diff options
author | Saúl Ibarra Corretgé <s@saghul.net> | 2020-06-17 13:51:49 +0200 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2020-07-04 16:59:26 -0400 |
commit | a0284c2ba36ac8433ea752e93b4a0a331a3f0c0b (patch) | |
tree | 0dc6d871b1d851dee5a46aa47066ca3519c7c9f3 /javascript/demo/group_demo.html | |
parent | 8a958beb483b41eda34622c778983421baa7b06d (diff) |
Fix group demo to work with > 2 users
Add 4 by default, and make sure OT keys are not reused.
Diffstat (limited to 'javascript/demo/group_demo.html')
-rw-r--r-- | javascript/demo/group_demo.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/javascript/demo/group_demo.html b/javascript/demo/group_demo.html index 31aacb0..d93a7cd 100644 --- a/javascript/demo/group_demo.html +++ b/javascript/demo/group_demo.html @@ -57,5 +57,56 @@ <div class="user_progress"></div> </div> +<div id="user3" class="user"> + <h1>User 3</h1> + + <textarea class="user_plain_input"></textarea> + <button class="user_encrypt">Encrypt</button> + + <h2>Outgoing</h2> + + <h3>One-to-one output</h3> + <div class="user_cipher_output"></div> + + <h3>Group output</h3> + <div class="group_output"></div> + + <h2>Incoming</h2> + + <h3>One-to-one Received</h3> + <div class="user_cipher_input"></div> + + <h3>Group received</h3> + <div class="group_input"></div> + + <h2>Tasks</h2> + <div class="user_progress"></div> +</div> + +<div id="user4" class="user"> + <h1>User 4</h1> + + <textarea class="user_plain_input"></textarea> + <button class="user_encrypt">Encrypt</button> + + <h2>Outgoing</h2> + + <h3>One-to-one output</h3> + <div class="user_cipher_output"></div> + + <h3>Group output</h3> + <div class="group_output"></div> + + <h2>Incoming</h2> + + <h3>One-to-one Received</h3> + <div class="user_cipher_input"></div> + + <h3>Group received</h3> + <div class="group_input"></div> + + <h2>Tasks</h2> + <div class="user_progress"></div> +</div> </body> </html> |