Private
Public Access
1
0

Showing Power band values in Rower edit

This commit is contained in:
Sander Roosendaal
2017-01-24 15:36:17 +01:00
parent 50b38641c8
commit 41f34dd1a5
3 changed files with 59 additions and 4 deletions

View File

@@ -23,7 +23,30 @@
</div>
<div class="grid_6 omega">
<p>
<h2>Functional Threshold Power</h2>
<h2>Power Bands</h2>
<table width="70%" class="listtable">
<thead>
<tr>
<th>Band</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>UT2 Power</td><td>{{ rower.pw_ut2 }} Watt</td>
</tr><tr>
<td>UT1 Power</td><td>{{ rower.pw_ut1 }} Watt</td>
</tr><tr>
<td>AT Power</td><td>{{ rower.pw_at }} Watt</td>
</tr><tr>
<td>TR Power</td><td>{{ rower.pw_tr }} Watt</td>
</tr><tr>
<td>AN Power</td><td>{{ rower.pw_an }} Watt</td>
</tr>
</table>
</p>
<p>
<h2>Functional Threshold Power</h2>
<form enctype="multipart/form-data" action="" method="post">
<table>
{{ powerform.as_table }}
@@ -63,9 +86,12 @@
<div class="grid_6 prefix_6 alpha">
<p>
<h2>Favorite Charts</h2>
<div class="grid_2 suffix_4 alpha">
<a class="button gray small" href="/rowers/me/favoritecharts">Manage Favorite Charts</a>
<a class="button gray small" href="/rowers/me/favoritecharts">Manage Favorite Charts</a>
</div>
</p>
</div>