diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..1ad1dee --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "idf.pythonInstallPath": "/usr/bin/python3" +} \ No newline at end of file diff --git a/TV_APP_V2/camera_settings.json b/TV_APP_V2/camera_settings.json deleted file mode 100644 index 77f9c86..0000000 --- a/TV_APP_V2/camera_settings.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "camera_titles": { - "1": "Camera 1", - "2": "Camera 2", - "3": "Camera 3", - "4": "Camera 4", - "5": "Camera 5", - "6": "Camera 6" - }, - "display_options": { - "show_titles": true, - "title_size": 0.8 - } -} \ No newline at end of file diff --git a/TV_APP_V2/templates/league_results_display.html b/TV_APP_V2/templates/league_results_display.html deleted file mode 100644 index 3c9cda2..0000000 --- a/TV_APP_V2/templates/league_results_display.html +++ /dev/null @@ -1,1112 +0,0 @@ - - -
- -
- | Rank | -Participant | -Individual Tournament Scores | -
- {% if league.league_finished %}
- Final Score (Best 5) - {% else %} - Current (Best 5) - {% endif %} - |
- {% if not league.league_finished %}
- Live T{{ league.current_tournament }} |
- {% endif %}
- |||||
|---|---|---|---|---|---|---|---|---|---|
| T1 | -T2 | -T3 | -T4 | -T5 | -T6 | -||||
| - {{ participant.rank }} - {% if participant.rank == 1 %}🏆 - {% elif participant.rank == 2 %}🥈 - {% elif participant.rank == 3 %}🥉 - {% endif %} - | -
- {{ participant.name }}
- {{ participant.id }}
- |
-
-
- {% for tournament_num in range(1, 7) %}
- - {% set found_result = false %} - {% for result in participant.tournament_results %} - {% if result.tournament == tournament_num %} - {% set found_result = true %} - {% if result.get('joker') or not result.participated %} - 🃏 - {% else %} - {% set all_scores = [] %} - {% for r in participant.tournament_results if r.participated %} - {% set _ = all_scores.append(r.score) %} - {% endfor %} - {% set sorted_scores = all_scores|sort(reverse=true) %} - {% set excluded_score = sorted_scores[-1] if sorted_scores|length > 5 else none %} - - {% if all_scores|length > 5 and result.score == excluded_score %} - {{ result.score }} - {% else %} - {{ result.score }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% if not found_result %} - - - {% endif %} - | - {% endfor %} - -- {% if league.league_finished %} - {{ participant.final_score }} - {% else %} - {{ participant.current_total }} - {% endif %} - | - - {% if not league.league_finished %} -- {% if participant.current_tournament_participating %} - {{ participant.current_tournament_score }} - {% else %} - - - {% endif %} - | - {% endif %} -|||||