blob: 1416bb3de9a593a60e95a94bf66b4a6a5191736a [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 Krejci306192a2018-02-15 12:36:01 +010015<img *ngIf="!activeSchema" src="assets/netopeer/starthere.svg" alt="Start here with that + sign."/>
Radek Krejci4ce56d92017-11-03 13:53:37 +010016
Radek Krejcif7f73802018-02-15 10:59:03 +010017<pre *ngIf="activeSchema">{{activeSchema.data}}</pre>
Radek Krejcib4794962017-09-21 14:16:28 +020018
19</div>