2020-07-23 09:37:06 -04:00
|
|
|
<HeadLayout />
|
|
|
|
|
{{title (app-name)}}
|
|
|
|
|
|
2020-06-10 14:21:26 -04:00
|
|
|
<Rose::Layout::Global as |layout|>
|
|
|
|
|
|
|
|
|
|
<layout.header>
|
2020-05-28 09:14:51 -04:00
|
|
|
<Rose::Header as |header|>
|
2020-05-29 17:00:42 -04:00
|
|
|
<header.brand @logo="logo-hashi" @text={{app-name}} />
|
2020-07-24 17:49:42 -04:00
|
|
|
|
|
|
|
|
{{#if this.session.isAuthenticated}}
|
|
|
|
|
<header.utilities as |utilities|>
|
|
|
|
|
<utilities.dropdown
|
|
|
|
|
@text="user@example.net"
|
|
|
|
|
@iconOnly={{true}}
|
|
|
|
|
@icon="user-square-fill" as |dropdown|
|
|
|
|
|
>
|
2020-08-10 16:00:39 -04:00
|
|
|
<dropdown.button
|
|
|
|
|
{{on "click" (route-action "invalidateSession")}}
|
|
|
|
|
>
|
2020-07-24 17:49:42 -04:00
|
|
|
{{t 'actions.deauthenticate'}}
|
|
|
|
|
</dropdown.button>
|
|
|
|
|
</utilities.dropdown>
|
|
|
|
|
</header.utilities>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2020-05-28 09:14:51 -04:00
|
|
|
</Rose::Header>
|
2020-06-10 14:21:26 -04:00
|
|
|
</layout.header>
|
2020-06-08 11:32:19 -04:00
|
|
|
|
2020-06-24 10:40:00 -04:00
|
|
|
<layout.body>
|
2020-06-24 10:57:56 -04:00
|
|
|
{{outlet}}
|
2020-06-24 10:40:00 -04:00
|
|
|
</layout.body>
|
2020-05-30 12:42:10 -04:00
|
|
|
|
2020-06-05 15:44:02 -04:00
|
|
|
</Rose::Layout::Global>
|
2020-05-29 19:44:46 -04:00
|
|
|
|
|
|
|
|
<EmberNotify @closeAfter={{4000}} as |message close|>
|
|
|
|
|
<Rose::Notification
|
|
|
|
|
@style={{message.type}}
|
|
|
|
|
@heading={{t (concat 'states.' message.type)}}
|
|
|
|
|
@dismiss={{close}}
|
|
|
|
|
@dismissText={{t 'actions.dismiss'}}
|
|
|
|
|
>
|
|
|
|
|
{{message.text}}
|
|
|
|
|
</Rose::Notification>
|
|
|
|
|
</EmberNotify>
|