view src/app/app.component.html @ 348:d17d5038b11a

Wire up as necessary to push the handlers down the tree. This is unfinished.
author Lucas Thompson <dev@lucas.im>
date Thu, 25 May 2017 17:56:14 +0100
parents 82d476b976e0
children 02e7be2daf31
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)"
      ></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)"
      ></ugly-audio-file-open>
      <!-- menu opens when trigger button is clicked -->
      <button md-icon-button (click)="sidenav.toggle()">
        <md-icon>extension</md-icon>
      </button>
    </md-toolbar>
  </div>

  <div class="ugly-content">
    <md-sidenav-container>
      <md-sidenav #sidenav align="start" mode="over">
        <ugly-feature-extraction-menu
          (requestOutput)="extractFeatures($event)"
          [disabled]="!canExtract">
        </ugly-feature-extraction-menu>
      </md-sidenav>
      <ugly-notebook-feed
        [analyses]="analyses.toIterable()"
        [rootAudioUri]="rootAudioUri"
        [onSeek]="onSeek"></ugly-notebook-feed>
    </md-sidenav-container>
  </div>
</div>