Radek Krejci | ae75839 | 2017-10-20 10:53:26 +0200 | [diff] [blame^] | 1 | <div id="netopeer-header" #header> |
Radek Krejci | d23f0df | 2017-08-31 16:34:49 +0200 | [diff] [blame] | 2 | <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 Krejci | ae75839 | 2017-10-20 10:53:26 +0200 | [diff] [blame^] | 10 | <div id="netopeer-component" [style.margin-top]="'calc(' + header.offsetHeight + 'px - 0.5em)'"> |
Radek Krejci | d23f0df | 2017-08-31 16:34:49 +0200 | [diff] [blame] | 11 | <netopeer-dashboard *ngIf="componentTitle == ''"></netopeer-dashboard> |
| 12 | <router-outlet (activate)="onActivate($event)" (deactivate)="onDeactivate($event)"></router-outlet> |
| 13 | </div> |