script type="text/template" id='template-download-jamtrack'
  .download-jamtrack
    .state

script type="text/template" id="template-download-jamtrack-state-no-client"
  .state-no-client
    .large.hidden
      .msg
        | To play your JamTrack, launch the JamKazam application and open the JamTrack while in a session.
    .small.hidden
      .msg
        | {{data.name}} (launch client)

script type="text/template" id="template-download-jamtrack-state-synchronized"
  .state-synchronized
    .large.hidden
      .msg
        | Your JamTrack is on your system and ready to play.
    .small.hidden
      .msg
        | {{data.name}} (done)

script type="text/template" id="template-download-jamtrack-state-packaging"
  .state-packaging
    .large.hidden
      .msg
        | Your JamTrack is currently being created on the JamKazam server. (
        span.progress
        | )
      .spinner-large
    .small.hidden
      .msg
        | {{data.name}} (packaging -&nbsp;
        span.progress
        | )
      .spinner-small

script type="text/template" id="template-download-jamtrack-state-downloading"
  .state-downloading
    .large.hidden
      .msg
        | Your JamTrack is currently being downloaded. (
        span.progress 0%
        | )
      .spinner-large
    .small.hidden
      .msg
        | {{data.name}} (downloading -&nbsp;
        span.progress 0%
        | )
      .spinner-small

script type="text/template" id="template-download-jamtrack-state-keying"
  .state-keying
    .large.hidden
      .msg
        | Your JamTrack is being authenticated.
      .spinner-large
    .small.hidden
      .msg
        | {{data.name}} (keying)
      .spinner-small

script type="text/template" id="template-download-jamtrack-state-initial"
  .state-initial
    .large.hidden
      .msg
        | Initializing JamTrack...
      .spinner-large
    .small.hidden
      .msg
        | {{data.name}} (initializing)
      .spinner-small

script type="text/template" id="template-download-jamtrack-state-quiet"
  .state-quiet
    .large.hidden
      .msg
    .small.hidden
      .msg
        | {{data.name}} (pending)

script type="text/template" id="template-download-jamtrack-state-errored"
  .state-errored
    .large.hidden
      .msg
      .retry
      a.button-orange.retry-button RETRY
    .small.hidden
      .msg-holder
        .msg
        a.button-orange.retry-button RETRY
      .errormsg
      .retry
