mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
9ce0e9f4a0
closes #280 - adds image uploader to user profile page. - click on cover picture or change cover button to open file upload modal. - created new upload modal that extends model to reduce some code duplication
4 lines
269 B
Handlebars
4 lines
269 B
Handlebars
<section class="js-drop-zone">
|
|
<img id="{{options.id}}" class="js-upload-target" src="{{options.src}}"{{#unless options.src}} style="display: none"{{/unless}} alt="logo">
|
|
<input data-url="upload" class="js-fileupload" type="file" name="uploadimage">
|
|
</section>
|