Private
Public Access
1
0

Added a waiting message to workflow.html

This commit is contained in:
Sander Roosendaal
2017-11-05 09:34:29 +01:00
parent cff3cfb50b
commit f0e345c689
2 changed files with 7 additions and 2 deletions

View File

@@ -1,10 +1,12 @@
<h2>Flex Charts</h2>
<p>Click on the thumbnails to view the full chart.</p>
<div id="id_thumbscripts">
</div>
<div id="id_thumbs">
<div id="id_sitready"><blockquote>
<p>Sit Ready! We're counting strokes and loading data.</p>
</blockquote>
</div>
</div>

View File

@@ -35,6 +35,9 @@
}
$.getJSON(window.location.protocol + '//'+window.location.host + '/rowers/workout/{{ workout.id }}/get-thumbnails', function(json) {
var counter=0;
$("#id_sitready").remove();
$("#id_thumbs").append(
"<p>Click on the thumbnails to view the full chart.</p>");
$.each(json, function(index, element) {
console.log('adding thumbnail');
var counter2 = counter+1;