annotate index.xhtml @ 60:6d861d881b96

Add license headers to all source files.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 24 May 2020 13:09:16 +0200
parents d5cfc04b9718
children 78c873be0caa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1 <?xml version="1.0"?>
60
6d861d881b96 Add license headers to all source files.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 59
diff changeset
2 <!-- SPDX-License-Identifier: AGPL-3.0-only -->
6d861d881b96 Add license headers to all source files.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 59
diff changeset
3 <!--
6d861d881b96 Add license headers to all source files.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 59
diff changeset
4 Copyright © 2018-2020 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
6d861d881b96 Add license headers to all source files.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 59
diff changeset
5 Copyright © 2020 Mathieu Pasquet <mathieui@mathieui.net>
6d861d881b96 Add license headers to all source files.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 59
diff changeset
6
6d861d881b96 Add license headers to all source files.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 59
diff changeset
7 Released under GNU AGPL v3 only, read the file 'LICENSE' for more information.
6d861d881b96 Add license headers to all source files.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 59
diff changeset
8 -->
56
010b905a74d4 Update translation strings
mathieui
parents: 55
diff changeset
9 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
10 <head>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
11 <meta charset="utf-8"/>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
12 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"/>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
13 <title>{% trans 'Prosody IM account configuration' %}</title>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
14 <link rel="canonical" content-type="text/html" href="https://prosody.im/index"/>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
15 <link rel="stylesheet" href="share/bootstrap/css/bootstrap.min.css"/>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
16 <link rel="stylesheet" href="prosody.css"/>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
17 </head>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
18 <body>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
19
2
db033e5eabcb Add pubsub#access_model configuration for avatars.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 1
diff changeset
20 <div class="container">
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
21
6
129f5c565f1b Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
22 <div class="row">
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
23 <form id="connection">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
24 <input type="email" id="jid" placeholder="JID" title="{% trans 'Enter your JID (or XMPP address), on the form “you@your-server.tld”' %}"/>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
25 <input type="password" id="pass" placeholder="Password" title="{% trans 'Enter the password used for this JID' %}"/>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
26 <input type="submit" id="connect" value="Log in"/>
15
3eed9fe0bd7c End spinners with either a green ✔ or a red ✘.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 13
diff changeset
27 <img width="24" height="24" id="connect-spinner" hidden=""/>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
28 </form>
6
129f5c565f1b Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
29 </div>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
30
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
31 <div id="connected" hidden="">
6
129f5c565f1b Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
32
23
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
33 <div id="navtabs" class="nav nav-tabs nav-justified">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
34 <li id="tab-profile" class="active"><a href="#profile">{% trans 'Profile' %}</a></li>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
35 <li id="tab-mam"><a href="#mam">{% trans 'Message Archiving' %}</a></li>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
36 <li id="tab-account"><a href="#account">{% trans 'Account' %}</a></li>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
37 <li id="tab-pep"><a href="#pep">{% trans 'PEP (advanced)' %}</a></li>
23
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
38 </div>
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
39
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
40 <div class="row tab-profile">
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
41 <div class="col-sm-4">
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
42 <h2>Nickname</h2>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
43 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
44 <div class="col-sm-8">
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
45 <p>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
46 <input class="form-control" id="nick" placeholder="{% trans 'Nickname' %}"/>
15
3eed9fe0bd7c End spinners with either a green ✔ or a red ✘.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 13
diff changeset
47 <img width="24" height="24" id="nick-spinner"/>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
48 </p>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
49 <p>{% trans 'Enter your nickname, so people you know can recognize you.' %}</p>
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
50 <p class="form-group">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
51 <label for="nick-access">{% trans 'Who can see your nickname?' %}</label>
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
52 <img width="24" height="24" id="nick-access-spinner" hidden=""/>
47
b76146a09e07 Add pubsub#access_model retrieval for the nickname node.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 46
diff changeset
53 <select class="form-control" id="nick-access" disabled="">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
54 <option value="open">{% trans 'Anyone' %}</option>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
55 <option value="presence">{% trans 'Only your contacts' %}</option>
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
56 </select>
35
084202870d76 Add nickname access model configuration.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 29
diff changeset
57 </p>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
58 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
59 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
60
23
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
61 <hr class="tab-profile"/>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
62
23
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
63 <div class="row tab-profile">
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
64 <div class="col-sm-4">
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
65 <h2>Avatar</h2>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
66 <p>{% trans 'This image allows your contacts to quickly identify you.' %}</p>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
67 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
68 <div class="col-sm-8">
15
3eed9fe0bd7c End spinners with either a green ✔ or a red ✘.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 13
diff changeset
69 <img id="avatar" style="max-width:96px;max-height:96px"/> <span id="avatar-size"/> <img width="24" height="24" id="avatar-spinner"/><br/>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
70 <input type="file" style="display:none" accept="image/*" id="avatar-file"/>
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
71 <p class="custom-file">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
72 <label class="custom-file-label" for="avatar-upload">{% trans 'Upload new avatar' %}</label>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
73 <button id="avatar-upload">{% trans 'Choose file…' %}</button>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
74 <button id="avatar-change">{% trans 'Use as your avatar' %}</button>
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
75 </p>
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
76 <p class="form-group">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
77 <label for="avatar-access">{% trans 'Who can see your avatar?' %}</label>
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
78 <img width="24" height="24" id="access-model-avatar-spinner" hidden=""/>
52
2f45bee88b47 Add pubsub#access_model retrieval for the avatar node.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 49
diff changeset
79 <select class="form-control" id="avatar-access" disabled="">
53
9b612be4dd0b Add a warning about avatars in presence access_model.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 52
diff changeset
80 <option value="open">{% trans 'Anyone (pick this if you use public channel)' %}</option>
9b612be4dd0b Add a warning about avatars in presence access_model.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 52
diff changeset
81 <option value="presence">{% trans 'Only your contacts (⚠️ your avatar won’t be usable in public channels)' %}</option>
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
82 </select>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
83 </p>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
84 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
85 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
86
25
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
87 <hr class="tab-profile"/>
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
88
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
89 <div class="row tab-profile">
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
90 <div class="col-sm-4">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
91 <h2>{% trans 'Personal Information' %}</h2>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
92 <p>{% trans 'Who are you?' %}</p>
25
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
93 <img width="24" height="24" id="vcard-spinner" hidden=""/>
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
94 </div>
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
95 <div class="col-sm-8">
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
96 <p>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
97 <label>{% trans 'Full name' %}<br/>
27
02b5bceeca64 Add vCard birthday support, and only include complete values in the vCard.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 26
diff changeset
98 <input id="vcard-fn" disabled=""/></label><br/>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
99 {% trans 'Enter your name, so people you know can recognize you.' %}
25
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
100 </p>
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
101 <p>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
102 <label>{% trans 'Email' %}<br/>
25
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
103 <input id="vcard-email" disabled=""/></label><br/>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
104 {% trans 'This can be used if you forget your password.' %}
25
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
105 </p>
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
106 <p>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
107 <label>{% trans 'Birthday' %}<br/>
27
02b5bceeca64 Add vCard birthday support, and only include complete values in the vCard.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 26
diff changeset
108 <input id="vcard-bday" type="date" disabled=""/></label>
02b5bceeca64 Add vCard birthday support, and only include complete values in the vCard.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 26
diff changeset
109 </p>
02b5bceeca64 Add vCard birthday support, and only include complete values in the vCard.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 26
diff changeset
110 <p>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
111 <label>{% trans 'Who can see your personal information?' %}<br/>
55
6a7a99f5a0ca Add pubsub#access_model retrieval for the vCard4 node.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 53
diff changeset
112 <select class="form-control" id="vcard-access" disabled="">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
113 <option value="open">{% trans 'Anyone' %}</option>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
114 <option value="presence">{% trans 'Only your contacts' %}</option>
25
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
115 </select></label> <img width="24" height="24" id="vcard-access-spinner" hidden=""/>
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
116 </p>
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
117 </div>
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
118 </div>
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
119
23
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
120 <div class="row tab-account" hidden="">
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
121 <div class="col-sm-4">
4
5e97e1808a35 Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
122 <h2>Contact list</h2>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
123 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
124 <div class="col-sm-8">
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
125 <table class="table">
4
5e97e1808a35 Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
126 <thead>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
127 <tr><th>{% trans 'JID' %}</th><th>{% trans 'Name' %}</th><th>{% trans 'Subscription' %}</th><th>{% trans 'Groups' %}</th><th>{% trans '⚠️ Delete' %}</th></tr>
4
5e97e1808a35 Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
128 </thead>
5e97e1808a35 Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
129 <tbody id="roster-table"/>
5e97e1808a35 Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
130 </table>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
131 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
132 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
133
23
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
134 <hr class="tab-account" hidden=""/>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
135
23
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
136 <div class="row tab-account" hidden="">
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
137 <div class="col-sm-4">
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
138 <h2>Dangerous zone</h2>
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
139 </div>
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
140 <div class="col-sm-8">
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
141 <p>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
142 <button disabled="">{% trans 'Change my password' %}</button>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
143 <button class="btn btn-danger" disabled="">{% trans '⚠️ Delete my account' %}</button>
23
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
144 </p>
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
145 </div>
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
146 </div>
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
147
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
148 <div class="row tab-pep" hidden="">
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
149 <div class="col-sm-4">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
150 <h2>{% trans 'PEP' %}</h2>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
151 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
152 <div class="col-sm-8">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
153 <div class="alert alert-warning">{% trans 'This section is for <b>advanced</b> users, use at your own risk!' %}</div>
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
154 <table class="table">
3
5aa1bf7154b0 Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 2
diff changeset
155 <thead>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
156 <tr><th>{% trans 'PEP node' %}</th><th>{% trans 'Title' %}</th><th>{% trans 'Description' %}</th><th>{% trans 'Type' %}</th><th>{% trans '⚠️ Delete' %}</th></tr>
3
5aa1bf7154b0 Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 2
diff changeset
157 </thead>
5aa1bf7154b0 Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 2
diff changeset
158 <tbody id="pep-table"/>
5aa1bf7154b0 Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 2
diff changeset
159 </table>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
160 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
161 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
162
23
e99984564b17 Implement a tab system, thanks Zash!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 20
diff changeset
163 <div class="row tab-mam" hidden="">
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
164 <div class="col-sm-4">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
165 <h2>{% trans 'Message Archiving' %}</h2>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
166 </div>
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
167 <div class="col-sm-8">
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
168 <p>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
169 <label>{% trans 'Which messages to store in your archive?' %}<br/>
29
15666446c791 Add a newline for mam prefs default.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 28
diff changeset
170 <select id="mam-prefs-default" disabled="">
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
171 <option value="always">{% trans 'All messages' %}</option>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
172 <option value="never">{% trans 'No messages' %}</option>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
173 <option value="roster">{% trans 'Messages from your contacts only' %}</option>
17
07543f7f5e89 Retrieve and change the default MAM prefs.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 15
diff changeset
174 </select></label>
07543f7f5e89 Retrieve and change the default MAM prefs.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 15
diff changeset
175 <img width="24" height="24" id="mam-prefs-spinner" hidden=""/><br/>
38
c2e2b107c7c1 Commit changes from the July 2019 Lyon sprint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 37
diff changeset
176 <table class="table" hidden="">
9
b994c6c19f5c Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 8
diff changeset
177 <tr>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
178 <th>{% trans 'Always:' %}</th>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
179 <th>{% trans 'Never:' %}</th>
9
b994c6c19f5c Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 8
diff changeset
180 </tr>
b994c6c19f5c Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 8
diff changeset
181 <tr>
20
46660687924b Also set and get always and never lists from MAM prefs.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 18
diff changeset
182 <td><textarea id="mam-prefs-always"/></td>
46660687924b Also set and get always and never lists from MAM prefs.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 18
diff changeset
183 <td><textarea id="mam-prefs-never"/></td>
9
b994c6c19f5c Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 8
diff changeset
184 </tr>
b994c6c19f5c Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 8
diff changeset
185 </table>
49
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
186 <button id="mam-retrieve">{% trans 'Retrieve my message archive' %}</button> <img width="24" height="24" id="mam-retrieve-spinner" hidden=""/><br/>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
187 <button disabled="">{% trans 'View my message archive' %}</button><br/>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
188 <button id="mam-download" disabled="">{% trans 'Download my entire message archive' %}</button><br/>
d3b943ac148f Add translations
mathieui
parents: 47
diff changeset
189 <button class="btn btn-danger" disabled="">{% trans '⚠️ Purge my entire message archive' %}</button>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
190 </p>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
191 </div>
13
8724e28ccbd7 Improve styling.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 11
diff changeset
192 </div>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
193
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
194 </div>
6
129f5c565f1b Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
195 </div>
129f5c565f1b Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
196
1
d6df73b466f6 Implement XEP-0156 to discover the right BOSH endpoint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 0
diff changeset
197 <script src="util.js"/>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
198 <script src="strophe.js"/>
24
6c620e9f7d2c Add support for retrieving all MAM messages, and for downloading it in a XEP-0227-like format.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 23
diff changeset
199 <script src="strophe.rsm.js"/>
6c620e9f7d2c Add support for retrieving all MAM messages, and for downloading it in a XEP-0227-like format.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 23
diff changeset
200 <script src="strophe.mam.js"/>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
201 <script src="client.js"/>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
202 <script src="nickname.js"/>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
203 <script src="avatar.js"/>
25
d9da5c3e305d Add support for setting some vCard4 fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 24
diff changeset
204 <script src="vcard.js"/>
3
5aa1bf7154b0 Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 2
diff changeset
205 <script src="pep.js"/>
4
5e97e1808a35 Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
206 <script src="roster.js"/>
17
07543f7f5e89 Retrieve and change the default MAM prefs.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 15
diff changeset
207 <script src="mam.js"/>
0
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
208
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
209 </body>
2a8d4e8600d0 Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
210 </html>