comparison 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
comparison
equal deleted inserted replaced
4:5e97e1808a35 5:cd0434bb2eb1
39 <div class="container"> 39 <div class="container">
40 40
41 <form id="connection"> 41 <form id="connection">
42 <label>JID: <input type="email" id="jid"/></label><br/> 42 <label>JID: <input type="email" id="jid"/></label><br/>
43 <label>Password: <input type="password" id="pass"/></label><br/> 43 <label>Password: <input type="password" id="pass"/></label><br/>
44 <input type="submit" id="connect" value="connect"/> 44 <input type="submit" id="connect" value="connect"/> <img src="spinner.svg" width="24" height="24" id="spinner" hidden=""/>
45 </form> 45 </form>
46 46
47 <div id="connected" hidden=""> 47 <div id="connected" hidden="">
48 <h1>Account</h1> 48 <h1>Account</h1>
49 <h2>Nickname</h2> 49 <h2>Nickname</h2>