mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 04:10:33 +03:00
c45294717c
refs https://github.com/TryGhost/Team/issues/451 - Added mobile view to the post preview modal - Replaced tabs text with icons - Moved back button and added publish button - Changed copy-link design to be aligned with link preview in portal - Changed layout for social previews - Added images to the Twittr and Facebook previews - Added labels to the social previews - Changed styling for the "Preview post" button in editor
20 lines
956 B
Handlebars
20 lines
956 B
Handlebars
<div class="modal-body modal-preview-email-content gh-pe-mobile-container h-auto overflow-auto">
|
|
<div class="gh-pe-mobile-bezel">
|
|
<div class="gh-pe-mobile-screen">
|
|
<iframe class="gh-post-preview-iframe" src={{@post.previewUrl}}></iframe>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="gh-post-preview-browser-footer">
|
|
<span class="mr3 mt1 mb1 nowrap fw6 f8 darkgrey">Share preview privately</span>
|
|
<div class="gh-post-preview-url-container">
|
|
<span class="db truncate w-90">{{@post.previewUrl}}</span>
|
|
<button type="button" {{on "click" (perform this.copyPreviewUrl)}} class="gh-post-preview-copy">
|
|
{{#if this.copyPreviewUrl.isRunning}}
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
{{else}}
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
{{/if}}
|
|
</button>
|
|
</div>
|
|
</div> |