Private
Public Access
1
0

with jquery to refresh when tasks are complete

jquery lives in basebase.html. Perhaps should live in individual pages
This commit is contained in:
Sander Roosendaal
2017-10-30 22:32:34 +01:00
parent 21be4d278b
commit 98abc68289
5 changed files with 41 additions and 9 deletions

View File

@@ -175,11 +175,11 @@ def make_plot(r,w,f1,f2,plottype,title,imagename='',plotnr=0):
if settings.DEBUG:
res = handle_makeplot.delay(f1,f2,title,
job = handle_makeplot.delay(f1,f2,title,
hrpwrdata,plotnr,
imagename)
else:
res = queue.enqueue(handle_makeplot,f1,f2,
job = queue.enqueue(handle_makeplot,f1,f2,
title,hrpwrdata,
plotnr,imagename)
@@ -195,7 +195,7 @@ def make_plot(r,w,f1,f2,plottype,title,imagename='',plotnr=0):
width=width,height=height)
i.save()
return i.id
return i.id,job.id
import c2stuff,stravastuff,sporttracksstuff,runkeeperstuff
import underarmourstuff,tpstuff