| <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)'"> |
| |
| <pre *ngIf="activeSchema">{{activeSchema.data}}</pre> |
| |
| </div> |