forked from loqui/im
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
437 lines (437 loc) · 21.1 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title>Loqui IM</title>
<meta name='description' content=''>
<meta name='author' content='LoquiIM (@loquiim)'>
<meta name='HandheldFriendly' content='True'>
<meta name='viewport' content='initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<meta name='apple-mobile-web-app-capable' content='yes'>
<meta name='apple-mobile-web-app-status-bar-style' content='black'>
<meta name='format-detection' content='telephone=no'>
<meta http-equiv='cleartype' content='on'>
<link rel='stylesheet' href='style/tapquo/lungo.icon.css'>
<link rel='stylesheet' href='style/loqui/chungo.css'>
<link rel='stylesheet' href='style/loqui/index.css'>
<link rel='prefetch' type='application/l10n' href='l10n/main.ini' />
<link rel='shortcut icon' href='img/icon-32.png' type='image/png' />
</head>
<body class='app'>
<section id='welcome' data-transition='horizontal'>
<article id='main' class='scroll'>
<h1 data-l10n-id='WelcomeTo' data-l10n-args='{ "app": "Loqui" }'>Welcome to Loqui IM</h1>
</article>
</section>
<section id='providers' data-transition='horizontal' class='form'>
<article id='main' class='headless simple scroll form'>
<h1 data-l10n-id='Providers'>Add account</h1>
<p data-l10n-id='ProvidersExplanation'>You can add one or more accounts from every of the following messaging providers.</p>
<ul class='mini'></ul>
<div class='buttongroup'>
<button data-role='back' data-view-section='back' data-l10n-id='Cancel'>Cancel</button>
</div>
</article>
</section>
<section id='success' data-transition='horizontal'>
<article id='main' class='headless simple scroll form'>
<h1 data-l10n-id='Congrats'>Congratulations!</h1>
<p data-l10n-id='CongratsLong'>You have successfully set up your account.</p>
<p><span id='imported'></span></p>
<img id='avatar' />
<div class='buttongroup'>
<button class='start' data-l10n-id='StartNow'>Start using this account</button>
<button class='back' data-role='back' data-menu-onclick='providers' data-l10n-id='ConfigOther'>Set up another account</button>
</div>
</article>
</section>
<section id='main' data-transition='horizontal' class='fix head foot'>
<header>
<div class='account' data-menu-onclick='me'>
<img/>
<strong class='provider'></strong>
<span class='jid'></span>
</div>
<nav class='on-right'>
<button data-view-aside='accounts' data-icon='menu' class='tab'></button>
</nav>
<nav class='on-right discreet'>
<!--<button data-menu-onclick='doSearch' data-icon='search' ></button>-->
<button data-menu-onclick='chatAdd' data-icon='pencil' ></button>
</nav>
</header>
<article id='chats' class='scroll'>
</article>
</article>
</section>
<section id='settings' data-transition='vertical' class='fix head extended'>
<header data-title='Settings' data-l10n-title='Settings' class='extended'>
<nav class='on-left'>
<button data-view-section='back' data-icon='angle-up' class='up'></button>
</nav>
<nav data-control='groupbar'>
<a data-l10n-id='Features' data-view-article='features'>Features</a>
<a data-l10n-id='Developer' data-view-article='devmode' id='developer'>Developer</a>
<a data-l10n-id='Info' data-view-article='info'>Info</a>
</nav>
</header>
<article id='features' class='scroll'>
<ul></ul>
</article>
<article id='devmode' class='scroll'>
<ul></ul>
<div id='export'>
<button data-icon='up-sign'></button>
<p data-l10n-id='Export'>Export data</p>
</div>
<div div='import'>
<button data-icon='down-sign'></button>
<p data-l10n-id='Import'>Import data</p>
</div>
</article>
<article id='info' class='simple scroll'>
<h1><span data-var='name'></span> <span data-var='version'></span><span data-var='minorVersion'></span></h1>
<p data-l10n-id='Copyright'>© 2013-2014 Loqui IM. Some rights reserved.</p>
<p><a target="_external" href="http://loqui.im/"><em data-l10n-id='Website'>Website</em></a></p>
<p><a target="_external" href="https://github.com/loqui/im/issues?state=open"><em data-l10n-id='ReportIssue'>Report an issue</em></a></p><br />
<small data-l10n-id='FreeSoftware'>This program is free software; you may redistribute and/or modify it under the terms of the GNU Affero General Public License (AGPL 3) as published by the Free Software Foundation.</small>
</article>
</section>
<section id='me' data-transition='vertical' class='fix head profile'>
<header data-title='My account' data-l10n-title='MyAccount'>
<nav class='on-left'>
<button data-view-section='back' data-icon='angle-up' class='up'></button>
</nav>
</header>
<article id='main' class='scroll'>
<div id='card'>
<span class='avatar'><img/></span>
<span class='name'></span>
<span class='user'></span>
<span class='provider'></span>
<button class='background change' data-icon='cog'></button>
<button class='background delete' data-icon='remove'></button>
</div>
<div id='status'>
<h2 data-l10n-id='StatusMessage'>Status message</h2>
<input type='text' name='status' id='status' />
</div>
<div id='actions'>
<h2 data-l10n-id='Actions'>Actions</h2>
<div class='buttongroup'>
<button class='otrMenu' data-l10n-id='OTRMenu' data-menu-onclick='otrMenu'>OTR Settings</button>
<button class='accountRemove' data-l10n-id='AccountRemove' data-menu-onclick='accountRemove'>Remove this account</button>
<button class='accountPurchase' data-l10n-id='Purchase' data-menu-onclick='purchase'>Purchase WhatsApp</button>
</div>
</div>
</article>
</section>
<section id='contact' data-transition='vertical' class='fix head profile'>
<header data-title='Contact profile' data-l10n-title='ContactProfile'>
<nav class='on-left'>
<button data-view-section='back' data-icon='angle-up' class='up'></button>
</nav>
</header>
<article id='main' class='scroll'>
<div id='card'>
<span class='avatar'><img/></span>
<span class='name'></span>
<span class='user'></span>
<span class='provider'></span>
</div>
<div id='status'>
<h2 data-l10n-id='StatusMessage'>Status message</h2>
<p id='status'></p>
</div>
<div id='settings'>
<h2 data-l10n-id='ChatSettings'>Chat settings</h2>
<ul></ul>
</div>
<div id='actions'>
<h2 data-l10n-id='Actions'>Actions</h2>
<div class='buttongroup'>
<button data-l10n-id='ChatRemove' data-menu-onclick='chatRemove'>Clear chat</button>
<button data-l10n-id='ContactRemove' data-menu-onclick='contactRemove'>Remove this contact</button>
</div>
</div>
</article>
</section>
<section id='muc' data-transition='vertical' class='fix head profile'>
<header data-title='Group Info' data-l10n-title='GroupInfo'>
<nav class='on-left'>
<button data-view-section='back' data-icon='angle-up' class='up'></button>
</nav>
</header>
<article id='main' class='scroll'>
<div id='card'>
<span class='avatar'><img/></span>
<span class='name'></span>
<span class='provider'></span>
</div>
<div id='participants'>
<h2 data-l10n-id='Participants'>Participants</h2>
<ul></ul>
<div class='buttongroup'>
<button class='invite' data-menu-onclick='mucDirectInvite'>Invite someone</button>
</div>
</div>
<div id='settings'>
<h2 data-l10n-id='ChatSettings'>Chat settings</h2>
<ul></ul>
</div>
<div id='actions'>
<h2 data-l10n-id='Actions'>Actions</h2>
<div class='buttongroup'>
<button data-l10n-id='MucClear' data-menu-onclick='mucClear'>Clear chat</button>
<button data-l10n-id='MucExit' data-menu-onclick='mucExit'>Exit from this group</button>
</div>
</div>
</article>
</article>
</section>
<section id='contactAdd' data-transition='vertical' class='fix head'>
<header data-title='New Contact' data-l10n-title='NewContact'>
<nav class='on-left'>
<button data-view-section='back' data-icon='angle-up' class='up'></button>
</nav>
</header>
<article id='main' class='simple form scroll'>
<label for='address' data-l10n-id='Address'>Address</label>
<input type='text' name='address'/>
<label for='name' data-l10n-id='Nickname'>Nickname</label>
<input type='text' name='name' data-l10n-placeholder='JohnDoe' placeholder='John Doe'/>
<div class='buttongroup'>
<button class='add' data-l10n-id='Add'>Add</button>
</div>
</article>
</section>
<section id='chat' data-transition='horizontal' class='fix head'>
<header>
<nav class='on-left'>
<button data-view-section='back' data-icon='angle-left' class='tab'></button>
</nav>
<span class='totalUnread'></span>
<span class='title'></span>
<span class='status'></span>
<span class='avatar' data-menu-onclick='chatInfo'><img/></span>
</header>
<article id='main'>
<ul id='messages' class='scroll paper'></ul>
<div id='footbox'>
<progress value='0' max='100'></progress>
<div id='typing' data-l10n-id='Typing'>Typing...</div>
<button id='plus' class='recommend' type='options' data-icon='plus' data-menu-onclick='plus' ></button>
<button id='say' class='recommend' type='send' data-icon='comments'></button>
<div id='text' contenteditable></div>
</div>
</article>
<article id='emoji'>
<h1 data-l10n-id='Emoji'>Emoji</h1>
<ul></ul>
<div class='buttongroup'>
<button data-role='back' data-view-article='main' data-l10n-id='Cancel'>Cancel</button>
</div>
</article>
<article id='call'>
<h1 data-l10n-id='Call'>Call</h1>
<ul></ul>
<div class='buttongroup'>
<button data-role='back' data-view-article='main' data-l10n-id='Cancel'>Cancel</button>
</div>
</article>
<article id='videocall'>
<h1 data-l10n-id='VideoCall'>VideoCall</h1>
<ul></ul>
<div class='buttongroup'>
<button data-role='back' data-view-article='main' data-l10n-id='Cancel'>Cancel</button>
</div>
</article>
<nav id='plus' data-control='menu' class='icons'>
<a class='emoji' data-menu-onclick='emoji' data-icon='star' data-l10n-id='Emoji'>Emoji</a>
<a class='picture' data-menu-onclick='imageSend' data-icon='picture' data-l10n-id='MediaType_image'>Picture</a>
<a class='video' data-menu-onclick='videoSend' data-icon='video' data-l10n-id='MediaType_video'>Video</a>
<a class='audio' data-menu-onclick='audioSend' data-icon='music' data-l10n-id='MediaType_audio'>Audio</a>
<a class='location' data-menu-onclick='locationSend' data-icon='map-marker' data-l10n-id='MediaType_url'>Location</a>
<a class='bolt' data-menu-onclick='bolt' data-icon='bolt' data-l10n-id='MediaType_bolt'>Bolt</a>
<a class='otr' data-menu-onclick='goOTR' data-icon='lock' data-l10n-id='OTR'>OTR</a>
<!--<a class='call' data-menu-onclick='call' data-icon='mobile-phone' data-l10n-id='Call'>Call</a>
<a class='videocall' data-menu-onclick='videocall' data-icon='video' data-l10n-id='VideoCall'>VideoCall</a>-->
</nav>
</section>
<div id='debugConsole'>
<div id='showConsole'>
<img src='img/console-active.png' >
</div>
<div id='hideConsole'>
<img src='img/console-inactive.png' >
</div>
<div id='console' >
<div id='backgroundConsole'></div>
<div id='bodyConsole'>
<p id='consoleTitle' data-l10n-id='consoleTitle'>Console:</p>
<button id='consoleClear' data-l10n-id='consoleClear'>Clear</button>
<div id='logConsole' >...</div>
</div>
</div>
</div>
<section id='activity' data-transition='vertical'>
<header>
<h1></h1>
<nav class='on-left'>
<button data-view-section='back' data-icon='remove' class='up'></button>
</nav>
<nav data-control='groupbar'>
<a data-l10n-id='Chats' data-view-article='chats'>Chats</a>
<a data-l10n-id='Contacts' data-view-article='contacts'>Contacts</a>
<a data-l10n-id='Groups' data-view-article='groups'>Groups</a>
</nav>
</header>
<article id='main' class='active scroll'></article>
</section>
<section id='searchBar' data-transition='vertical'>
<header data-title='Search'>
<nav class='on-left'>
<button data-view-section='back' data-icon='remove' class='up'></button>
</nav>
</header>
<article id='main' class='active scroll'></article>
</section>
<section id='otrMenu' data-transition='vertical'>
<header data-title='OTR Settings' data-l10n-title='OTRMenu'>
<nav class='on-left'>
<button data-view-section='back' data-icon='remove' class='up'></button>
</nav>
</header>
<article id='otrSetup' class='scroll simple'>
<p data-l10n-id='OTRExplanation'>Off-The-Record (OTR) allows you to have private conversations over any instant messaging protocol.<br/><br/>To start using OTR, you have to generate a secret key.<br/><small>(This may take up to several minutes depending on your phone's capabilities).</small></p>
<div class='buttongroup'>
<button id='setupOtr' data-l10n-id='OTRSetup'>Generate my key</button>
</div>
</article>
<article id='otrSettings' class='scroll simple'>
<p>OTR is enabled for this account.</p>
<p>Your key's fingerprint is: <span id='otrKeyFingerprint'></span></p>
<!--<p>
<input type='checkbox' name='logOtrChats' id='logOtrChats' value='yes'/>
<label for='logOtrChats'>Log OTR-encrypted chats</label>
</p>-->
</article>
</section>
<section id='mucCreateForm' data-transition='vertical'>
<header data-title='New Group' data-l10n-title='MucCreate'>
<nav class='on-left'>
<button data-view-section='back' data-icon='angle-up' class='up'></button>
</nav>
</header>
<article id='main' class='simple form scroll'>
<div data-requires='federation'>
<label for='server' data-l10n-id='Server'>Server</label>
<select name='server'>
<option id='self' selected='selected'></option>
<option value='groups.loqui.im'>loqui.im</option>
<option value='conference.dukgo.com'>dukgo.com</option>
<option value='conf.jabberes.org'>jabberes.org</option>
<option value='conference.jabber.ccc.de'>jabber.ccc.de</option>
<option value='muc.jappix.com'>jappix.com</option>
<option value='custom' data-l10n-id='Custom' data-reveal='custom'>Custom</option>
</select>
</div>
<label for='name' data-l10n-id='MucTitle'>Title</label>
<input class='hidden' type='text' name='custom' />
<input type='text' name='title' data-l10n-placeholder='MucTitlePH' placeholder='Old friends'/>
<label for='members' data-l10n-id='MucMembers'>Members</label>
<ul class='members listBox'>
<li class='add' data-l10n-id='MucInvite' data-icon='plus' data-menu-onclick='mucInvite'>Invite someone</li>
</ul>
<div class='buttongroup'>
<button class='create' data-l10n-id='Create' data-menu-onclick='mucCreate' >Create</button>
</div>
</article>
</section>
<section id='mucSearchForm' data-transition='vertical'>
<header data-title='Join Group' data-l10n-title='MucJoin'>
<nav class='on-left'>
<button data-view-section='back' data-icon='angle-up' class='up'></button>
</nav>
</header>
<article id='main' class='simple form scroll'>
<label for='server' data-l10n-id='Server'>Server</label>
<select name='server'>
<option id='self' selected='selected'></option>
<option value='groups.loqui.im'>loqui.im</option>
<option value='conference.dukgo.com'>dukgo.com</option>
<option value='conf.jabberes.org'>jabberes.org</option>
<option value='conference.jabber.ccc.de'>jabber.ccc.de</option>
<option value='muc.jappix.com'>jappix.com</option>
<option value='custom' data-l10n-id='Custom' data-reveal='custom'>Custom</option>
</select>
<input class='hidden' type='text' name='custom' />
<div class='buttongroup'>
<button class='search' data-l10n-id='MucSearch' data-menu-onclick='mucSearch'>Search groups</button>
</div>
<output name='rooms'><ul></ul></output>
</article>
</section>
<aside id='accounts'>
<header data-l10n-id='Accounts'>
<nav class="on-right">
<button data-menu-onclick='settings' class='account settings' data-image='img/providers/squares/settings.svg'></button>
<button data-menu-onclick='providers' class='add account' data-image='img/providers/squares/add.svg'></button>
<!--<button data-menu-onclick='reloadApp' class='reloadApp account' data-image='img/providers/squares/reload.svg'></button>-->
<button data-menu-onclick='powerOff' class='powerOff account' data-image='img/providers/squares/close.svg'></button>
</nav>
</header>
<article id='accounts' class='active list'>
<ul>
</ul>
</article>
</aside>
<audio src='audio/login.ogg' preload></audio>
<audio src='audio/logout.ogg' preload></audio>
<audio src='audio/newchat.ogg' preload></audio>
<audio src='audio/received.ogg' preload></audio>
<audio src='audio/sent.ogg' preload></audio>
<audio src='audio/error.ogg' preload></audio>
<audio src='audio/thunder.ogg' preload></audio>
<script type='text/javascript;version=1.7' src='scripts/fabi1cazenave/l10n.js'></script>
<script type='text/javascript;version=1.7' src='scripts/tapquo/quo.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/chungo.js'></script>
<script type='text/javascript;version=1.7' src='scripts/mozilla/async_storage.js'></script>
<script type='text/javascript;version=1.7' src='scripts/caolan/async.js'></script>
<script type='text/javascript;version=1.7' src='scripts/taylorhakes/promise-polyfill.js'></script>
<script type='text/javascript;version=1.7' src='scripts/paj/sha1.js'></script>
<script type='text/javascript;version=1.7' src='scripts/mathiasbynens/fromcodepoint.js'></script>
<script type='text/javascript;version=1.7' src='scripts/strophe/strophe.js'></script>
<script type='text/javascript;version=1.7' src='scripts/strophe/plugins/disco.js'></script>
<script type='text/javascript;version=1.7' src='scripts/strophe/plugins/caps.js'></script>
<script type='text/javascript;version=1.7' src='scripts/strophe/plugins/messaging.js'></script>
<script type='text/javascript;version=1.7' src='scripts/strophe/plugins/roster.js'></script>
<script type='text/javascript;version=1.7' src='scripts/strophe/plugins/vcard.js'></script>
<script type='text/javascript;version=1.7' src='scripts/strophe/plugins/attention.js'></script>
<script type='text/javascript;version=1.7' src='scripts/strophe/plugins/time.js'></script>
<script type='text/javascript;version=1.7' src='scripts/strophe/plugins/muc.js'></script>
<script type='text/javascript;version=1.7' src='scripts/arlolra/dep/salsa20.js'></script>
<script type='text/javascript;version=1.7' src='scripts/arlolra/dep/bigint.js'></script>
<script type='text/javascript;version=1.7' src='scripts/arlolra/dep/crypto.js'></script>
<script type='text/javascript;version=1.7' src='scripts/arlolra/dep/eventemitter.js'></script>
<script type='text/javascript;version=1.7' src='scripts/arlolra/dsa-webworker.js'></script>
<script type='text/javascript;version=1.7' src='scripts/arlolra/otr.js'></script>
<script type='text/javascript;version=1.7' src='scripts/anonymous/coseme.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/store.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/app.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/menu.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/providers.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/account.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/avatars.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/chat.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/plus.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/messenger.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/message.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/activity.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/geo.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/bindings.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/tools.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/connectors/xmpp.js'></script>
<script type='text/javascript;version=1.7' src='scripts/loqui/connectors/coseme.js'></script>
</body>
</html>