Private
Public Access
1
0

fine tuning headers

This commit is contained in:
Sander Roosendaal
2017-10-13 14:30:16 +02:00
parent 5ab1152825
commit 80cdd24913
8 changed files with 40 additions and 6 deletions

View File

@@ -1,6 +1,8 @@
{% for chart in charts %}
{% if charts %}
<h2>Flex Charts</h2>
{% for chart in charts %}
<div class="grid_3 alpha">
<h4>{{ forloop.counter }}</h4>
<big>{{ forloop.counter }}</big>
<div class="grid_3 tooltip">
<a href="/rowers/workout/{{ workout.id }}/flexchart?favoritechart={{ forloop.counter |add:"-1" }}">
{{ chart.div | safe }}
@@ -9,3 +11,4 @@
</div>
</div>
{% endfor %}
{% endif %}

View File

@@ -1,3 +1,6 @@
<div class="grid_2 alpha">
<h2>Navigation</h2>
</div>
<div class="grid_2 alpha">
<p>
<a class="button gray small" href="/rowers/workout/{{ workout.id }}/edit">Edit Workout</a>

View File

@@ -1,3 +1,5 @@
{% if statcharts %}
<h2>Static Charts</h2>
{% for graph in statcharts %}
<div id="thumb-container" class="grid_3 alpha">
<a href="/rowers/graph/{{ graph.id }}/">
@@ -6,3 +8,4 @@
alt="{{ graph.filename }}" width="180" height="150"></a>
</div>
{% endfor %}
{% endif %}

View File

@@ -1,3 +1,6 @@
<div class="grid_2 alpha">
<h2>Create Charts</h2>
</div>
<div class="grid_2 alpha">
<p>
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/addtimeplot">Add Time Plot</a>

View File

@@ -1,3 +1,4 @@
<h2>Summary</h2>
<p>
<pre>
{{ workout.summary }}

View File

@@ -33,8 +33,11 @@
{% block left_panel %}
{% for templateName in leftTemplates %}
{% include templateName %}
{% endfor %}
{% endfor %}
{% endblock %}
<div class="grid_2 alpha">
<p>Click on the thumbnails to view the full chart</p>
</div>
</div>
<div id="middlepanel" class="grid_9">
{% block middle_panel %}

View File

@@ -5887,8 +5887,9 @@ def workout_workflow_view(request,id):
middleTemplates = ['panel_statcharts.html','flexthumbnails.html',
'panel_summary.html']
leftTemplates = [
'panel_editbuttons.html','panel_staticchart.html',
'panel_stats.html'
'panel_editbuttons.html',
'panel_stats.html',
'panel_staticchart.html',
]
return render(request,