2015-01-16 14:56:10 +08:00
|
|
|
<div {{bind-attr class=":page panePinned:with-pane"}}>
|
2015-01-01 17:38:38 +08:00
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
<header id="header" class="global-header">
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
{{back-button target=backButtonTarget}}
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
<div class="container">
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
<div class="header-primary">
|
|
|
|
<h1 class="header-title">
|
|
|
|
{{#link-to "index" (query-params searchQuery="" sort="recent" show="discussions")}}
|
2015-01-01 17:38:38 +08:00
|
|
|
{{#if view.image}}
|
|
|
|
<img {{bind-attr src=view.image alt=view.title}}>
|
|
|
|
{{else}}
|
|
|
|
{{view.title}}
|
|
|
|
{{/if}}
|
2014-12-20 14:26:46 +08:00
|
|
|
{{/link-to}}
|
|
|
|
</h1>
|
2015-01-01 17:38:38 +08:00
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
{{ui/controls/item-list items=view.headerPrimaryItems class="header-controls"}}
|
2014-12-20 14:26:46 +08:00
|
|
|
</div>
|
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
<div class="header-secondary">
|
|
|
|
{{ui/controls/item-list items=view.headerSecondaryItems class="header-controls"}}
|
2014-12-20 14:26:46 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2015-01-01 17:38:38 +08:00
|
|
|
</header>
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
<main id="main" class="global-main">
|
2014-12-20 14:26:46 +08:00
|
|
|
{{outlet}}
|
2015-01-16 14:56:10 +08:00
|
|
|
|
|
|
|
{{!-- <div class="composer-container">
|
|
|
|
<div class="container">
|
|
|
|
{{render "composer"}}
|
|
|
|
</div>
|
|
|
|
</div> --}}
|
2015-01-01 17:38:38 +08:00
|
|
|
</main>
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
<footer id="footer" class="global-footer">
|
|
|
|
<div class="container">
|
|
|
|
{{ui/controls/item-list items=view.footerPrimaryItems class="footer-primary"}}
|
|
|
|
{{ui/controls/item-list items=view.footerSecondaryItems class="footer-secondary"}}
|
|
|
|
</div>
|
2015-01-01 17:38:38 +08:00
|
|
|
</footer>
|
2014-12-20 14:26:46 +08:00
|
|
|
|
|
|
|
</div>
|
2015-01-01 17:38:38 +08:00
|
|
|
|
|
|
|
{{outlet "modal"}}
|
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
<div class="alerts">
|
2015-01-01 17:38:38 +08:00
|
|
|
{{#each alert in alerts}}
|
|
|
|
{{alert-message message=alert}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|