Mercurial > xmpp-account-manager
annotate index.xhtml @ 8:56d017ac52df
Add placeholders for connection and nickname.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 22 Dec 2018 16:08:24 +0100 |
parents | 13e8e4ea53c0 |
children | b994c6c19f5c |
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/> |
5
cd0434bb2eb1
Add a spinner on connecting/disconnecting.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
4
diff
changeset
|
45 <input type="submit" id="connect" value="connect"/> <img src="spinner.svg" width="24" height="24" id="spinner" hidden=""/> |
0 | 46 </form> |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
47 </div> |
0 | 48 |
49 <div id="connected" hidden=""> | |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
50 |
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
51 <div class="row"> |
0 | 52 <h1>Account</h1> |
53 <h2>Nickname</h2> | |
54 <p> | |
8
56d017ac52df
Add placeholders for connection and nickname.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
55 <label>Nickname: <input id="nick" placeholder="Nick"/></label> |
0 | 56 </p> |
57 <h2>Avatar</h2> | |
58 <p> | |
59 <img id="avatar" style="max-width:96px;max-height:96px"/> <span id="avatar-size"/><br/> | |
60 <input type="file" style="display:none" accept="image/*" id="avatar-file"/> | |
61 <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
|
62 <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
|
63 <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
|
64 <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
|
65 <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
|
66 </select></label> |
0 | 67 </p> |
4
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
68 <h2>Contact list</h2> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
69 <table> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
70 <thead> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
71 <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
|
72 </thead> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
73 <tbody id="roster-table"/> |
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
74 </table> |
3
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
75 <h2>PEP</h2> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
76 <table> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
77 <thead> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
78 <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
|
79 </thead> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
80 <tbody id="pep-table"/> |
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
81 </table> |
0 | 82 <h2>Dangerous zone</h2> |
83 <p> | |
84 <button disabled="">Change my password</button> | |
85 <button disabled="">⚠️ Delete my account</button> | |
86 </p> | |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
87 </div> |
0 | 88 |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
89 <div class="row"> |
0 | 90 <h1>Message Archiving</h1> |
91 <p> | |
92 <button disabled="">View my message archive</button><br/> | |
93 <button disabled="">Download my entire message archive</button><br/> | |
94 <button disabled="">⚠️ Purge my entire message archive</button> | |
95 </p> | |
96 </div> | |
97 | |
98 </div> | |
99 | |
6
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
100 </div> |
129f5c565f1b
Add some more div containers.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
101 |
0 | 102 <footer class="container"> |
103 <dl class="col-xs-4"> | |
104 <dt class="hidden-xs">License</dt> | |
105 <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> | |
106 </dl> | |
107 <dl class="col-xs-4"> | |
108 <dt class="hidden-xs">Last change</dt> | |
109 <dd><datetime datetime="2018-12-18">2018-12-18</datetime></dd> | |
110 </dl> | |
111 <dl class="col-xs-4 pull-right"> | |
112 <dt class="hidden-xs">Page source</dt> | |
113 <dd><a rel="alternate" href="https://hg.prosody.im/site/file/e956afb61f21/index.md">index.md</a></dd> | |
114 </dl> | |
115 </footer> | |
116 | |
1
d6df73b466f6
Implement XEP-0156 to discover the right BOSH endpoint.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
117 <script src="util.js"/> |
0 | 118 <script src="strophe.js"/> |
119 <script src="client.js"/> | |
120 <script src="nickname.js"/> | |
121 <script src="avatar.js"/> | |
3
5aa1bf7154b0
Add a simple PEP node viewer and editor.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
122 <script src="pep.js"/> |
4
5e97e1808a35
Add support for the roster.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
123 <script src="roster.js"/> |
0 | 124 |
125 </body> | |
126 </html> |