add TP to export logos
This commit is contained in:
BIN
logos/tpchecked.png
Normal file
BIN
logos/tpchecked.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
BIN
logos/tpgray.png
Normal file
BIN
logos/tpgray.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
logos/tpicon.png
Normal file
BIN
logos/tpicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
BIN
logos/tpicon.xcf
Normal file
BIN
logos/tpicon.xcf
Normal file
Binary file not shown.
@@ -128,6 +128,24 @@
|
||||
<img src="/static/img/uachecked.png" alt="Underarmour icon" width="60" height="60"></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if workout.uploadedtotp == 0 %}
|
||||
{% if user.rower.tptoken == None or user.rower.tptoken == '' %}
|
||||
<div class="grid_1">
|
||||
<a href="/rowers/me/tpauthorize">
|
||||
<img src="/static/img/tpgray.png" alt="TrainingPeaks icon" width="60" height="60"></a>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="grid_1">
|
||||
<a href="/rowers/workout/{{ workout.id }}/tpuploadw"><img src="/static/img/tpicon.png" alt="Tp icon" width="60" height="60"></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="grid_1">
|
||||
<a href="https://app.sandbox.trainingpeaks.com">
|
||||
<img src="/static/img/tpchecked.png" alt="TrainingPeaks icon" width="60" height="60"></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
BIN
static/img/tpchecked.png
Normal file
BIN
static/img/tpchecked.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
BIN
static/img/tpgray.png
Normal file
BIN
static/img/tpgray.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
static/img/tpicon.png
Normal file
BIN
static/img/tpicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
Reference in New Issue
Block a user