Commit 7649945cdb6b4a6c7bf56151caf0308acf4d9243
1 parent
3fd70d27
Exists in
master
and in
1 other branch
- added crown image to 1st place in /results.
Showing
2 changed files
with
6 additions
and
1 deletions
Show diff stats
4.97 KB
templates/results.html
@@ -76,7 +76,12 @@ | @@ -76,7 +76,12 @@ | ||
76 | <tr> | 76 | <tr> |
77 | <td>${loop.index+1}</td> | 77 | <td>${loop.index+1}</td> |
78 | <td>${r[0]}</td> <!-- numero --> | 78 | <td>${r[0]}</td> <!-- numero --> |
79 | - <td>${r[1]}</td> <!-- nome --> | 79 | + <td> |
80 | + % if loop.index == 0: | ||
81 | + <img src="\crown.jpg" /> | ||
82 | + %endif | ||
83 | + ${r[1]} | ||
84 | + </td> <!-- nome --> | ||
80 | <td> <!-- nota --> | 85 | <td> <!-- nota --> |
81 | <div class="progress"> | 86 | <div class="progress"> |
82 | % if r[2] < 10: | 87 | % if r[2] < 10: |