blob: 97c3072672b206bfed488947edbeeed9b8d2b56f [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
Radek Krejcia1339602017-11-02 13:52:38 +01004 <nav id="mainnav">
Radek Krejcid23f0df2017-08-31 16:34:49 +02005 <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>