aboutsummaryrefslogtreecommitdiff
path: root/javascript/demo/group_demo.html
blob: 31aacb00149d15f59e9e55c8697e4be23041e0a5 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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>