|
|
|
@ -35,19 +35,19 @@ |
|
|
|
onMount(getInfo) |
|
|
|
|
|
|
|
let menu = [ |
|
|
|
{ title: "Apps", href: "/app/portal/apps" }, |
|
|
|
{ title: "Drafts", href: "/app/portal/drafts" }, |
|
|
|
{ title: "Users", href: "/app/portal/users", heading: "Manage" }, |
|
|
|
{ title: "Groups", href: "/app/portal/groups" }, |
|
|
|
{ title: "Auth", href: "/app/portal/oauth" }, |
|
|
|
{ title: "Email", href: "/app/portal/email" }, |
|
|
|
{ title: "Apps", href: "/builder/portal/apps" }, |
|
|
|
{ title: "Drafts", href: "/builder/portal/drafts" }, |
|
|
|
{ title: "Users", href: "/builder/portal/users", heading: "Manage" }, |
|
|
|
{ title: "Groups", href: "/builder/portal/groups" }, |
|
|
|
{ title: "Auth", href: "/builder/portal/oauth" }, |
|
|
|
{ title: "Email", href: "/builder/portal/email" }, |
|
|
|
{ |
|
|
|
title: "General", |
|
|
|
href: "/app/portal/settings/general", |
|
|
|
href: "/builder/portal/settings/general", |
|
|
|
heading: "Settings", |
|
|
|
}, |
|
|
|
{ title: "Theming", href: "/app/portal/theming" }, |
|
|
|
{ title: "Account", href: "/app/portal/account" }, |
|
|
|
{ title: "Theming", href: "/builder/portal/theming" }, |
|
|
|
{ title: "Account", href: "/builder/portal/account" }, |
|
|
|
] |
|
|
|
</script> |
|
|
|
|
|
|
|
@ -89,7 +89,7 @@ |
|
|
|
<MenuItem icon="LogOut" on:click={auth.logout}>Log out</MenuItem> |
|
|
|
</ActionMenu> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div class="content"> |
|
|
|
<slot /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -100,17 +100,20 @@ |
|
|
|
|
|
|
|
<style> |
|
|
|
.container { |
|
|
|
min-height: 100vh; |
|
|
|
height: 100%; |
|
|
|
display: grid; |
|
|
|
grid-template-columns: 250px 1fr; |
|
|
|
align-items: stretch; |
|
|
|
} |
|
|
|
.nav { |
|
|
|
background: var(--background); |
|
|
|
border-right: var(--border-light); |
|
|
|
overflow: auto; |
|
|
|
} |
|
|
|
.main { |
|
|
|
display: grid; |
|
|
|
grid-template-rows: auto 1fr; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
.branding { |
|
|
|
display: grid; |
|
|
|
@ -156,4 +159,7 @@ |
|
|
|
text-overflow: ellipsis; |
|
|
|
font-weight: 500; |
|
|
|
} |
|
|
|
.content { |
|
|
|
overflow: auto; |
|
|
|
} |
|
|
|
</style> |