More connect improvements
* Use extra route for disconnected/initial state * Style connect screen properly * Hide widget when connected in favor of custom UI * Show account info in sidebar header
This commit is contained in:
@@ -1,18 +1,21 @@
|
||||
<div id="app-container">
|
||||
<div id="app-container" class={{connectedClass}}>
|
||||
<aside>
|
||||
{{#if connected}}
|
||||
<div id="account">
|
||||
<span class="user-address">{{userAddress}}</span>
|
||||
</div>
|
||||
{{categories-nav categories=categories}}
|
||||
{{/if}}
|
||||
</aside>
|
||||
<main>
|
||||
<header>
|
||||
{{#if connecting}}
|
||||
<!-- Connecting... -->
|
||||
<!-- Connecting... -->
|
||||
{{else}}
|
||||
{{#if connected}}
|
||||
{{breadcrumb-nav currentDirPath=currentDirPath}}
|
||||
{{else}}
|
||||
Not connected.
|
||||
<!-- Please connect. -->
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</header>
|
||||
|
||||
1
app/templates/connect.hbs
Normal file
1
app/templates/connect.hbs
Normal file
@@ -0,0 +1 @@
|
||||
{{outlet}}
|
||||
Reference in New Issue
Block a user