Skip to content

Commit

Permalink
do some preparation work for the badges section in achievements
Browse files Browse the repository at this point in the history
  • Loading branch information
joschobart committed Aug 30, 2024
1 parent 978d554 commit 6746fbe
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fun_with_flags/static/unicorn_gray.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions fun_with_flags/templates/achievements/achievements.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,59 @@ <h2>{% block title %}{% trans %}Achievements{% endtrans %}{% endblock %}</h2>

{% block content %}

<!-- <h3>{% trans %}Fun with Flags Badges{% endtrans %}</h3>
<table border="1px" width="100%">
<tr>
<td style="text-align:left" width="110px">
{% if session['unicorn'] %}
<img src="{{ url_for('static', filename='c32e2826-eb34-4429-92e9-faffbdfe9eeb.jpg') }}" title="The Club" alt="The Club" height="111px">
{% else %}
<img src="{{ url_for('static', filename='unicorn_gray.jpg') }}" title="The Club" alt="The Club" height="111px">
{% endif %}
</td>
<td style="text-align:left" width="110px">
<b>The Club:</b>
You get this badge for being in the
unicorn club. (Very rare: 8.4%)
</td>
<td style="text-align:left" width="20px">
</td>
<td style="text-align:left" width="110px">
{% if session['unicorn'] %}
<img src="{{ url_for('static', filename='c32e2826-eb34-4429-92e9-faffbdfe9eeb.jpg') }}" title="The Club" alt="The Club" height="111px">
{% else %}
<img src="{{ url_for('static', filename='unicorn_gray.jpg') }}" title="The Club" alt="The Club" height="111px">
{% endif %}
</td>
<td style="text-align:left" width="110px">
<b>The Club:</b>
You get this badge for being in the
unicorn club. (Very rare: 8.4%)
</td>
<td style="text-align:left" width="20px">
</td>
<td style="text-align:left" width="110px">
{% if session['unicorn'] %}
<img src="{{ url_for('static', filename='c32e2826-eb34-4429-92e9-faffbdfe9eeb.jpg') }}" title="The Club" alt="The Club" height="111px">
{% else %}
<img src="{{ url_for('static', filename='unicorn_gray.jpg') }}" title="The Club" alt="The Club" height="111px">
{% endif %}
</td>
<td style="text-align:left" width="110px">
<b>The Club:</b>
You get this badge for being in the
unicorn club. (Very rare: 8.4%)
</td>
<td style="text-align:left" width="20px">
</td>
</tr>
</table>
<br> -->

<h3>{% trans %}Fun with Flags Score{% endtrans %}</h3>
<table border="1px" width="100%">
<tr>
Expand Down

0 comments on commit 6746fbe

Please sign in to comment.