2013-06-02 03:45:02 +04:00
|
|
|
<header class="floatingheader">
|
2013-09-15 22:47:31 +04:00
|
|
|
<button class="button-back" href="#">Back</button>
|
2013-10-20 08:49:01 +04:00
|
|
|
<a class="{{#if featured}}featured{{else}}unfeatured{{/if}}" href="#" title="{{#if featured}}Unfeature{{else}}Feature{{/if}} this post">
|
2013-06-02 03:45:02 +04:00
|
|
|
<span class="hidden">Star</span>
|
|
|
|
</a>
|
|
|
|
{{! TODO: JavaScript toggle featured/unfeatured}}
|
2013-07-04 22:42:49 +04:00
|
|
|
<span class="status">{{#if published}}Published{{else}}Written{{/if}}</span>
|
2013-06-02 03:45:02 +04:00
|
|
|
<span class="normal">by</span>
|
2013-09-12 02:04:49 +04:00
|
|
|
<span class="author">{{#if author.name}}{{author.name}}{{else}}{{author.email}}{{/if}}</span>
|
2013-06-02 03:45:02 +04:00
|
|
|
<section class="post-controls">
|
2013-10-20 08:49:01 +04:00
|
|
|
<a class="post-edit" href="#" title="Edit Post"><span class="hidden">Edit Post</span></a>
|
|
|
|
<a class="post-settings" href="#" data-toggle=".post-settings-menu" title="Post Settings"><span class="hidden">Post Settings</span></a>
|
2013-09-17 14:39:27 +04:00
|
|
|
<ul class="post-settings-menu menu-drop-right overlay">
|
2013-09-13 21:29:08 +04:00
|
|
|
<li class="post-setting">
|
|
|
|
<div class="post-setting-label">
|
|
|
|
<label for="url">URL</label>
|
|
|
|
</div>
|
|
|
|
<div class="post-setting-field">
|
|
|
|
<input class="post-setting-slug" type="text" value="{{{slug}}}">
|
|
|
|
</div>
|
|
|
|
</li>
|
2013-09-16 06:22:09 +04:00
|
|
|
<li class="post-setting">
|
2013-09-13 21:29:08 +04:00
|
|
|
<div class="post-setting-label">
|
|
|
|
<label for="url">Pub Date</label>
|
|
|
|
</div>
|
|
|
|
<div class="post-setting-field">
|
2013-09-17 14:39:27 +04:00
|
|
|
<input class="post-setting-date" type="text" value="">
|
2013-09-13 21:29:08 +04:00
|
|
|
</div>
|
2013-09-16 06:22:09 +04:00
|
|
|
</li>
|
2013-10-17 09:21:56 +04:00
|
|
|
<li class="post-setting">
|
|
|
|
<div class="post-setting-label">
|
|
|
|
<label for="static-page">Static Page</label>
|
|
|
|
</div>
|
|
|
|
<div class="post-setting-field">
|
|
|
|
<input id="static-page" class="post-setting-static-page" type="checkbox" value="">
|
|
|
|
</div>
|
|
|
|
</li>
|
2013-10-21 02:39:16 +04:00
|
|
|
<li><a href="#" class="delete hidden">Delete This Post</a></li>
|
2013-06-02 03:45:02 +04:00
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</header>
|
|
|
|
<section class="content-preview-content">
|
2013-09-12 02:04:49 +04:00
|
|
|
<div class="wrapper"><h1>{{{title}}}</h1>{{{html}}}</div>
|
2013-10-21 02:39:16 +04:00
|
|
|
</section>
|
2013-10-29 01:16:32 +04:00
|
|
|
{{#unless title}}
|
|
|
|
<div class="no-posts-box">
|
|
|
|
<div class="no-posts">
|
|
|
|
<h3>You Haven't Written Any Posts Yet!</h3>
|
|
|
|
<form action="/ghost/editor/"><button class="button-add large" title="New Post">Write a new Post</button></form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/unless}}
|