2021-01-28 16:57:14 +03:00
|
|
|
<div class="gh-post-preview-browser-container">
|
2021-03-09 11:52:35 +03:00
|
|
|
<iframe class="gh-pe-iframe" src={{@post.previewUrl}}></iframe>
|
2021-01-27 01:49:05 +03:00
|
|
|
</div>
|
2021-01-28 16:57:14 +03:00
|
|
|
<div class="gh-post-preview-browser-footer">
|
2021-02-08 21:20:38 +03:00
|
|
|
<span class="mr3 nowrap fw6 f8 darkgrey">Share preview privately</span>
|
|
|
|
<div class="gh-post-preview-url-container truncate">
|
2021-01-28 16:57:14 +03:00
|
|
|
<span class="db truncate w-90">{{@post.previewUrl}}</span>
|
2021-02-08 21:20:38 +03:00
|
|
|
</div>
|
|
|
|
<button type="button" {{on "click" (perform this.copyPreviewUrl)}} class="gh-btn gh-btn-green gh-btn-icon gh-post-preview-copy-url-trigger">
|
|
|
|
<span>
|
2021-02-16 14:51:32 +03:00
|
|
|
{{#if this.copyPreviewUrl.isRunning}}
|
2021-02-08 21:20:38 +03:00
|
|
|
Copied!
|
2021-01-27 01:49:05 +03:00
|
|
|
{{else}}
|
2021-02-08 21:20:38 +03:00
|
|
|
copy
|
2021-01-27 01:49:05 +03:00
|
|
|
{{/if}}
|
2021-02-08 21:20:38 +03:00
|
|
|
</span>
|
|
|
|
</button>
|
2021-02-16 14:23:34 +03:00
|
|
|
<div>
|
2021-02-16 14:51:32 +03:00
|
|
|
<a href={{@post.previewUrl}} target="_blank" rel="noopener noreferrer" class="gh-btn gh-btn-editor gh-btn-icon gh-btn-icon-right gh-btn-external">
|
2021-02-16 14:23:34 +03:00
|
|
|
<span>Open in new tab {{svg-jar "external"}}</span>
|
2021-02-16 14:51:32 +03:00
|
|
|
</a>
|
2021-02-16 14:23:34 +03:00
|
|
|
</div>
|
2021-01-27 01:49:05 +03:00
|
|
|
</div>
|