Add topbar, move account info to top-right corner

This commit is contained in:
2018-06-16 15:36:21 +02:00
parent 575c1a11c2
commit 24e3171311
7 changed files with 43 additions and 15 deletions
+15 -1
View File
@@ -1,3 +1,17 @@
<main>
<header id="topbar">
<h1>Kosmos Kredits</h1>
<section id="user-account">
{{#if kredits.hasAccounts }}
{{#if kredits.currentUser}}
{{kredits.currentUser.name}}
{{#if kredits.currentUserIsCore}}(core){{/if}}
{{/if}}
{{else}}
Anonymous
{{/if}}
</section>
</header>
<main id="content">
{{outlet}}
</main>
-12
View File
@@ -1,15 +1,3 @@
{{#if kredits.hasAccounts }}
<section id="user-account">
{{#if kredits.currentUser }}
{{ kredits.currentUser.name }}
{{#if kredits.currentUserIsCore }}
(core)
{{/if}}
Account: {{kredits.currentUser.account}}
{{/if}}
</section>
{{/if}}
<section id="contributors">
<header>
<h2>Kosmos Contributors</h2>