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">
|
|
|
|
<i class="icon-photos">
|
|
|
|
<span class="sr-only">Upload an image</span>
|
|
|
|
</i>
|
|
|
|
</span>
|
2015-07-17 15:57:09 +03:00
|
|
|
{{#if fileStorage}}<input type="file" class="file-uploader js-file-input" name="uploadimage">{{/if}}
|
2015-05-28 08:52:41 +03:00
|
|
|
</figure>
|