Skip to content
Snippets Groups Projects
Commit e945806b authored by mathias.chouet's avatar mathias.chouet
Browse files

L'icône "plus" devient une icône "maison" lorsqu'il n'y a aucun module ouvert

parent d7ac5993
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,8 @@
</div>
<button mat-icon-button id="new-calculator" routerLink="/list" (click)="sidenav.close()">
<mat-icon>add_box</mat-icon>
<mat-icon *ngIf="calculators.length > 0">add_box</mat-icon>
<mat-icon *ngIf="calculators.length === 0">home</mat-icon>
</button>
<div id="toolbar-bottom-spacer"></div>
......@@ -62,7 +63,7 @@
</header>
<main>
<mat-sidenav-container fxFlexFill class="example-container">
<mat-sidenav-container fxFlexFill>
<!-- side panel -->
<mat-sidenav class="sidenav" #sidenav fxLayout="column" >
......@@ -105,18 +106,11 @@
<div id="app-content">
<router-outlet (activate)="onRouterOutletActivated($event)"></router-outlet>
</div>
</mat-sidenav-content>
</mat-sidenav-container>
</main>
<footer>
<!-- <div style="text-align:center">
ngHyd - Calculettes hydrauliques
<br>
<a href="http://www.irstea.fr/">Institut national de recherche en sciences et technologies pour l'environnement et l'agriculture</a>
</div> -->
</footer>
</app-layout>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment