Mercurial > xmpp-account-manager
annotate index.xhtml @ 12:139b223dafb0
Actually remove all of the extra data on disconnect.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 22 Dec 2018 16:27:49 +0100 |
parents | aedf80eefc19 |
children | 8724e28ccbd7 |
rev | line source |
---|---|
0 | 1 <?xml version="1.0"?> |
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
3 <head> | |
4 <meta charset="utf-8"/> | |
5 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"/> | |
6 <title>Prosody IM account configuration</title> | |
7 <link rel="canonical" content-type="text/html" href="https://prosody.im/index"/> | |
8 <link rel="icon" href="prosody.svg"/> | |
9 <link rel="apple-touch-icon" href="prosody.svg"/> | |
10 <link rel="stylesheet" href="share/bootstrap/css/bootstrap.min.css"/> | |
11 <link rel="stylesheet" href="prosody.css"/> | |
12 </head> | |
13 <body> | |
14 | |
15 <nav class="navbar navbar-default"> | |
16 <div class="container"> | |
17 <div class="navbar-header"> | |
18 <a class="navbar-toggle collapsed" href="index.html#navbar"> | |
19 <span class="sr-only">Toggle navigation</span> | |
20 <span class="icon-bar"></span> | |
21 <span class="icon-bar"></span> | |
22 <span class="icon-bar"></span> | |
23 </a> | |
24 <a class="navbar-brand" href="index.html">Prosody IM</a> | |
25 </div> | |
26 <div id="navbar" class="navbar-collapse"> | |
27 <ul class="nav navbar-nav"> | |
28 <li><a href="https://prosody.im/download">Download</a></li> | |
29 <li><a href="https://prosody.im/doc">Documentation</a></li> | |
30 <li><a href="https://prosody.im/discuss">Support</a></li> | |
31 <li><a href="https://prosody.im/bugs">Issues</a></li> | |
32 <li><a href="https://prosody.im/source">Source</a></li> | |
33 <li><a href="https://prosody.im/doc/developers">Dev docs</a></li> | |
34 </ul> | |
35 </div> | |
36 </div> | |
37 </nav> | |
38 | |
2
db033e5eabcb
Add pubsub#access_model configuration for avatars.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
1
diff
changeset
|
39 <div class="container"> |
0 | 40 |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
41 <div class="row"> |
0 | 42 <form id="connection"> |
8
56d017ac52df
Add placeholders for connection and nickname.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
43 <label>JID: <input type="email" id="jid" placeholder="you@your-server.tld"/></label><br/> |
56d017ac52df
Add placeholders for connection and nickname.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
44 <label>Password: <input type="password" id="pass" placeholder="Password"/></label><br/> |
10
e47b9bd55192
Also use a spinner on nickname get/set.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
9
diff
changeset
|
45 <input type="submit" id="connect" value="connect"/> |
e47b9bd55192
Also use a spinner on nickname get/set.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
9
diff
changeset
|
46 <img src="spinner.svg" width="24" height="24" id="connect-spinner" hidden=""/> |
0 | 47 </form> |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
48 </div> |
0 | 49 |
50 <div id="connected" hidden=""> | |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
51 |
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
52 <div class="row"> |
0 | 53 <h1>Account</h1> |
54 <h2>Nickname</h2> | |
55 <p> | |
8
56d017ac52df
Add placeholders for connection and nickname.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
56 <label>Nickname: <input id="nick" placeholder="Nick"/></label> |
10
e47b9bd55192
Also use a spinner on nickname get/set.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
9
diff
changeset
|
57 <img src="spinner.svg" width="24" height="24" id="nick-spinner"/> |
0 | 58 </p> |
59 <h2>Avatar</h2> | |
60 <p> | |
11
aedf80eefc19
Also use a spinner on avatar get/set.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
10
diff
changeset
|
61 <img id="avatar" style="max-width:96px;max-height:96px"/> <span id="avatar-size"/> <img src="spinner.svg" width="24" height="24" id="avatar-spinner"/><br/> |
0 | 62 <input type="file" style="display:none" accept="image/*" id="avatar-file"/> |
63 <button id="avatar-upload">Choose a new avatar</button><br/> | |
2
db033e5eabcb
Add pubsub#access_model configuration for avatars.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
1
diff
changeset
|
64 <button id="avatar-change" disabled="">Upload this avatar</button><br/> |
db033e5eabcb
Add pubsub#access_model configuration for avatars.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
1
diff
changeset
|
65 <label>Who can see your avatar? <select id="avatar-access"> |
db033e5eabcb
Add pubsub#access_model configuration for avatars.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
1
diff
changeset
|
66 <option value="open">Anyone (pick this if you use public groupchats)</option> |
db033e5eabcb
Add pubsub#access_model configuration for avatars.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
1
diff
changeset
|
67 <option value="presence">Only your contacts</option> |
11
aedf80eefc19
Also use a spinner on avatar get/set.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
10
diff
changeset
|
68 </select></label> <img src="spinner.svg" width="24" height="24" id="access-model-avatar-spinner" hidden=""/> |
0 | 69 </p> |
4
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
70 <h2>Contact list</h2> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
71 <table> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
72 <thead> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
73 <tr><th>JID</th><th>Name</th><th>Subscription</th><th>Groups</th><th>⚠️ Delete</th></tr> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
74 </thead> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
75 <tbody id="roster-table"/> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
76 </table> |
3
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
77 <h2>PEP</h2> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
78 <table> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
79 <thead> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
80 <tr><th>PEP node</th><th>Title</th><th>Description</th><th>Type</th><th>⚠️ Delete</th></tr> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
81 </thead> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
82 <tbody id="pep-table"/> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
83 </table> |
0 | 84 <h2>Dangerous zone</h2> |
85 <p> | |
86 <button disabled="">Change my password</button> | |
87 <button disabled="">⚠️ Delete my account</button> | |
88 </p> | |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
89 </div> |
0 | 90 |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
91 <div class="row"> |
0 | 92 <h1>Message Archiving</h1> |
93 <p> | |
9
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
94 <label>Which messages to store in your archive? <select id="mam-prefs" disabled=""> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
95 <option value="always">All messages</option> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
96 <option value="never">No messages</option> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
97 <option value="roster">Messages from your contacts only</option> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
98 </select></label><br/> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
99 <table> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
100 <tr> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
101 <th>Always:</th> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
102 <th>Never:</th> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
103 </tr> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
104 <tr> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
105 <td><textarea disabled=""/></td> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
106 <td><textarea disabled=""/></td> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
107 </tr> |
b994c6c19f5c
Add some more MAM fields.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
8
diff
changeset
|
108 </table> |
0 | 109 <button disabled="">View my message archive</button><br/> |
110 <button disabled="">Download my entire message archive</button><br/> | |
111 <button disabled="">⚠️ Purge my entire message archive</button> | |
112 </p> | |
113 </div> | |
114 | |
115 </div> | |
116 | |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
117 </div> |
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
118 |
0 | 119 <footer class="container"> |
120 <dl class="col-xs-4"> | |
121 <dt class="hidden-xs">License</dt> | |
122 <dd><a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/" title="Creative Commons Attribution-ShareAlike 4.0 International License.">cc-by-sa</a></dd> | |
123 </dl> | |
124 <dl class="col-xs-4"> | |
125 <dt class="hidden-xs">Last change</dt> | |
126 <dd><datetime datetime="2018-12-18">2018-12-18</datetime></dd> | |
127 </dl> | |
128 <dl class="col-xs-4 pull-right"> | |
129 <dt class="hidden-xs">Page source</dt> | |
130 <dd><a rel="alternate" href="https://hg.prosody.im/site/file/e956afb61f21/index.md">index.md</a></dd> | |
131 </dl> | |
132 </footer> | |
133 | |
1
d6df73b466f6
Implement XEP-0156 to discover the right BOSH endpoint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
134 <script src="util.js"/> |
0 | 135 <script src="strophe.js"/> |
136 <script src="client.js"/> | |
137 <script src="nickname.js"/> | |
138 <script src="avatar.js"/> | |
3
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
139 <script src="pep.js"/> |
4
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
140 <script src="roster.js"/> |
0 | 141 |
142 </body> | |
143 </html> |