Ghost/ghost/admin/app/components/gh-launch-wizard/customise-design.hbs
Kevin Ansfield 3cd1eb5826 Standardised brand settings form behaviour
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`
2021-03-02 17:10:43 +00:00

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>