Mercurial > xmpp-account-manager
comparison index.xhtml @ 2:db033e5eabcb
Add pubsub#access_model configuration for avatars.
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
|---|---|
| date | Sat, 22 Dec 2018 01:21:03 +0100 |
| parents | d6df73b466f6 |
| children | 5aa1bf7154b0 |
comparison
equal
deleted
inserted
replaced
| 1:d6df73b466f6 | 2:db033e5eabcb |
|---|---|
| 34 </ul> | 34 </ul> |
| 35 </div> | 35 </div> |
| 36 </div> | 36 </div> |
| 37 </nav> | 37 </nav> |
| 38 | 38 |
| 39 <div id="main"> | 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"/> |
| 54 <h2>Avatar</h2> | 54 <h2>Avatar</h2> |
| 55 <p> | 55 <p> |
| 56 <img id="avatar" style="max-width:96px;max-height:96px"/> <span id="avatar-size"/><br/> | 56 <img id="avatar" style="max-width:96px;max-height:96px"/> <span id="avatar-size"/><br/> |
| 57 <input type="file" style="display:none" accept="image/*" id="avatar-file"/> | 57 <input type="file" style="display:none" accept="image/*" id="avatar-file"/> |
| 58 <button id="avatar-upload">Choose a new avatar</button><br/> | 58 <button id="avatar-upload">Choose a new avatar</button><br/> |
| 59 <button id="avatar-change" disabled="">Upload this avatar</button> | 59 <button id="avatar-change" disabled="">Upload this avatar</button><br/> |
| 60 <label>Who can see your avatar? <select id="avatar-access"> | |
| 61 <option value="open">Anyone (pick this if you use public groupchats)</option> | |
| 62 <option value="presence">Only your contacts</option> | |
| 63 </select></label> | |
| 60 </p> | 64 </p> |
| 61 <h2>Dangerous zone</h2> | 65 <h2>Dangerous zone</h2> |
| 62 <p> | 66 <p> |
| 63 <button disabled="">Change my password</button> | 67 <button disabled="">Change my password</button> |
| 64 <button disabled="">⚠️ Delete my account</button> | 68 <button disabled="">⚠️ Delete my account</button> |
