blob: 1e4000ecad220ed794bc2308dbecc7607521fbb6 [file] [log] [blame]
<div id="netopeer-header" #header>
<h1><span routerLink="/netopeer">Netopeer</span> {{componentTitle}}</h1>
<nav>
<a *ngFor="let component of netopeerComponents"
routerLink="{{component.route}}" routerLinkActive="active">{{component.name}}</a>
</nav>
</div>
<div id="netopeer-component" [style.margin-top]="'calc(' + header.offsetHeight + 'px - 0.5em)'">
<netopeer-dashboard *ngIf="componentTitle == ''"></netopeer-dashboard>
<router-outlet (activate)="onActivate($event)" (deactivate)="onDeactivate($event)"></router-outlet>
</div>