mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
3324c41857
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
8 lines
376 B
Handlebars
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}}
|