This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
184 lines (171 loc) · 8.02 KB
/
index.html
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<html>
<head>
<meta charset="utf-8" />
<title>Autocrypt Essential UI Demo</title>
<script type="text/javascript" src="providers/provider.js"></script>
<script type="text/javascript" src="util/collection.js"></script>
<script type="text/javascript" src="ui.js"></script>
<script type="text/javascript" src="clients.js"></script>
<script type="text/javascript" src="messageStore.js"></script>
<script type="text/javascript" src="autocrypt.js"></script>
<script type="text/javascript" src="init.js"></script>
<script type="text/javascript" src="ui/panes.js"></script>
<script type="text/javascript" src="ui/compose.js"></script>
<script type="text/javascript" src="ui/list.js"></script>
<script type="text/javascript" src="ui/view.js"></script>
<script type="text/javascript" src="ui/preferences.js"></script>
<script type="text/javascript" src="ui/setup.js"></script>
<script type="text/javascript" src="ui/users.js"></script>
<script type="text/javascript" src="ui/devices.js"></script>
<script type="text/javascript" src="tests.js"></script>
<script type="text/javascript" src="tests/user-switch-test.js"></script>
<script type="text/javascript" src="tests/util/collection-test.js"></script>
<script type="text/javascript" src="tests/clients-test.js"></script>
<script type="text/javascript" src="tests/messageStore-test.js"></script>
<script type="text/javascript" src="tests/smoke-test.js"></script>
<link rel="stylesheet" type="text/css" href="ui.css" />
</head>
<body>
<div id="sidebar">
<div id="login-info">
<div id="menu-username">
Logged in as
<div id="username">user</div>
(<a id="usertoggle" href="#">change</a>)
</div>
<div id="menu-device">
Using
<img id="device" alt="laptop" src="assets/images/laptop.png"/>
(<a id="devicetoggle" href="#">change</a>)
</div>
</div>
</div>
<div id="main">
<div id="menu">
<ul>
<li id="tab-compose">Write mail</li>
<li id="tab-list">Mailbox</li>
<li id="tab-preferences">Preferences</li>
</ul>
</div>
<form id="compose">
<div>
<table><tbody>
<tr><th>From:</th><td id="from"></td></tr>
<tr><th>To:</th><td><input id="to" /></td></tr>
<tr><th>Subject:</th><td><input id="subject" /></td></tr>
<tr id="encryptedRow"><td colspan="2"><label><input type="checkbox" id="encrypted">Encrypt</label><span id="explanation"></span></td></tr>
<tr><td id="compose-actions" colspan="2">
<input type="button" id="send" value="Send"/>
</td></tr>
<tr><td colspan="2">
<textarea id="body"></textarea>
</td></tr>
</tbody></table>
</div>
</form>
<div id="list">
<div id="message" style="display:none;">
</div>
<div id="listReplacement">No messages!</div>
<table id="msgtable">
<thead>
<th>...</th><th>From</th><th>To</th><th>Subject</th><th>Date</th>
</thead>
<tbody id="msglist">
</tbody>
</table>
</div>
<div id="view">
<table><tbody>
<tr><th>From:</th><td id="viewFrom"></td></tr>
<tr><th>To:</th><td id="viewTo"></td></tr>
<tr><th>Subject:</th><td id="viewSubject"></td></tr>
<tr><th>Date:</th><td id="viewDate"></td></tr>
<tr><td colspan="2" id="viewEncrypted"><span></span></td></tr>
<tr><td id="view-actions" colspan="2">
<input type="button" id="reply" onclick="return false;" value="Reply"/>
</td></tr>
<tr><td colspan="2" id="viewBody"></td></tr>
</tbody></table>
</div>
<form id="preferences">
<div>
<fieldset>
<legend><span id="title">Autocrypt Settings</span>
<label>[<input type="checkbox"
value="enable"
id="enable"
/>enable]</label>
</legend>
<hr />
You can setup autocrypt for this email address elsewhere with a setup mail and a secret code.
<button id='transfer'>Send setup mail and create secret code</button>
<hr />
<div id="more">
<a id="showmore" href="#" >more...</a>
</div>
<div id="settings">
<label>
<input type="checkbox"
value="yes"
name="prefer"
id="yes"
/>
I prefer to receive encrypted mail.
</label>
<br/>
<label>
<input type="checkbox"
value="no"
name="prefer"
id="no"
/>
I prefer not to receive encrypted mail.
</label>
</div>
<div id="description">
Description goes here.
</div>
</fieldset>
</div>
</form>
<div id="setup">
<form id="scenario">
<div>
Do you already have autocrypt for this email address on
a different machine or in a different program?
</div>
<button id="initial">
No - Setup autocrypt for this email address.
</button>
<br/>
<button id="multi">
Yes - Use existing autocrypt for this email address.
</button>
</form>
<div id="secrets" style="display:none">
<div id="missing-secrets">
In order to use the existing autocrypt you need
<ul>
<li>An autocrypt setup mail</li>
<li>The autocrypt secret code for that mail</li>
</ul>
You can create both in any of your existing autocrypt installations.
</div>
<button id='check'>Check for autocrypt setup mail</button>
</div>
<form id="code" style="display:none;">
<div id="setup-mail-found">
An autocrypt setup mail has been found in your mailbox.
Please enter the autocrypt secret code to activate autocrypt:
<fieldset>
<input/>
</fieldset>
<button id='finish'>Finalize Setup</button>
</div>
</form>
</div>
</div>
</body>
</html>