2014-09-15 04:40:24 +04:00
|
|
|
|
<div class="editor-cover" {{action "closeRightOutlet"}}></div>
|
2014-09-19 03:42:07 +04:00
|
|
|
|
{{#gh-tabs-manager selected="showSubview" id="entry-controls" classNameBindings="isNew:unsaved :right-outlet"}}
|
2014-09-15 04:40:24 +04:00
|
|
|
|
<div id="entry-controls" {{bind-attr class="isNew:unsaved :right-outlet"}}>
|
|
|
|
|
<div {{bind-attr class="isViewingSubview:outlet-pane-out-left:outlet-pane-in :post-settings-menu :outlet-pane"}}>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<div class="post-settings-header">
|
|
|
|
|
<h4>Post Settings</h4>
|
2014-09-15 04:40:24 +04:00
|
|
|
|
<button class="close icon-x post-settings-header-action" {{action "closeRightOutlet"}}><span class="hidden">Close</span></button>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</div>
|
|
|
|
|
<div class="post-settings-content">
|
2014-09-16 02:46:40 +04:00
|
|
|
|
{{gh-uploader uploaded="setCoverImage" canceled="clearCoverImage" image=image tagName="section"}}
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<form>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="blog-title">Post URL</label>
|
|
|
|
|
<span class="input-icon icon-link">
|
2014-09-19 03:42:07 +04:00
|
|
|
|
{{gh-input class="post-setting-slug" id="url" value=slugValue name="post-setting-slug" focus-out="updateSlug" placeholder=slugPlaceholder selectOnClick="true" stopEnterKeyDownPropagation="true"}}
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</span>
|
|
|
|
|
</div>
|
2014-08-16 01:18:36 +04:00
|
|
|
|
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="blog-title">Publish Date</label>
|
|
|
|
|
<span class="input-icon icon-calendar">
|
2014-09-19 03:42:07 +04:00
|
|
|
|
{{gh-input class="post-setting-date" value=publishedAtValue name="post-setting-date" focus-out="setPublishedAt" placeholder=publishedAtPlaceholder stopEnterKeyDownPropagation="true"}}
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group for-select">
|
|
|
|
|
<label for="activeTheme">Author</label>
|
|
|
|
|
<span class="input-icon icon-user">
|
2014-09-17 14:41:34 +04:00
|
|
|
|
<span class="gh-select" tabindex="0">
|
2014-08-16 01:18:36 +04:00
|
|
|
|
{{view Ember.Select
|
2014-09-04 17:56:07 +04:00
|
|
|
|
name="post-setting-author"
|
|
|
|
|
content=authors
|
|
|
|
|
optionValuePath="content.id"
|
|
|
|
|
optionLabelPath="content.name"
|
|
|
|
|
selection=selectedAuthor}}
|
|
|
|
|
</span>
|
2014-08-16 01:18:36 +04:00
|
|
|
|
</span>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group for-checkbox">
|
2014-08-18 23:21:40 +04:00
|
|
|
|
<label class="checkbox" for="static-page" {{action "togglePage" bubbles="false"}}>
|
|
|
|
|
{{input type="checkbox" name="static-page" id="static-page" class="post-setting-static-page" checked=page}}
|
|
|
|
|
<span class="input-toggle-component"></span>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<p>Static Page</p>
|
2014-08-18 23:21:40 +04:00
|
|
|
|
</label>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</div>
|
|
|
|
|
<ul class="nav-list nav-list-block">
|
2014-09-15 04:40:24 +04:00
|
|
|
|
{{#gh-tab tagName="li" classNames="nav-list-item"}}
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<a href="#">
|
2014-09-15 04:40:24 +04:00
|
|
|
|
<b>Meta Data</b>
|
|
|
|
|
<span>Extra content for SEO and social media.</span>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</a>
|
2014-09-15 04:40:24 +04:00
|
|
|
|
{{/gh-tab}}
|
2014-09-19 03:42:07 +04:00
|
|
|
|
{{!--
|
2014-09-15 04:40:24 +04:00
|
|
|
|
{{#gh-tab tagName="li" classNames="nav-list-item"}}
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<a href="#">
|
|
|
|
|
<b>Advanced Settings</b>
|
|
|
|
|
<span>Convert to a page, mark as featured.</span>
|
|
|
|
|
</a>
|
2014-09-15 04:40:24 +04:00
|
|
|
|
{{/gh-tab}}
|
|
|
|
|
{{#gh-tab tagName="li" classNames="nav-list-item"}}
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<a href="#">
|
2014-09-15 04:40:24 +04:00
|
|
|
|
<b>Revision History</b>
|
|
|
|
|
<span>12 versions of this post by 3 people.</span>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</a>
|
2014-09-15 04:40:24 +04:00
|
|
|
|
{{/gh-tab}}
|
|
|
|
|
{{#gh-tab tagName="li" classNames="nav-list-item"}}
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<a href="#">
|
|
|
|
|
<b>Custom App</b>
|
|
|
|
|
<span>Registered an advanced setting panel.</span>
|
|
|
|
|
</a>
|
2014-09-15 04:40:24 +04:00
|
|
|
|
{{/gh-tab}}
|
|
|
|
|
--}}
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</ul>
|
|
|
|
|
<button type="button" class="btn btn-red icon-trash delete" {{action "openModal" "delete-post" this}}>Delete This Post</button>
|
|
|
|
|
</form>
|
|
|
|
|
</div><!-- .post-settings-content -->
|
2014-09-19 03:42:07 +04:00
|
|
|
|
</div><!-- .post-settings-menu -->
|
2014-09-15 04:40:24 +04:00
|
|
|
|
<div {{bind-attr class="isViewingSubview:outlet-pane-in:outlet-pane-out-right :post-settings-menu :outlet-pane"}}>
|
2014-09-19 03:42:07 +04:00
|
|
|
|
{{#gh-tab-pane}}
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<div class="post-settings-header subview">
|
2014-09-15 04:40:24 +04:00
|
|
|
|
<button {{action "closeSubview"}} class="back icon-chevron-left post-settings-header-action"><span class="hidden">Back</span></button>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<h4>Meta Data</h4>
|
|
|
|
|
</div>
|
|
|
|
|
|
2014-09-15 04:40:24 +04:00
|
|
|
|
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<div class="post-settings-content">
|
2014-09-21 22:56:30 +04:00
|
|
|
|
<form>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="blog-title">Meta Title</label>
|
2014-09-23 13:37:08 +04:00
|
|
|
|
{{gh-input class="post-setting-meta-title" value=metaTitleScratch name="post-setting-meta-title" focus-out="setMetaTitle" stopEnterKeyDownPropagation="true"}}
|
2014-09-21 22:56:30 +04:00
|
|
|
|
<p>Recommended: <b>70</b> characters. You’ve used {{gh-count-down-characters metaTitleScratch 70}}</p>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="blog-title">Meta Description</label>
|
2014-09-23 13:37:08 +04:00
|
|
|
|
{{gh-textarea class="post-setting-meta-description" value=metaDescriptionScratch name="post-setting-meta-description" focus-out="setMetaDescription" stopEnterKeyDownPropagation="true"}}
|
2014-09-21 22:56:30 +04:00
|
|
|
|
<p>Recommended: <b>156</b> characters. You’ve used {{gh-count-down-characters metaDescriptionScratch 156}}</p>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label>Search Engine Result Preview</label>
|
|
|
|
|
<div class="seo-preview">
|
2014-09-19 03:42:07 +04:00
|
|
|
|
<div class="seo-preview-title">{{seoTitle}}</div>
|
|
|
|
|
<div class="seo-preview-link">{{gh-blog-url}}/{{seoSlug}}{{#if seoSlug}}/{{/if}}</div>
|
|
|
|
|
<div class="seo-preview-description">{{seoDescription}}</div>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-09-21 22:56:30 +04:00
|
|
|
|
</form>
|
2014-09-04 17:56:07 +04:00
|
|
|
|
</div>
|
2014-09-19 03:42:07 +04:00
|
|
|
|
{{/gh-tab-pane}}
|
|
|
|
|
</div>
|
2014-09-15 04:40:24 +04:00
|
|
|
|
</div>
|
2014-09-19 03:42:07 +04:00
|
|
|
|
{{/gh-tabs-manager}}
|