mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
3cd1eb5826
closes https://github.com/TryGhost/Team/issues/506 - launch wizard and brand settings both shared the same design and behaviour for customising brand settings but used duplicated code that had diverged - extracted the more up-to-date behaviour from the launch wizard into a component - updated brand settings and launch wizard to use the new component changes to brand settings modal behaviour: - preview is no longer interactive - switches to using iframe contents replacement instead of `postMessage`
18 lines
773 B
Handlebars
18 lines
773 B
Handlebars
<div class="gh-branding-settings">
|
|
<section class="gh-launch-wizard-settings-container">
|
|
<GhBrandSettingsForm
|
|
class="overflow-y-auto flex-grow-1"
|
|
@replacePreviewContents={{@replacePreviewContents}}
|
|
/>
|
|
|
|
<div class="gh-launch-wizard-nav-buttons">
|
|
<GhTaskButton
|
|
@task={{this.saveAndContinueTask}}
|
|
@buttonText={{html-safe (concat "Save and continue " (svg-jar "arrow-right-tail"))}}
|
|
type="button"
|
|
class="gh-btn gh-btn-black gh-btn-icon-right gh-btn-large gh-launch-wizard-btn w-100"
|
|
data-test-button="wizard-next"
|
|
/>
|
|
</div>
|
|
</section>
|
|
</div> |