Mercurial > xmpp-account-manager
annotate index.xhtml @ 3:5aa1bf7154b0
Add a simple PEP node viewer and editor.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 22 Dec 2018 02:23:38 +0100 |
parents | db033e5eabcb |
children | 5e97e1808a35 |
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 |
41 <form id="connection"> | |
42 <label>JID: <input type="email" id="jid"/></label><br/> | |
43 <label>Password: <input type="password" id="pass"/></label><br/> | |
44 <input type="submit" id="connect" value="connect"/> | |
45 </form> | |
46 | |
47 <div id="connected" hidden=""> | |
48 <h1>Account</h1> | |
49 <h2>Nickname</h2> | |
50 <p> | |
51 <label>Nickname: <input id="nick"/></label><br/> | |
52 <button id="nick-change">Change my nickname</button> | |
53 </p> | |
54 <h2>Avatar</h2> | |
55 <p> | |
56 <img id="avatar" style="max-width:96px;max-height:96px"/> <span id="avatar-size"/><br/> | |
57 <input type="file" style="display:none" accept="image/*" id="avatar-file"/> | |
58 <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
|
59 <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
|
60 <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
|
61 <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
|
62 <option value="presence">Only your contacts</option> |
db033e5eabcb
Add pubsub#access_model configuration for avatars.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
1
diff
changeset
|
63 </select></label> |
0 | 64 </p> |
3
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
65 <h2>PEP</h2> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
66 <table> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
67 <thead> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
68 <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
|
69 </thead> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
70 <tbody id="pep-table"/> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
71 </table> |
0 | 72 <h2>Dangerous zone</h2> |
73 <p> | |
74 <button disabled="">Change my password</button> | |
75 <button disabled="">⚠️ Delete my account</button> | |
76 </p> | |
77 | |
78 <h1>Message Archiving</h1> | |
79 <p> | |
80 <button disabled="">View my message archive</button><br/> | |
81 <button disabled="">Download my entire message archive</button><br/> | |
82 <button disabled="">⚠️ Purge my entire message archive</button> | |
83 </p> | |
84 </div> | |
85 | |
86 </div> | |
87 | |
88 <footer class="container"> | |
89 <dl class="col-xs-4"> | |
90 <dt class="hidden-xs">License</dt> | |
91 <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> | |
92 </dl> | |
93 <dl class="col-xs-4"> | |
94 <dt class="hidden-xs">Last change</dt> | |
95 <dd><datetime datetime="2018-12-18">2018-12-18</datetime></dd> | |
96 </dl> | |
97 <dl class="col-xs-4 pull-right"> | |
98 <dt class="hidden-xs">Page source</dt> | |
99 <dd><a rel="alternate" href="https://hg.prosody.im/site/file/e956afb61f21/index.md">index.md</a></dd> | |
100 </dl> | |
101 </footer> | |
102 | |
1
d6df73b466f6
Implement XEP-0156 to discover the right BOSH endpoint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
103 <script src="util.js"/> |
0 | 104 <script src="strophe.js"/> |
105 <script src="client.js"/> | |
106 <script src="nickname.js"/> | |
107 <script src="avatar.js"/> | |
3
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
108 <script src="pep.js"/> |
0 | 109 |
110 </body> | |
111 </html> |