aboutsummaryrefslogtreecommitdiff
path: root/javascript/demo/group_demo.html
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-05-26 13:58:14 +0100
committerRichard van der Hoff <richard@matrix.org>2016-05-26 13:58:14 +0100
commit952a3e15cf498b21eef9a13152ca704bca2f9723 (patch)
tree02e80f655ceaf09f5028ef80242aaddd223d1e8b /javascript/demo/group_demo.html
parent09b8c3d7bc9e62760ed17575159de655e90b399b (diff)
parent389a181ea860107aad3f657bc54476fc3b824080 (diff)
Merge branch 'rav/group_chat_js_bindings'
Diffstat (limited to 'javascript/demo/group_demo.html')
-rw-r--r--javascript/demo/group_demo.html61
1 files changed, 61 insertions, 0 deletions
diff --git a/javascript/demo/group_demo.html b/javascript/demo/group_demo.html
new file mode 100644
index 0000000..31aacb0
--- /dev/null
+++ b/javascript/demo/group_demo.html
@@ -0,0 +1,61 @@
+<html>
+ <head>
+ <link rel="stylesheet" type="text/css" href="demo.css"/>
+ <script src="../olm.js"></script>
+ <script src="group_demo.js"></script>
+ </head>
+<body>
+<div id="user1" class="user">
+ <h1>User1</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="user2" class="user">
+ <h1>User 2</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>