Radek Krejci | 6be087d | 2018-02-14 08:53:20 +0100 | [diff] [blame^] | 1 | <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 Krejci | b479496 | 2017-09-21 14:16:28 +0200 | [diff] [blame] | 13 | |
Radek Krejci | 6be087d | 2018-02-14 08:53:20 +0100 | [diff] [blame^] | 14 | <div class="netopeer-content" [style.padding-top]="'calc(' + subnav.offsetHeight + 'px - -0.7em)'"> |
Radek Krejci | 4ce56d9 | 2017-11-03 13:53:37 +0100 | [diff] [blame] | 15 | |
Radek Krejci | 6be087d | 2018-02-14 08:53:20 +0100 | [diff] [blame^] | 16 | <pre *ngIf="activeSchema">{{activeSchema.data}}</pre> |
Radek Krejci | b479496 | 2017-09-21 14:16:28 +0200 | [diff] [blame] | 17 | |
| 18 | </div> |