<ion-pane>
  <ion-header-bar align-title="left" class="bar bar-header bar-dark">
	<a href="#/cardio">
	<button class="button icon-right ion-ios7-arrow-left button-clear button-white">
	</button></a>
	<h1 class="title">{{pname}}</h1>
  </ion-header-bar>
  <ion-content class="content">

        <div class="or-view">

            <div class="row">
                <div class="col col-75">QT (msec)</div>
                <div class="col"><label class="item item-input">
                                 <input type="number" id="qt"></input>
                                 </label></div>
            </div>


            <div class="row">
                <div class="col col-75">RR (msec)</div>
                <div class="col"><label class="item item-input">
                                 <input type="number" id="rr"></input>
                                 </label></div>
            </div>
    
    
             <button class="button button-block button-dark" ng-click="calculate()">Calculate</button>
        </div>
        <a class="item item-icon-left">
            Corrected QT
            <span class="badge badge-{{smartColor}}">{{qtc}} sec</span>
        </a>

        <button class="button button-block button-dark item-icon-right" ng-click="showInterpret = !showInterpret">
            <i class="icon ion-ios7-arrow-down"></i>
            How to interpret</button>

        <div id="interpret-div" ng-show="showInterpret">
            <a class="item item-icon-left">Normal<span class="badge badge-balanced">0.3 - 0.44 sec</span></a>
        </div>


  </ion-content>
</ion-pane>