comparison index.xhtml @ 4:5e97e1808a35

Add support for the roster.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 22 Dec 2018 02:59:29 +0100
parents 5aa1bf7154b0
children cd0434bb2eb1
comparison
equal deleted inserted replaced
3:5aa1bf7154b0 4:5e97e1808a35
60 <label>Who can see your avatar? <select id="avatar-access"> 60 <label>Who can see your avatar? <select id="avatar-access">
61 <option value="open">Anyone (pick this if you use public groupchats)</option> 61 <option value="open">Anyone (pick this if you use public groupchats)</option>
62 <option value="presence">Only your contacts</option> 62 <option value="presence">Only your contacts</option>
63 </select></label> 63 </select></label>
64 </p> 64 </p>
65 <h2>Contact list</h2>
66 <table>
67 <thead>
68 <tr><th>JID</th><th>Name</th><th>Subscription</th><th>Groups</th><th>⚠️ Delete</th></tr>
69 </thead>
70 <tbody id="roster-table"/>
71 </table>
65 <h2>PEP</h2> 72 <h2>PEP</h2>
66 <table> 73 <table>
67 <thead> 74 <thead>
68 <tr><th>PEP node</th><th>Title</th><th>Description</th><th>Type</th><th>⚠️ Delete</th></tr> 75 <tr><th>PEP node</th><th>Title</th><th>Description</th><th>Type</th><th>⚠️ Delete</th></tr>
69 </thead> 76 </thead>
104 <script src="strophe.js"/> 111 <script src="strophe.js"/>
105 <script src="client.js"/> 112 <script src="client.js"/>
106 <script src="nickname.js"/> 113 <script src="nickname.js"/>
107 <script src="avatar.js"/> 114 <script src="avatar.js"/>
108 <script src="pep.js"/> 115 <script src="pep.js"/>
116 <script src="roster.js"/>
109 117
110 </body> 118 </body>
111 </html> 119 </html>