quickened Ranking 2.0
This commit is contained in:
1
rowers/templates/.#multiflex.html
Normal file
1
rowers/templates/.#multiflex.html
Normal file
@@ -0,0 +1 @@
|
||||
E408191@CZ27LT9RCGN72.81156:1514927368
|
||||
@@ -5,6 +5,25 @@
|
||||
{% block title %}Workouts{% endblock %}
|
||||
{% block scripts %}
|
||||
{% include "monitorjobs.html" %}
|
||||
<script type='text/javascript'
|
||||
src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'>
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(function($) {
|
||||
console.log('loading script');
|
||||
console.log('{{ recalc }}');
|
||||
if ('{{ recalc }}' == 'True') {
|
||||
theurl = '/rowers/ajax_agegroup/{{ age }}/{{ weightcategory }}/{{ sex }}/{{ user.id }}'
|
||||
console.log(theurl);
|
||||
$.getJSON(window.location.protocol + '//'+window.location.host + theurl, function(json) {
|
||||
location.reload();
|
||||
});
|
||||
} else {
|
||||
console.log('No need to reload');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
Reference in New Issue
Block a user