blob: a3a35439835a1b6c46ef354c33554b05fcf10f43 [file] [log] [blame]
Radek Krejci6be087d2018-02-14 08:53:20 +01001<nav #subnav id="subnav">
2 <a *ngFor="let schema of schemasService.schemas" [class.active]="schema.key==activeSchema.key"
3 (click)="changeActiveSchema(schema.key)">{{schema.name}}@{{schema.revision}}
4 <img class="tab-icon tab-close tab-action-last" src="assets/netopeer/icons/close.svg" alt="x" title="close"
5 onmouseover="this.src='assets/netopeer/icons/close_active.svg'"
6 onmouseout="this.src='assets/netopeer/icons/close.svg'" (click)="close(schema.key)"/>
7 </a><a (click)="addSchema()" onmouseout="getElementById('tabadd').style.filter='invert(100%)'" onmouseover="getElementById('tabadd').style.filter='invert(0%)'">
8 <img id="tabadd" class="tab-icon tab-add tab-action-last" src="assets/netopeer/icons/add.svg" alt="+" title="open schema"
9 onmouseover="this.src='assets/netopeer/icons/add_active.svg'"
10 onmouseout="this.src='assets/netopeer/icons/add.svg'"/>
11 </a>
12</nav>
Radek Krejcib4794962017-09-21 14:16:28 +020013
Radek Krejci6be087d2018-02-14 08:53:20 +010014<div class="netopeer-content" [style.padding-top]="'calc(' + subnav.offsetHeight + 'px - -0.7em)'">
Radek Krejci4ce56d92017-11-03 13:53:37 +010015
Radek Krejci6be087d2018-02-14 08:53:20 +010016 <pre *ngIf="activeSchema">{{activeSchema.data}}</pre>
Radek Krejcib4794962017-09-21 14:16:28 +020017
18</div>