fine tuning headers
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<h2>Summary</h2>
|
||||
<p>
|
||||
<pre>
|
||||
{{ workout.summary }}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user