removed time info
This commit is contained in:
@@ -285,6 +285,8 @@ def interactive_workouttype_piechart(workouts):
|
|||||||
data['color'] = ['lightblue']
|
data['color'] = ['lightblue']
|
||||||
data['totaltime'] = pd.Series([pretty_timedelta(v) for v in data['value']])
|
data['totaltime'] = pd.Series([pretty_timedelta(v) for v in data['value']])
|
||||||
|
|
||||||
|
#print(data)
|
||||||
|
|
||||||
p = figure(plot_height=350, title="Types", toolbar_location=None,
|
p = figure(plot_height=350, title="Types", toolbar_location=None,
|
||||||
tools="hover,save", tooltips="@type: @totaltime", x_range=(-0.5, 1.0))
|
tools="hover,save", tooltips="@type: @totaltime", x_range=(-0.5, 1.0))
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<ul class="main-content">
|
<ul class="main-content">
|
||||||
<li class="grid_2">
|
<li class="grid_2">
|
||||||
<h1>History for {{ rower.user.first_name }} {{ rower.user.last_name }} from {{ startdate|date:"c" }} to {{ enddate|date:"c"}}</h1>
|
<h1>History for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
|
||||||
</li>
|
</li>
|
||||||
<li class="grid_2">
|
<li class="grid_2">
|
||||||
<a href="/rowers/history/?enddate={{ today|date:"Y-m-d" }}&startdate={{ lastseven|date:"Y-m-d" }}&workouttype={{ workouttype }}">Past 7 days</a>
|
<a href="/rowers/history/?enddate={{ today|date:"Y-m-d" }}&startdate={{ lastseven|date:"Y-m-d" }}&workouttype={{ workouttype }}">Past 7 days</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user