Skip to content

Commit

Permalink
Fix up POGGIO team prize menu placement
Browse files Browse the repository at this point in the history
Also fix up menu headings
  • Loading branch information
obscurerichard committed Dec 30, 2024
1 parent 93009c6 commit 244ee0b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
13 changes: 9 additions & 4 deletions freezing/web/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@
</a>
<ul class="dropdown-menu pointless-menu"
aria-labelledby="pointlessDropdown">
<li>
Active Pointless Prizes
<li>
<a class="dropdown-item" href="/pointless/hashtag/bingo">Bicycle Bingo</a>
</li>
Expand All @@ -204,14 +206,17 @@
<li>
<a class="dropdown-item" href="/pointless/generic/poggio-indiv">POGGIO (Individual)</a>
</li>
<li>
<a class="dropdown-item" href="/pointless/generic/poggio-team">POGGIO (Team)</a>
</li>
<li>
<a class="dropdown-item" href="/pointless/hashtag/publicartfinder">Public Art Finder</a>
</li>
<li>
<hr class="dropdown-divider">
</li>
<li>
Completely Pointless - unsponsored but fun!
Completely Pointless<br>
</li>
<li>
<a class="dropdown-item" href="/pointless/hashtag/biathlon">Biathlon</a>
Expand Down Expand Up @@ -287,9 +292,6 @@
<li>
<a class="dropdown-item" href="/pointless/hashtag/phoneride">Phone Ride</a>
</li>
<li>
<a class="dropdown-item" href="/pointless/generic/poggio-team">POGGIO (Team)</a>
</li>
<li>
<a class="dropdown-item" href="/pointless/hashtag/pizza">Pizzaneuring</a>
</li>
Expand Down Expand Up @@ -342,6 +344,9 @@
<li>
<hr class="dropdown-divider">
</li>
<li>
Children are our future
</li>
<li>
<a class="dropdown-item" href="/pointless/kidmiles">Kidical by Mileage</a>
</li>
Expand Down
2 changes: 0 additions & 2 deletions freezing/web/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,4 @@ def rides_data():
start_date=r.start_date,
)
)

# rides = meta.session_factory().query(Ride).all()
return bt_jsonify(results)
7 changes: 5 additions & 2 deletions leaderboards/poggio-team.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
title: POGGIO (Team)
description: "Number of team rides of the <a href=\"https://www.strava.com/segments/650024\">POGGIO</a> segment."
url: http://bikearlingtonforum.com/showthread.php?15654-Pointless-Prize-POGGIO-Simulations
description: |
Number of team rides of the
<a href="https://www.strava.com/segments/650024">POGGIO</a>
segment.
url: https://www.bikearlingtonforum.com/forums/topic/pointless-prize-2025-poggio/ # yamllint disable-line
fields:
- name: id
visible: false
Expand Down

0 comments on commit 244ee0b

Please sign in to comment.