Skip to content
Snippets Groups Projects
Commit 2396e147 authored by Marius Heidenreich's avatar Marius Heidenreich
Browse files

added img alt and fixed divs

parent cf7d80ba
No related branches found
No related tags found
No related merge requests found
Pipeline #280423 passed
......@@ -242,7 +242,7 @@ class EloSystem:
"""Generate static HTML website with Elo ratings and visualizations"""
# If num_processes not specified, use number of CPU cores
num_processes = int(mp.cpu_count())
num_processes = int(mp.cpu_count()/2)
print(f"staring computation on {num_processes} cores")
pool = mp.Pool(processes=num_processes)
......@@ -255,6 +255,8 @@ class EloSystem:
pool.map(self.create_team_page, self.teams)
pool.close()
self.create_visualizations()
print(f"Website generated in {self.output_directory}")
......
......@@ -152,7 +152,7 @@
<a href="https://www.get-racing.de" target="_blank">
<div class="by">
<div><h3>by</h3></div>
<div><img src="GET_racing_schwarz.svg" width="200em"></div>
<div><img src="GET_racing_schwarz.svg" width="200em" alt="Logo of the GET racing Formula Student Team"></div>
</div>
</a>
</div>
......
......@@ -259,13 +259,13 @@ def get_world_ranking_html(self, sorted_teams):
<div style="margin-bottom: 12px; margin-top: 16px; text-align: center">sponsored by:</div>
<div class="sponsoring-flex">
<div class="sponsor">
<a href="https://murtfeldt.de" target="_blank"><img src="../murtfeldt.png"></a>
<a href="https://murtfeldt.de" target="_blank"><img src="../murtfeldt.png" alt="Logo of Murtfeldt Kunststoffe"></a>
</div>
<div class="sponsor">
<a href="https://www.kordel.de" target="_blank"><img src="../kordel.png"></a>
<a href="https://www.kordel.de" target="_blank"><img src="../kordel.png" alt="Logo of Kordel"></a>
</div>
<div class="sponsor">
<a href="https://www.vulcanus-stahl.de/" target="_blank"><img src="../vulcanus.png"></a>
<a href="https://www.vulcanus-stahl.de/" target="_blank"><img src="../vulcanus.png" alt="Logo of Vulcanus Stahl"></a>
</div>
</div>
</div>
......@@ -293,7 +293,7 @@ def get_world_ranking_html(self, sorted_teams):
html_content += f"""
</table>
<div>
</div>
<div class="chart-container">
<img src="images/top_teams_elo.{self.IMAGE_FORMAT}" alt="Top Teams Elo Chart">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment