mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
51a8f0a21f
refs https://github.com/TryGhost/Ghost/issues/8464 - fix padding on user actions button - match user screen heading to other screens - match app screen headers to other screens, update form styles - change header link colour to match non-link colour - fix team acceptance test - fix canvas top padding so header elements always align - reduce header font size
42 lines
1.6 KiB
Handlebars
42 lines
1.6 KiB
Handlebars
<section class="gh-canvas">
|
|
<header class="gh-canvas-header">
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
|
{{#link-to "settings.apps.index"}}Apps{{/link-to}}
|
|
<span>{{inline-svg "arrow-right"}}</span>
|
|
AMP
|
|
</h2>
|
|
<section class="view-actions">
|
|
{{gh-task-button task=save class="gh-btn gh-btn-blue gh-btn-icon" data-test-save-button=true}}
|
|
</section>
|
|
</header>
|
|
|
|
<section class="view-container">
|
|
<br>
|
|
<section class="app-grid">
|
|
<div class="app-cell">
|
|
<img class="app-icon" src="assets/img/ampicon.png" />
|
|
</div>
|
|
<div class="app-cell">
|
|
<h3>AMP</h3>
|
|
<p>Accelerated Mobile Pages</p>
|
|
</div>
|
|
</section>
|
|
|
|
<div class="gh-setting-header">AMP configuration</div>
|
|
<div class="gh-setting">
|
|
<div class="gh-setting-content">
|
|
<div class="gh-setting-title">Enable AMP</div>
|
|
<div class="gh-setting-desc">Enable <a href="https://ampproject.org" target="_blank">Google Accelerated Mobile Pages</a> for your posts</div>
|
|
</div>
|
|
<div class="gh-setting-action">
|
|
<div class="for-checkbox">
|
|
<label for="amp" class="checkbox">
|
|
{{one-way-checkbox model id="amp" name="amp" type="checkbox" update=(action "update") data-test-amp-checkbox=true}}
|
|
<span class="input-toggle-component"></span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</section>
|