diff 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
line wrap: on
line diff
--- a/index.xhtml
+++ b/index.xhtml
@@ -62,6 +62,13 @@
 <option value="presence">Only your contacts</option>
 </select></label>
 </p>
+<h2>Contact list</h2>
+<table>
+<thead>
+<tr><th>JID</th><th>Name</th><th>Subscription</th><th>Groups</th><th>⚠️ Delete</th></tr>
+</thead>
+<tbody id="roster-table"/>
+</table>
 <h2>PEP</h2>
 <table>
 <thead>
@@ -106,6 +113,7 @@
 <script src="nickname.js"/>
 <script src="avatar.js"/>
 <script src="pep.js"/>
+<script src="roster.js"/>
 
 </body>
 </html>