2017-08-02 10:05:59 +03:00
|
|
|
<section class="gh-canvas">
|
2019-06-18 13:47:21 +03:00
|
|
|
<GhCanvasHeader class="gh-canvas-header">
|
2017-08-02 10:05:59 +03:00
|
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
2021-01-28 18:25:21 +03:00
|
|
|
<LinkTo @route="integrations" data-test-link="integrations-back">Integrations</LinkTo>
|
2018-03-19 12:57:31 +03:00
|
|
|
<span>{{svg-jar "arrow-right"}}</span>
|
2017-08-02 10:05:59 +03:00
|
|
|
Unsplash
|
|
|
|
</h2>
|
|
|
|
<section class="view-actions">
|
2021-02-08 21:54:16 +03:00
|
|
|
<GhTaskButton @task={{this.save}} @class="gh-btn gh-btn-primary gh-btn-icon" data-test-save-button={{true}} />
|
2017-08-02 10:05:59 +03:00
|
|
|
</section>
|
2019-06-18 13:47:21 +03:00
|
|
|
</GhCanvasHeader>
|
2017-08-02 10:05:59 +03:00
|
|
|
|
2019-12-13 17:20:29 +03:00
|
|
|
{{#if this.showLeaveSettingsModal}}
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhFullscreenModal @modal="leave-settings"
|
|
|
|
@confirm={{action "leaveSettings"}}
|
|
|
|
@close={{action "toggleLeaveSettingsModal"}}
|
|
|
|
@modifier="action wide" />
|
2017-10-31 18:27:25 +03:00
|
|
|
{{/if}}
|
|
|
|
|
2021-02-08 23:16:41 +03:00
|
|
|
<section class="view-container">
|
2021-02-08 21:54:16 +03:00
|
|
|
<section class="gh-main-section bt app-grid">
|
|
|
|
<div class="gh-main-section-block app-detail-heading app-grid">
|
|
|
|
<div class="app-cell">
|
2020-04-20 18:46:59 +03:00
|
|
|
<img class="app-icon pa2 id-unsplash" src="assets/icons/unsplash.svg" />
|
2019-06-18 13:47:21 +03:00
|
|
|
</div>
|
2021-02-08 21:54:16 +03:00
|
|
|
<div class="app-cell">
|
|
|
|
<h3>Unsplash</h3>
|
|
|
|
<p>Beautiful, free photos</p>
|
|
|
|
</div>
|
2017-08-02 10:05:59 +03:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2021-02-10 20:48:27 +03:00
|
|
|
<section class="gh-main-section">
|
|
|
|
<h4 class="gh-main-section-header small bn">Unsplash configuration</h4>
|
|
|
|
<div class="gh-main-section-block">
|
|
|
|
<div class="gh-main-section-content grey">
|
2021-02-12 16:58:56 +03:00
|
|
|
<div class="gh-setting-first gh-setting-last" id="unsplash-toggle">
|
2021-02-09 19:22:58 +03:00
|
|
|
<div class="gh-setting-content">
|
|
|
|
<div class="gh-setting-title">Enable Unsplash</div>
|
2021-02-23 00:44:55 +03:00
|
|
|
<div class="gh-setting-desc mb0">Enable <a href="https://unsplash.com" target="_blank">Unsplash</a> image integration for your posts</div>
|
2021-02-09 19:22:58 +03:00
|
|
|
</div>
|
|
|
|
<div class="gh-setting-action">
|
|
|
|
<div class="form-group right gh-setting-unsplash-checkbox">
|
|
|
|
<div class="for-checkbox">
|
2021-02-18 05:03:53 +03:00
|
|
|
<label for="unsplash" class="checkbox">
|
2021-02-09 19:22:58 +03:00
|
|
|
<input
|
|
|
|
type="checkbox"
|
2021-02-18 05:03:53 +03:00
|
|
|
checked={{this.settings.unsplash}}
|
|
|
|
id="unsplash"
|
|
|
|
name="unsplash"
|
2021-02-09 19:22:58 +03:00
|
|
|
onclick={{action "update" value="target.checked"}}
|
2021-02-18 05:03:53 +03:00
|
|
|
data-test-unsplash-checkbox
|
2021-02-09 19:22:58 +03:00
|
|
|
>
|
|
|
|
<span class="input-toggle-component"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2021-02-08 21:54:16 +03:00
|
|
|
</div>
|
2019-06-18 13:47:21 +03:00
|
|
|
</div>
|
2017-08-02 10:05:59 +03:00
|
|
|
</div>
|
2017-09-20 13:19:48 +03:00
|
|
|
</div>
|
2021-02-10 20:48:27 +03:00
|
|
|
</div>
|
|
|
|
</section>
|
2017-08-02 10:05:59 +03:00
|
|
|
</section>
|
|
|
|
</section>
|