Sha256: ff6f004eb37da3fc6838f8dd0c5fcac5f9503402948b1c8e6e6e5073e961b4ea
Contents?: true
Size: 1.41 KB
Versions: 23
Compression:
Stored size: 1.41 KB
Contents
<div class="row"> <div class="btn-group-wrap"> <div class="btn-group" data-toggle="buttons"> <label class="btn btn-default active interval"> <input type="radio" value="7" checked="">7 Day </label> <label class="btn btn-default interval"> <input type="radio" value="28">28 day </label> </div> </div> <nav> <ul class="pager"> <li><a class="offset" id="previous" data-value="1" href="#"><span aria-hidden="true">←</span> Previous Period</a></li> <li><a class="offset" id="next" data-value="-1" href="#">Next Period <span aria-hidden="true">→</span></a></li> </ul> </nav> <div class="text-center" id="date-range"> <strong>Date</strong> </div> </div> <% if phq_features? %> <div id="phq"></div> <% end %> <div id="mood"></div> <div id="emotions"></div> <script> // starting graph parameters assume 7 day view ending in today var activationDate = activation("<%= patient.created_at %>") var graphParameters = new Graph( <%= sanitize(MoodAndEmotionVisualizationService.new(patient).mood_rating_daily_averages.to_json) %>, <%= sanitize(MoodAndEmotionVisualizationService.new(patient).emotional_rating_daily_averages.to_json) %>, <%= phq_features? ? sanitize(patient.phq_scores.to_json) : "null" %>, $("div#viz-container") ); sc.drawGraphs(graphParameters); sc.filterEmotionMoodViz(graphParameters); </script>
Version data entries
23 entries across 23 versions & 1 rubygems