Added a waiting message to workflow.html
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
|
|
||||||
|
|
||||||
<h2>Flex Charts</h2>
|
<h2>Flex Charts</h2>
|
||||||
<p>Click on the thumbnails to view the full chart.</p>
|
|
||||||
<div id="id_thumbscripts">
|
<div id="id_thumbscripts">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="id_thumbs">
|
<div id="id_thumbs">
|
||||||
|
<div id="id_sitready"><blockquote>
|
||||||
|
<p>Sit Ready! We're counting strokes and loading data.</p>
|
||||||
|
</blockquote>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -35,6 +35,9 @@
|
|||||||
}
|
}
|
||||||
$.getJSON(window.location.protocol + '//'+window.location.host + '/rowers/workout/{{ workout.id }}/get-thumbnails', function(json) {
|
$.getJSON(window.location.protocol + '//'+window.location.host + '/rowers/workout/{{ workout.id }}/get-thumbnails', function(json) {
|
||||||
var counter=0;
|
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) {
|
$.each(json, function(index, element) {
|
||||||
console.log('adding thumbnail');
|
console.log('adding thumbnail');
|
||||||
var counter2 = counter+1;
|
var counter2 = counter+1;
|
||||||
|
|||||||
Reference in New Issue
Block a user