better layout
This commit is contained in:
@@ -223,7 +223,7 @@ def interactive_hr_piechart(df,rower,title):
|
|||||||
colors = ['gray','yellow','lime','blue','purple','red']
|
colors = ['gray','yellow','lime','blue','purple','red']
|
||||||
|
|
||||||
|
|
||||||
size=220
|
size=350
|
||||||
TOOLS = 'save'
|
TOOLS = 'save'
|
||||||
|
|
||||||
z = figure(title="HR "+title, x_range=(-1,1), y_range=(-1,1), width=size, height=size,
|
z = figure(title="HR "+title, x_range=(-1,1), y_range=(-1,1), width=size, height=size,
|
||||||
@@ -236,7 +236,8 @@ def interactive_hr_piechart(df,rower,title):
|
|||||||
|
|
||||||
|
|
||||||
z.toolbar_location = 'right'
|
z.toolbar_location = 'right'
|
||||||
z.legend.visible = False
|
z.legend.location = 'top_right'
|
||||||
|
#z.legend.visible = False
|
||||||
z.axis.visible = False
|
z.axis.visible = False
|
||||||
z.xgrid.grid_line_color = None
|
z.xgrid.grid_line_color = None
|
||||||
z.ygrid.grid_line_color = None
|
z.ygrid.grid_line_color = None
|
||||||
|
|||||||
@@ -8,7 +8,8 @@
|
|||||||
<h1>History</h1>
|
<h1>History</h1>
|
||||||
<ul class="main-content">
|
<ul class="main-content">
|
||||||
<script async="true" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
|
<script async="true" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
|
||||||
<li class="grid_4">
|
<li class="grid_2">
|
||||||
|
<p>
|
||||||
<form enctype="multipart/form-data" method="post">
|
<form enctype="multipart/form-data" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<table>
|
<table>
|
||||||
@@ -16,8 +17,7 @@
|
|||||||
</table>
|
</table>
|
||||||
<input type="submit" value="Submit">
|
<input type="submit" value="Submit">
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</p>
|
||||||
<li class="grid_2">
|
|
||||||
<h2>All workouts</h2>
|
<h2>All workouts</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -51,6 +51,7 @@
|
|||||||
<li class="grid_2">
|
<li class="grid_2">
|
||||||
<div>{{ totalscript|safe }}{{ totaldiv|safe }}</div>
|
<div>{{ totalscript|safe }}{{ totaldiv|safe }}</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{% for ddict in typedicts %}
|
{% for ddict in typedicts %}
|
||||||
<li class="grid_1">
|
<li class="grid_1">
|
||||||
<h2>{{ ddict|lookup:"wtype"}}</h2>
|
<h2>{{ ddict|lookup:"wtype"}}</h2>
|
||||||
|
|||||||
@@ -90,6 +90,11 @@
|
|||||||
<i class="fas fa-bell fa-fw"></i> Alerts
|
<i class="fas fa-bell fa-fw"></i> Alerts
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="/rowers/history/">
|
||||||
|
<i class="fas fa-history fa-fw"></i> History
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Reference in New Issue
Block a user