view src/app/app.component.html @ 393:a02e6ec4a9d2

cross-hair-inspector component, much the same technique used for the vertical-scale. Change curve to use it. Doesn't currently animate.
author Lucas Thompson <dev@lucas.im>
date Thu, 01 Jun 2017 16:26:52 +0100
parents 02e7be2daf31
children 8d6b3c941a78
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]="rootAudioItem.uri"
        [onSeek]="onSeek"></ugly-notebook-feed>
    </md-sidenav-container>
  </div>
</div>