2021-01-28 18:25:21 +03:00
|
|
|
<div class="modal-body gh-ps-modal-body">
|
|
|
|
<div class="gh-branding-settings-header">
|
|
|
|
<h4>Branding</h4>
|
|
|
|
<div class="gh-branding-settings-actions">
|
2021-02-15 13:17:31 +03:00
|
|
|
<button
|
2021-02-17 19:00:12 +03:00
|
|
|
class="gh-btn mr3"
|
2021-03-02 20:10:01 +03:00
|
|
|
{{on "click" (action "closeModal")}}
|
2021-02-17 19:00:12 +03:00
|
|
|
{{!-- disable mouseDown so it doesn't trigger focus-out validations --}}
|
|
|
|
{{on "mousedown" (optional this.noop)}}
|
|
|
|
data-test-button="cancel-custom-view-form"
|
|
|
|
>
|
|
|
|
<span>Cancel</span>
|
|
|
|
</button>
|
|
|
|
|
2021-02-15 13:17:31 +03:00
|
|
|
<GhTaskButton
|
2021-02-17 19:00:12 +03:00
|
|
|
@buttonText="Save and close"
|
|
|
|
@successText="Saved"
|
|
|
|
@task={{this.saveTask}}
|
|
|
|
@idleClass="gh-btn-primary"
|
|
|
|
@class="gh-btn gh-btn-icon"
|
|
|
|
data-test-button="save-members-modal-setting"
|
|
|
|
/>
|
2021-01-28 18:25:21 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-02-17 19:00:12 +03:00
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
<div class="gh-branding-settings">
|
|
|
|
<section class="gh-branding-settings-options">
|
2021-03-02 20:10:01 +03:00
|
|
|
<GhBrandSettingsForm @replacePreviewContents={{this.replacePreviewContents}} />
|
2021-01-28 18:25:21 +03:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="gh-branding-settings-right">
|
2021-03-02 20:10:01 +03:00
|
|
|
<GhBrowserPreview class="gh-branding-settings-previewcontainer" @icon={{this.settings.icon}} @title={{this.config.blogTitle}}>
|
2021-03-02 20:23:11 +03:00
|
|
|
<iframe
|
|
|
|
id="site=frame"
|
|
|
|
class="site-frame gh-branding-settings-preview"
|
2021-03-02 20:10:01 +03:00
|
|
|
{{did-insert this.registerPreviewIframe}}
|
2021-03-02 20:23:11 +03:00
|
|
|
></iframe>
|
2021-01-28 18:25:21 +03:00
|
|
|
</GhBrowserPreview>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|