first non working attemt with Chart.js
This commit is contained in:
@@ -202,10 +202,8 @@ def workout_video_create_view(request,id=0):
|
||||
if hascoordinates:
|
||||
mapscript, mapdiv = leaflet_chart_video(data['latitude'],data['longitude'],
|
||||
w.name)
|
||||
js_res = ''
|
||||
css_res = ''
|
||||
else:
|
||||
mapscript, mapdiv,js_res,css_res = interactive_chart(w.id,promember=1,timepos=78)
|
||||
mapscript, mapdiv = interactive_chart_video(w.id)
|
||||
|
||||
breadcrumbs = [
|
||||
{
|
||||
@@ -225,10 +223,7 @@ def workout_video_create_view(request,id=0):
|
||||
|
||||
analysis = {'delay':delay}
|
||||
|
||||
if hascoordinates:
|
||||
template = 'embedded_video.html'
|
||||
else:
|
||||
template = 'embedded_video_ote.html'
|
||||
template = 'embedded_video.html'
|
||||
|
||||
return render(request,
|
||||
template,
|
||||
@@ -246,8 +241,6 @@ def workout_video_create_view(request,id=0):
|
||||
'maxtime':maxtime,
|
||||
'metrics':metrics,
|
||||
'locked': False,
|
||||
'js_res': js_res,
|
||||
'css_res': css_res
|
||||
})
|
||||
|
||||
# Show the EMpower Oarlock generated Stroke Profile
|
||||
|
||||
Reference in New Issue
Block a user