comparison index.xhtml @ 7:13e8e4ea53c0

Change nickname on blur, remove the button.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 22 Dec 2018 16:07:26 +0100
parents 129f5c565f1b
children 56d017ac52df
comparison
equal deleted inserted replaced
6:129f5c565f1b 7:13e8e4ea53c0
50 50
51 <div class="row"> 51 <div class="row">
52 <h1>Account</h1> 52 <h1>Account</h1>
53 <h2>Nickname</h2> 53 <h2>Nickname</h2>
54 <p> 54 <p>
55 <label>Nickname: <input id="nick"/></label><br/> 55 <label>Nickname: <input id="nick"/></label>
56 <button id="nick-change">Change my nickname</button>
57 </p> 56 </p>
58 <h2>Avatar</h2> 57 <h2>Avatar</h2>
59 <p> 58 <p>
60 <img id="avatar" style="max-width:96px;max-height:96px"/> <span id="avatar-size"/><br/> 59 <img id="avatar" style="max-width:96px;max-height:96px"/> <span id="avatar-size"/><br/>
61 <input type="file" style="display:none" accept="image/*" id="avatar-file"/> 60 <input type="file" style="display:none" accept="image/*" id="avatar-file"/>