blob: 1416bb3de9a593a60e95a94bf66b4a6a5191736a [file] [log] [blame]
<nav #subnav id="subnav">
<a *ngFor="let schema of schemasService.schemas" [class.active]="schema.key==activeSchema.key"
(click)="changeActiveSchema(schema.key)">{{schema.name}}@{{schema.revision}}
<img class="tab-icon tab-close tab-action-last" src="assets/netopeer/icons/close.svg" alt="x" title="close"
onmouseover="this.src='assets/netopeer/icons/close_active.svg'"
onmouseout="this.src='assets/netopeer/icons/close.svg'" (click)="close(schema.key)"/>
</a><a (click)="addSchema()" onmouseout="getElementById('tabadd').style.filter='invert(100%)'" onmouseover="getElementById('tabadd').style.filter='invert(0%)'">
<img id="tabadd" class="tab-icon tab-add tab-action-last" src="assets/netopeer/icons/add.svg" alt="+" title="open schema"
onmouseover="this.src='assets/netopeer/icons/add_active.svg'"
onmouseout="this.src='assets/netopeer/icons/add.svg'"/>
</a>
</nav>
<div class="netopeer-content" [style.padding-top]="'calc(' + subnav.offsetHeight + 'px - -0.7em)'">
<img *ngIf="!activeSchema" src="assets/netopeer/starthere.svg" alt="Start here with that + sign."/>
<pre *ngIf="activeSchema">{{activeSchema.data}}</pre>
</div>