Radek Krejci | 6be087d | 2018-02-14 08:53:20 +0100 | [diff] [blame] | 1 | <nav #subnav id="subnav"> |
Radek Krejci | 5a1571a | 2018-02-16 13:45:53 +0100 | [diff] [blame^] | 2 | <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 Krejci | 6be087d | 2018-02-14 08:53:20 +0100 | [diff] [blame] | 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'" |
Radek Krejci | 5a1571a | 2018-02-16 13:45:53 +0100 | [diff] [blame^] | 6 | onmouseout="this.src='assets/netopeer/icons/close.svg'" (click)="close(key)"/> |
Radek Krejci | 6be087d | 2018-02-14 08:53:20 +0100 | [diff] [blame] | 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 Krejci | 6be087d | 2018-02-14 08:53:20 +0100 | [diff] [blame] | 13 | <div class="netopeer-content" [style.padding-top]="'calc(' + subnav.offsetHeight + 'px - -0.7em)'"> |
Radek Krejci | 5a1571a | 2018-02-16 13:45:53 +0100 | [diff] [blame^] | 14 | <img *ngIf="!schemasService.activeSchema" (click)="addSchema()" src="assets/netopeer/starthere.svg" alt="Start here with that + sign."/> |
Radek Krejci | 4ce56d9 | 2017-11-03 13:53:37 +0100 | [diff] [blame] | 15 | |
Radek Krejci | 5a1571a | 2018-02-16 13:45:53 +0100 | [diff] [blame^] | 16 | <pre *ngIf="schemasService.activeSchema">{{schemasService.schemas[schemasService.activeSchema].data}}</pre> |
| 17 | </div> |