mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +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
38 lines
1.8 KiB
Handlebars
38 lines
1.8 KiB
Handlebars
<header id="global-header" class="navbar">
|
|
<a class="ghost-logo" href="/" data-off-canvas="left" title="/">
|
|
<span class="hidden">Ghost </span>
|
|
</a>
|
|
<nav id="global-nav" role="navigation">
|
|
<ul id="main-menu" >
|
|
{{!-- @TODO: don't nest link-to attributes
|
|
currently required to get proper class styling --}}
|
|
{{#link-to "posts" class="content" tagName="li" disabled=true}}
|
|
{{#link-to "posts"}}Content{{/link-to}}
|
|
{{/link-to}}
|
|
{{#link-to "new" class="editor" tagName="li" disabled=true}}
|
|
{{#link-to "new"}}New post{{/link-to}}
|
|
{{/link-to}}
|
|
{{#link-to "settings" class="settings" tagName="li" disabled=true}}
|
|
{{#link-to "settings"}}Settings{{/link-to}}
|
|
{{/link-to}}
|
|
|
|
<li id="usermenu" class="usermenu subnav">
|
|
<a href="#" class="dropdown">
|
|
{{!-- @TODO: show avatar of logged in user --}}
|
|
<img class="avatar" src="/shared/img/user-image.png" alt="Avatar" />
|
|
{{!-- @TODO: show logged in user name or email --}}
|
|
<span class="name">Fake Ghost</span>
|
|
</a>
|
|
{{!-- @TODO: add functionality to allow for dropdown to work --}}
|
|
<ul class="overlay">
|
|
<li class="usermenu-profile"><a href="#">Your Profile</a></li>
|
|
<li class="divider"></li>
|
|
<li class="usermenu-help"><a href="http://ghost.org/forum/">Help / Support</a></li>
|
|
<li class="divider"></li>
|
|
<li class="usermenu-signout"><a href="#">Sign Out</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|