Mercurial > hg > ugly-duckling
annotate src/app/app.component.html @ 102:5f7896f2fad7
Playback controls and placeholder record button in the centre of the toolbar, plugin button on the right. Sidenav now overlays the content.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 02 Mar 2017 15:08:10 +0000 |
parents | c702b208a527 |
children | c02c76b94148 |
rev | line source |
---|---|
dev@3 | 1 <md-toolbar color="primary"> |
dev@89 | 2 <md-icon svgIcon="duck"></md-icon> |
dev@102 | 3 |
dev@102 | 4 <span class="app-toolbar-filler"></span> |
dev@102 | 5 |
dev@102 | 6 <app-playback-control></app-playback-control> |
dev@102 | 7 <button md-icon-button> |
dev@102 | 8 <md-icon>mic_off</md-icon> |
dev@102 | 9 </button> |
dev@102 | 10 |
dev@3 | 11 <!-- This fills the remaining space of the current row --> |
dev@4 | 12 <span class="app-toolbar-filler"></span> |
dev@1 | 13 |
dev@13 | 14 |
dev@31 | 15 <app-audio-file-open (fileOpened)="onFileOpened($event)"></app-audio-file-open> |
dev@4 | 16 <!-- menu opens when trigger button is clicked --> |
dev@99 | 17 <button md-icon-button (click)="sidenav.toggle()"> |
dev@102 | 18 <md-icon>extension</md-icon> |
dev@4 | 19 </button> |
dev@3 | 20 </md-toolbar> |
dev@7 | 21 |
dev@87 | 22 <md-sidenav-container> |
dev@102 | 23 <md-sidenav #sidenav align="start" mode="over"> |
dev@102 | 24 <app-feature-extraction-menu |
dev@102 | 25 (requestOutput)="extractFeatures($event)" |
dev@102 | 26 [disabled]="!canExtract"> |
dev@102 | 27 </app-feature-extraction-menu> |
dev@4 | 28 </md-sidenav> |
dev@50 | 29 <app-waveform |
dev@50 | 30 [audioBuffer]="audioBuffer" |
dev@50 | 31 ></app-waveform> |
dev@87 | 32 </md-sidenav-container> |