Ghost/ghost/admin/templates/modals/upload.hbs
Paul Adam Davis 3324c41857 Use CSS animations for modals
No issue

- Changes Modals to use CSS-based animations
- All modals have an animation, so the option is removed from the handlebars helper
- Removes `animation` from the handlebars helper, as all had one anyway
- Removed the `centered` style - All modals should be left-aligned
- Buttons now default to being on the left
- Cleans up some styles (modal body top spacing) which #4632 helped clean up
2014-12-15 18:23:42 +00:00

8 lines
376 B
Handlebars

{{#gh-upload-modal action="closeModal" close=true type="action" style="wide" model=model imageType=imageType}}
<section class="js-drop-zone">
<img class="js-upload-target" {{bind-attr src=src}} alt="logo">
<input data-url="upload" class="js-fileupload main" type="file" name="uploadimage" {{bind-attr accept=acceptEncoding}} >
</section>
{{/gh-upload-modal}}