Private
Public Access
1
0

quickened Ranking 2.0

This commit is contained in:
Sander Roosendaal
2018-01-05 16:16:11 +01:00
parent 545d8e4906
commit df7f300d87
6 changed files with 129 additions and 40 deletions

View File

@@ -0,0 +1 @@
E408191@CZ27LT9RCGN72.81156:1514927368

View File

@@ -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 %}