2015-05-28 08:52:41 +03:00
|
|
|
<figure class="account-image js-file-upload">
|
|
|
|
{{#unless hasUploadedImage}}
|
2015-07-17 15:57:09 +03:00
|
|
|
<div class="placeholder-img" style={{defaultImage}}></div>
|
|
|
|
<div id="account-image" class="gravatar-img" style={{imageBackground}}>
|
|
|
|
<span class="sr-only">User image</span>
|
|
|
|
</div>
|
2015-05-28 08:52:41 +03:00
|
|
|
{{/unless}}
|
|
|
|
|
|
|
|
<div class="js-img-preview"></div>
|
|
|
|
|
|
|
|
<span class="edit-account-image js-img-dropzone">
|
2017-04-14 19:22:14 +03:00
|
|
|
{{inline-svg "photos"}}
|
|
|
|
<span class="sr-only">Upload an image</span>
|
2015-05-28 08:52:41 +03:00
|
|
|
</span>
|
2017-03-03 11:59:01 +03:00
|
|
|
<input type="file" class="file-uploader js-file-input" name="uploadimage">
|
2015-05-28 08:52:41 +03:00
|
|
|
</figure>
|