Skip to content
Snippets Groups Projects
Commit 67f323b3 authored by maeries's avatar maeries
Browse files

added analytics script

parent fe894597
No related branches found
No related tags found
No related merge requests found
Pipeline #277853 passed
<script defer data-domain="fselo.get-racing.de" src="https://analytics.get-racing.de/js/script.js"></script>
\ No newline at end of file
......@@ -65,6 +65,8 @@ class EloSystem:
self.LINK_COLOR_HOVER = "#cc3700"
else:
raise
with open("header-snippet.html") as header_snippet:
self.header_snippet = header_snippet.read()
def load_competition_meta_data(self):
if self.competition_type == "combustion":
......@@ -257,6 +259,7 @@ class EloSystem:
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Formula Student {self.competition_type} Elo Rankings</title>
{self.header_snippet}
<style>
body {{
display: flex;
......@@ -510,6 +513,7 @@ class EloSystem:
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{team_name} - Elo Profile</title>
{self.header_snippet}
<style>
body {{
font-family: Arial, sans-serif;
......
......@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Formula Student World Elo</title>
<script defer data-domain="fselo.get-racing.de" src="https://analytics.get-racing.de/js/script.js"></script>
<style>
body {
display: flex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment