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"> <div class="grid_3 alpha">
<h4>{{ forloop.counter }}</h4> <big>{{ forloop.counter }}</big>
<div class="grid_3 tooltip"> <div class="grid_3 tooltip">
<a href="/rowers/workout/{{ workout.id }}/flexchart?favoritechart={{ forloop.counter |add:"-1" }}"> <a href="/rowers/workout/{{ workout.id }}/flexchart?favoritechart={{ forloop.counter |add:"-1" }}">
{{ chart.div | safe }} {{ chart.div | safe }}
@@ -9,3 +11,4 @@
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
{% endif %}

View File

@@ -1,3 +1,6 @@
<div class="grid_2 alpha">
<h2>Navigation</h2>
</div>
<div class="grid_2 alpha"> <div class="grid_2 alpha">
<p> <p>
<a class="button gray small" href="/rowers/workout/{{ workout.id }}/edit">Edit Workout</a> <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 %} {% for graph in statcharts %}
<div id="thumb-container" class="grid_3 alpha"> <div id="thumb-container" class="grid_3 alpha">
<a href="/rowers/graph/{{ graph.id }}/"> <a href="/rowers/graph/{{ graph.id }}/">
@@ -6,3 +8,4 @@
alt="{{ graph.filename }}" width="180" height="150"></a> alt="{{ graph.filename }}" width="180" height="150"></a>
</div> </div>
{% endfor %} {% endfor %}
{% endif %}

View File

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

View File

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

View File

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

View File

@@ -62,11 +62,28 @@ h1 {
font-weight: normal; font-weight: normal;
/* padding-top: 20px; */ /* padding-top: 20px; */
text-align: left; text-align: left;
font-size: 2em;
} }
h2 { h2 {
/* padding-top: 20px; */ /* padding-top: 20px; */
font-weight: normal;
text-align: left; text-align: left;
font-size: 1.5em;
}
h3 {
/* padding-top: 20px; */
font-weight: normal;
text-align: left;
font-size: 1em;
}
h3 {
/* padding-top: 20px; */
font-weight: normal;
text-align: left;
font-size: 1em;
} }
p { p {