diff index.xhtml @ 5:cd0434bb2eb1

Add a spinner on connecting/disconnecting.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 22 Dec 2018 16:04:56 +0100
parents 5e97e1808a35
children 129f5c565f1b
line wrap: on
line diff
--- a/index.xhtml
+++ b/index.xhtml
@@ -41,7 +41,7 @@
 <form id="connection">
 <label>JID: <input type="email" id="jid"/></label><br/>
 <label>Password: <input type="password" id="pass"/></label><br/>
-<input type="submit" id="connect" value="connect"/>
+<input type="submit" id="connect" value="connect"/> <img src="spinner.svg" width="24" height="24" id="spinner" hidden=""/>
 </form>
 
 <div id="connected" hidden="">