mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
916c12546f
refs b4e750466d
- liquid-wormhole was throwing an error with the previous approach because it appeared to be trying to run it's destroy routines after the element had already been removed or hadn't been rendered yet
29 lines
1.3 KiB
Handlebars
29 lines
1.3 KiB
Handlebars
<div class="fullscreen-wizard-container" {{will-destroy this.reset}}>
|
|
<div class="pt7 pb5 pl12 pr12 flex justify-between items-center bb b--whitegrey">
|
|
<div class="flex flex-column">
|
|
<div class="ttu gh-launch-wizard-step-indicator">{{this.currentStep.position}}</div>
|
|
<h2>{{this.currentStep.title}}</h2>
|
|
</div>
|
|
<button type="button" class="close gh-btn gh-btn-outline" title="Close" {{on "click" this.close}} data-test-button="close-wizard">
|
|
<span>Save and exit</span>
|
|
</button>
|
|
</div>
|
|
|
|
<div class="flex br3 bg-white">
|
|
<div class="gh-launch-wizard-content-left">
|
|
{{component (concat "gh-launch-wizard/" this.step)
|
|
nextStep=this.goNextStep
|
|
backStep=this.goBackStep
|
|
skipStep=this.skipStep
|
|
refreshPreview=this.refreshPreview
|
|
updatePreview=this.updatePreview
|
|
}}
|
|
</div>
|
|
|
|
<div class="gh-launch-wizard-content-right">
|
|
<GhBrowserPreview class="gh-launch-wizard-preview-container" @icon={{this.settings.icon}} @title={{this.config.blogTitle}}>
|
|
<GhSiteIframe class="gh-launch-wizard-preview" @src={{this.previewSrc}} @guid={{this.previewGuid}}></GhSiteIframe>
|
|
</GhBrowserPreview>
|
|
</div>
|
|
</div>
|
|
</div> |