mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
0048d393ac
closes #3885
110 lines
5.2 KiB
Handlebars
110 lines
5.2 KiB
Handlebars
<div class="editor-cover" {{action "closePostSettings"}}></div>
|
||
<div id="entry-controls" {{bind-attr class=":right-outlet isNew:unsaved"}}>
|
||
<div class="post-settings-menu outlet-pane outlet-pane-in">
|
||
<div class="post-settings-header">
|
||
<h4>Post Settings</h4>
|
||
<button class="close icon-x post-settings-header-action" {{action "closePostSettings"}}><span class="hidden">Close</span></button>
|
||
</div>
|
||
<div class="post-settings-content">
|
||
{{gh-uploader uploaded="setCoverImage" canceled="clearCoverImage" image=image tagName="section"}}
|
||
<form>
|
||
<div class="form-group">
|
||
<label for="blog-title">Post URL</label>
|
||
<span class="input-icon icon-link">
|
||
{{gh-blur-input class="post-setting-slug" id="url" value=slugValue name="post-setting-slug" action="updateSlug" placeholder=slugPlaceholder selectOnClick="true" stopEnterKeyDownPropagation="true"}}
|
||
</span>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label for="blog-title">Publish Date</label>
|
||
<span class="input-icon icon-calendar">
|
||
{{gh-blur-input class="post-setting-date" value=publishedAtValue name="post-setting-date" action="setPublishedAt" placeholder=publishedAtPlaceholder stopEnterKeyDownPropagation="true"}}
|
||
</span>
|
||
</div>
|
||
|
||
<div class="form-group for-select">
|
||
<label for="activeTheme">Author</label>
|
||
<span class="input-icon icon-user">
|
||
<span class="gh-select">
|
||
{{view Ember.Select
|
||
name="post-setting-author"
|
||
content=authors
|
||
optionValuePath="content.id"
|
||
optionLabelPath="content.name"
|
||
selection=selectedAuthor}}
|
||
</span>
|
||
</span>
|
||
</div>
|
||
|
||
<div class="form-group for-checkbox">
|
||
<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>
|
||
<p>Static Page</p>
|
||
</label>
|
||
</div>
|
||
<!--
|
||
<ul class="nav-list nav-list-block">
|
||
<li class="nav-list-item">
|
||
<a href="#">
|
||
<b>Revision History</b>
|
||
<span>12 versions of this post by 3 people.</span>
|
||
</a>
|
||
</li>
|
||
<li class="nav-list-item">
|
||
<a href="#">
|
||
<b>Advanced Settings</b>
|
||
<span>Convert to a page, mark as featured.</span>
|
||
</a>
|
||
</li>
|
||
<li class="nav-list-item">
|
||
<a href="#">
|
||
<b>Meta Data</b>
|
||
<span>Extra content for SEO and social media.</span>
|
||
</a>
|
||
</li>
|
||
<li class="nav-list-item">
|
||
<a href="#">
|
||
<b>Custom App</b>
|
||
<span>Registered an advanced setting panel.</span>
|
||
</a>
|
||
</li>
|
||
</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 -->
|
||
</div><!-- .post-settings-menu -->
|
||
<!--
|
||
<div class="post-settings-menu outlet-pane outlet-pane-out-right">
|
||
|
||
<div class="post-settings-header subview">
|
||
<button class="back icon-chevron-left post-settings-header-action"><span class="hidden">Back</span></button>
|
||
<h4>Meta Data</h4>
|
||
</div>
|
||
|
||
<div class="post-settings-content">
|
||
<div class="form-group">
|
||
<label for="blog-title">Meta Title</label>
|
||
<input type="text" value="My Post is Super SEO Friendly" />
|
||
<p>Recommended: <b>70</b> characters. You’ve used <b class="green">43</b></p>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label for="blog-title">Meta Description</label>
|
||
<textarea>In this fascinating posts I explore the value of SEO meta descriptions and their impact on blogging. Don’t miss my stunning insights!</textarea>
|
||
<p>Recommended: <b>156</b> characters. You’ve used <b class="green">133</b></p>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label>Search Engine Result Preview</label>
|
||
<div class="seo-preview">
|
||
<div class="seo-preview-title">My Post is Super SEO Friendly</div>
|
||
<div class="seo-preview-link">myblog.com/this-is-my-post/</div>
|
||
<div class="seo-preview-description">In this fascinating posts I explore the value of SEO meta descriptions and their impact on blogging. Don’t miss my stunning insights!</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
-->
|
||
</div> |