blob: ed016e81fdef83442c24b027acca2b32eb3b7d49 [file] [log] [blame]
Radek Krejci6be087d2018-02-14 08:53:20 +01001<nav #subnav id="subnav">
Radek Krejci5a1571a2018-02-16 13:45:53 +01002 <a *ngFor="let key of schemasService.schemasKeys()" [class.active]="key == schemasService.activeSchema"
3 (click)="schemasService.changeActiveSchemaKey(key)">{{schemasService.schemas[key].name}}@{{schemasService.schemas[key].revision}}
Radek Krejci6be087d2018-02-14 08:53:20 +01004 <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'"
Radek Krejci5a1571a2018-02-16 13:45:53 +01006 onmouseout="this.src='assets/netopeer/icons/close.svg'" (click)="close(key)"/>
Radek Krejci6be087d2018-02-14 08:53:20 +01007 </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 Krejci6be087d2018-02-14 08:53:20 +010013<div class="netopeer-content" [style.padding-top]="'calc(' + subnav.offsetHeight + 'px - -0.7em)'">
Radek Krejci5a1571a2018-02-16 13:45:53 +010014<img *ngIf="!schemasService.activeSchema" (click)="addSchema()" src="assets/netopeer/starthere.svg" alt="Start here with that + sign."/>
Radek Krejci4ce56d92017-11-03 13:53:37 +010015
Radek Krejci5a1571a2018-02-16 13:45:53 +010016<pre *ngIf="schemasService.activeSchema">{{schemasService.schemas[schemasService.activeSchema].data}}</pre>
17</div>