mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
e9c27bb633
no issue - this ports over screens from old admin to allow people to begin working on aspects of the screen - All logged out screens have been imported: Signup, Signin, Forgotten password, reset password - Those screens are now ready for behavior to be ported over - This also updates templates to be more in line with how they were in the old admin - Littered through the code are @TODO comments of functionality that is missing and will need to be resolved before this is production ready - Also scaffolds out the settings screen and every tab
53 lines
2.6 KiB
Handlebars
53 lines
2.6 KiB
Handlebars
<header class="floatingheader">
|
|
<button class="button-back" href="#">Back</button>
|
|
{{!-- @TODO: add back title updates depending on featured state --}}
|
|
<a {{bind-attr class="featured:featured:unfeatured"}} href="#" title="Feature this post">
|
|
<span class="hidden">Star</span>
|
|
</a>
|
|
<small>
|
|
{{!-- @TODO: the if published doesn't seem to work, needs to be fixed --}}
|
|
<span class="status">{{#if published}}Published{{else}}Written{{/if}}</span>
|
|
<span class="normal">by</span>
|
|
<span class="author">{{#if author.name}}{{author.name}}{{else}}{{author.email}}{{/if}}</span>
|
|
</small>
|
|
<section class="post-controls">
|
|
{{#link-to "editor" this class="post-edit" title="Edit Post"}}
|
|
<span class="hidden">Edit Post</span>
|
|
{{/link-to}}
|
|
<a class="post-settings" href="#" data-toggle=".post-settings-menu" title="Post Settings"><span class="hidden">Post Settings</span></a>
|
|
<div class="post-settings-menu menu-drop-right overlay" style="display: none;">
|
|
<form>
|
|
<table class="plain">
|
|
<tbody>
|
|
<tr class="post-setting">
|
|
<td class="post-setting-label">
|
|
<label for="url">URL</label>
|
|
</td>
|
|
<td class="post-setting-field">
|
|
<input id="url" class="post-setting-slug" type="text" value="">
|
|
</td>
|
|
</tr>
|
|
<tr class="post-setting">
|
|
<td class="post-setting-label">
|
|
<label for="pub-date">Pub Date</label>
|
|
</td>
|
|
<td class="post-setting-field">
|
|
<input id="pub-date" class="post-setting-date" type="text" value="" placeholder="17 Feb 14 @ 02:35"><!--<span class="post-setting-calendar"></span>-->
|
|
</td>
|
|
</tr>
|
|
<tr class="post-setting">
|
|
<td class="post-setting-label">
|
|
<span class="label">Static Page</span>
|
|
</td>
|
|
<td class="post-setting-item">
|
|
<input id="static-page" class="post-setting-static-page" type="checkbox" value="">
|
|
<label class="checkbox" for="static-page"></label>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
<a class="delete" href="#">Delete This Post</a>
|
|
</div>
|
|
</section>
|
|
</header> |