Mercurial > hg > ugly-duckling
view src/app/app.component.html @ 441:55e17af8a0ee
Small refactor.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 26 Jun 2017 11:00:21 +0100 |
parents | d2af14e0b949 |
children | 7bb0bac6f8dc |
line wrap: on
line source
<div class="ugly-container"> <div class="ugly-header"> <md-toolbar color="primary"> <md-icon svgIcon="duck"></md-icon> <span class="ugly-toolbar-filler"></span> <ugly-playback-control></ugly-playback-control> <ugly-recording-control (finishedRecording)="onFileOpened($event); tray.close()" ></ugly-recording-control> <!-- This fills the remaining space of the current row --> <span class="ugly-toolbar-filler"></span> <ugly-audio-file-open (fileOpened)="onFileOpened($event); tray.close()" ></ugly-audio-file-open> <!-- menu opens when trigger button is clicked --> <button md-icon-button (click)="tray.toggle()"> <md-icon>extension</md-icon> </button> </md-toolbar> </div> <ugly-action-tray #tray> <ugly-feature-extraction-menu (requestOutput)="tray.close(); extractFeatures($event)" [disabled]="!canExtract" > </ugly-feature-extraction-menu> </ugly-action-tray> <div class="ugly-content"> <ugly-notebook-feed [analyses]="analyses.toIterable()" [rootAudioUri]="rootAudioItem.uri" [onSeek]="onSeek"></ugly-notebook-feed> </div> </div>