ccdb-web/app/templates/application.hbs

21 lines
533 B
Handlebars

{{#if session.isAuthenticated}}
<div class="container-fluid">
<div class="row">
<div class="col-md-2 sidebar">
<ul class="nav nav-sidebar">
{{#link-to 'collections' tagName='li' href=false}}
{{link-to 'Collections' 'collections'}}
{{/link-to}}
</ul>
<ul class="nav nav-sidebar">
<li>{{#link-to 'logout'}}Logout{{/link-to}}</li>
</ul>
</div>
<div class="col-md-offset-2 col-md-10 content">
{{outlet}}
</div>
</div>
</div>
{{else}}
{{outlet}}
{{/if}}