Add breadcrumb navigation

This commit is contained in:
2017-11-12 22:33:41 +01:00
parent 6d4ef48991
commit 9399849e0c
16 changed files with 120 additions and 50 deletions

View File

@@ -5,6 +5,18 @@
{{/if}}
</aside>
<main>
<header>
{{#if connecting}}
<!-- Connecting... -->
{{else}}
{{#if connected}}
{{breadcrumb-nav currentDirPath=currentDirPath}}
{{else}}
Not connected.
{{/if}}
{{/if}}
</header>
{{outlet}}
</main>
</div>

View File

@@ -1 +0,0 @@
{{yield}}

View File

@@ -1,13 +1,3 @@
<header>
{{#if connecting}}
<!-- Connecting... -->
{{else}}
{{#unless connected}}
Not connected.
{{/unless}}
{{/if}}
</header>
{{#if currentListing}}
{{directory-listing items=currentListing}}
{{/if}}