This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/application/template.hbs
2015-06-23 16:52:06 -08:00

55 lines
1.6 KiB
Handlebars

<div class="flakes-navigation">
{{#link-to 'index' class='logo'}}
{{globals.genus}}.info
{{/link-to}}
{{#if session.isAuthenticated}}
<ul>
{{#link-to 'compare' tagName='li' href=false}}
{{link-to 'Compare' 'compare'}}
{{/link-to}}
{{#link-to 'measurements' tagName='li' href=false}}
{{link-to 'Measurements' 'measurements'}}
{{/link-to}}
{{#link-to 'characteristics' tagName='li' href=false}}
{{link-to 'Characteristics' 'characteristics'}}
{{/link-to}}
{{#link-to 'species' tagName='li' href=false}}
{{link-to 'Species' 'species'}}
{{/link-to}}
{{#link-to 'strains' tagName='li' href=false}}
{{link-to 'Strains' 'strains'}}
{{/link-to}}
{{#link-to 'about' tagName='li' href=false}}
{{link-to 'About' 'about'}}
{{/link-to}}
</ul>
<p class="foot">
{{session.currentUser.name}}<br>
<a {{action 'invalidateSession'}}>Logout</a>
</p>
{{else}}
<p class="foot">
{{link-to 'Login' 'login'}}
<br>
{{link-to 'Sign Up' 'users.new'}}
</p>
{{/if}}
</div>
<div class="flakes-content">
<div class="flakes-mobile-top-bar">
<a href="" class="logo-wrap">
{{globals.genus}}.info
</a>
<a href="" class="navigation-expand-target">
<img src="img/navigation-expand-target.png" height="26px">
</a>
</div>
<div class="view-wrap">
{{#each flashMessages.queue as |flash|}}
{{custom-flash-message flash=flash}}
{{/each}}
{{outlet}}
</div>
</div>