Sha256: 90562eee03678c41f120465163ba3c4681c46a4c0e7988efab853ea8a4436538

Contents?: true

Size: 1.69 KB

Versions: 1

Compression:

Stored size: 1.69 KB

Contents

<script type="text/ng-template" id="reviews_show.html">
  <h2>Applicant: <em>{{applicant.email}}</em></h2>
  <div class='btn-toolbar' ng-show='applicant.state == "reviewable"'>
    <div class='btn-group'>
      <button class='btn btn-success' ng-click="setState('approve')">
        <i class='icon icon-ok'></i> Approve
      </button>
      <button class='btn btn-danger' ng-click="setState('reject')">
        <i class='icon icon-remove'></i> Reject
      </button>
    </div>
    <div class='btn-group'>
      <button class='btn btn-warning' ng-click="setState('audio_problem')">
        <i class='icon icon-volume-up'></i> Audio Problem
      </button>
      <button class='btn btn-warning' ng-click="setState('performance_problem')">
        <i class='icon icon-user'></i> Performance Problem
      </button>
      <button class='btn btn-warning' ng-click="setState('video_problem')">
        <i class='icon icon-facetime-video'></i> Video Problem
      </button>
    </div>
  </div>

  <video ng-src="{{video}}" width='100%' height='auto' controls></video>
  <div class='row'>
    <div class='span7'>
      <h3>Questions &amp; Answers</h3>
      <ul>
        <li ng-repeat='answer in applicant.answers track by $index'>
          <strong>{{questions[$index]}}</strong>
          <p>{{answer}}</p>
        </li>
      </ul>
    </div>
    <div class='span5' ng-show='applicant.notes'>
      <h3>Notes</h3>
      {{applicant.notes}}
    </div>
  </div>
  <div class='btn-toolbar' ng-show='applicant.state != "disabled"'>
    <div class='btn-group float-right'>
      <button class='btn btn-danger' ng-click="deleteApplicant()">
        <i class='icon icon-trash'></i> Delete Applicant
      </button>
    </div>
  </div>
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicants-0.11.0 app/views/applicants/spike/js_templates/reviews/_show.html