mirror of
https://github.com/bszczuka/steel-training.git
synced 2025-12-21 13:23:02 +01:00
Init google analytics
This commit is contained in:
@@ -25,6 +25,17 @@
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5M29D7J2B6"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-5M29D7J2B6');
|
||||
</script>
|
||||
|
||||
<body class="bg-gray-100 font-sans">
|
||||
<div class="max-w-4xl mx-auto p-6 bg-white shadow-md rounded-lg mt-10">
|
||||
<h1 class="text-2xl font-bold mb-6 text-center text-gray-700">Steel Training</h1>
|
||||
|
||||
@@ -103,7 +103,11 @@
|
||||
{% if i==0 %}
|
||||
<div class="mounting-info">{%trans%}ZERO point{%endtrans%} (El Presidente)</div>
|
||||
{% else %}
|
||||
<div class="mounting-info">{{ i * gap|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%} (El Presidente)</div>
|
||||
<div class="mounting-info">{{ i * gap|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%}
|
||||
{% if i > 1%}
|
||||
{%trans%}or{%endtrans%} {{gap|round(1,'ceil')}}cm {%trans%}from previous marker{%endtrans%}
|
||||
{% endif %}
|
||||
(El Presidente)</div>
|
||||
{% endif %}
|
||||
<div class="mounting-point"></div>
|
||||
</div>
|
||||
|
||||
@@ -123,7 +123,11 @@
|
||||
{% if i==0 %}
|
||||
<div class="mounting-info">{%trans%}ZERO point{%endtrans%} (Shootoff)</div>
|
||||
{% else %}
|
||||
<div class="mounting-info">{{ i * gap|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%} (Shootoff)</div>
|
||||
<div class="mounting-info">{{ (i * gap)|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%}
|
||||
{% if i > 1%}
|
||||
{%trans%}or{%endtrans%} {{gap|round(1,'ceil')}}cm {%trans%}from previous marker{%endtrans%}
|
||||
{% endif %}
|
||||
(Shootoff)</div>
|
||||
{% endif %}
|
||||
<div class="mounting-point"></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user