mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Updated post settings menu
No ref
This commit is contained in:
parent
af367a2a18
commit
f0f217a756
1 changed files with 10 additions and 10 deletions
|
@ -147,12 +147,6 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<ul class="nav-list">
|
<ul class="nav-list">
|
||||||
<li class="nav-list-item">
|
|
||||||
<button type="button" {{action "showSubview" "codeinjection"}} data-test-button="codeinjection">
|
|
||||||
<span>{{svg-jar "brackets"}} Code injection</span>
|
|
||||||
</button>
|
|
||||||
{{svg-jar "arrow-right" class="arrow-right"}}
|
|
||||||
</li>
|
|
||||||
{{#if (feature 'postHistory')}}
|
{{#if (feature 'postHistory')}}
|
||||||
<li class="nav-list-item">
|
<li class="nav-list-item">
|
||||||
<button type="button" {{on "click" this.openPostHistory}} data-test-toggle="post-history">
|
<button type="button" {{on "click" this.openPostHistory}} data-test-toggle="post-history">
|
||||||
|
@ -161,6 +155,12 @@
|
||||||
{{svg-jar "arrow-right" class="arrow-right"}}
|
{{svg-jar "arrow-right" class="arrow-right"}}
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
<li class="nav-list-item">
|
||||||
|
<button type="button" {{action "showSubview" "codeinjection"}} data-test-button="codeinjection">
|
||||||
|
<span>{{svg-jar "brackets"}} Code injection</span>
|
||||||
|
</button>
|
||||||
|
{{svg-jar "arrow-right" class="arrow-right"}}
|
||||||
|
</li>
|
||||||
<li class="nav-list-item">
|
<li class="nav-list-item">
|
||||||
<button type="button" {{action "showSubview" "meta-data"}} data-test-button="meta-data">
|
<button type="button" {{action "showSubview" "meta-data"}} data-test-button="meta-data">
|
||||||
<span>{{svg-jar "google-icon"}} Meta data</span>
|
<span>{{svg-jar "google-icon"}} Meta data</span>
|
||||||
|
@ -195,7 +195,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="settings-menu-content">
|
<div class="settings-menu-content">
|
||||||
<form {{action "discardEnter" on="submit"}} aria-label="Meta data settings">
|
<form {{action "discardEnter" on="submit"}} class="gh-post-settings" aria-label="Meta data settings">
|
||||||
<GhFormGroup @errors={{this.post.errors}} @hasValidated={{this.post.hasValidated}} @property="metaTitle">
|
<GhFormGroup @errors={{this.post.errors}} @hasValidated={{this.post.hasValidated}} @property="metaTitle">
|
||||||
<label for="meta-title">Meta title</label>
|
<label for="meta-title">Meta title</label>
|
||||||
<GhTextInput
|
<GhTextInput
|
||||||
|
@ -269,7 +269,7 @@
|
||||||
|
|
||||||
<div class="settings-menu-content">
|
<div class="settings-menu-content">
|
||||||
|
|
||||||
<form {{action "discardEnter" on="submit"}} aria-label="Twitter card settings">
|
<form {{action "discardEnter" on="submit"}} class="gh-post-settings" aria-label="Twitter card settings">
|
||||||
<GhImageUploaderWithPreview
|
<GhImageUploaderWithPreview
|
||||||
@image={{this.post.twitterImage}}
|
@image={{this.post.twitterImage}}
|
||||||
@text="Add Twitter image"
|
@text="Add Twitter image"
|
||||||
|
@ -336,7 +336,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="settings-menu-content">
|
<div class="settings-menu-content">
|
||||||
<form {{action "discardEnter" on="submit"}} aria-label="Facebook card settings">
|
<form {{action "discardEnter" on="submit"}} class="gh-post-settings" aria-label="Facebook card settings">
|
||||||
<GhImageUploaderWithPreview
|
<GhImageUploaderWithPreview
|
||||||
@image={{this.post.ogImage}}
|
@image={{this.post.ogImage}}
|
||||||
@text="Add Facebook image"
|
@text="Add Facebook image"
|
||||||
|
@ -404,7 +404,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="settings-menu-content settings-menu-content-codeinjection">
|
<div class="settings-menu-content settings-menu-content-codeinjection">
|
||||||
<form {{action "discardEnter" on="submit"}} aria-label="Code injection settings">
|
<form {{action "discardEnter" on="submit"}} class="gh-post-settings" aria-label="Code injection settings">
|
||||||
<GhFormGroup @errors={{this.post.errors}} @hasValidated={{this.post.hasValidated}} @property="codeinjectionHead">
|
<GhFormGroup @errors={{this.post.errors}} @hasValidated={{this.post.hasValidated}} @property="codeinjectionHead">
|
||||||
<label for="codeinjection-head">{{capitalize this.post.displayName}} header <code>\{{ghost_head}}</code></label>
|
<label for="codeinjection-head">{{capitalize this.post.displayName}} header <code>\{{ghost_head}}</code></label>
|
||||||
<GhCmEditor @value={{this.codeinjectionHeadScratch}}
|
<GhCmEditor @value={{this.codeinjectionHeadScratch}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue