blob: 1e4000ecad220ed794bc2308dbecc7607521fbb6 [file] [log] [blame]
Radek Krejciae758392017-10-20 10:53:26 +02001<div id="netopeer-header" #header>
Radek Krejcid23f0df2017-08-31 16:34:49 +02002 <h1><span routerLink="/netopeer">Netopeer</span> {{componentTitle}}</h1>
3
4 <nav>
5 <a *ngFor="let component of netopeerComponents"
6 routerLink="{{component.route}}" routerLinkActive="active">{{component.name}}</a>
7 </nav>
8
9</div>
Radek Krejciae758392017-10-20 10:53:26 +020010<div id="netopeer-component" [style.margin-top]="'calc(' + header.offsetHeight + 'px - 0.5em)'">
Radek Krejcid23f0df2017-08-31 16:34:49 +020011 <netopeer-dashboard *ngIf="componentTitle == ''"></netopeer-dashboard>
12 <router-outlet (activate)="onActivate($event)" (deactivate)="onDeactivate($event)"></router-outlet>
13</div>