mirror of
https://github.com/bszczuka/steel-training.git
synced 2025-12-21 13:23:02 +01:00
41 lines
2.4 KiB
HTML
41 lines
2.4 KiB
HTML
<div class="mb-6 max-w-2xl mx-auto mt-10">
|
|
<h2>{%trans%}Select the type of calculation based on the limited wall length or the limited distance of the shooting box from the wall{%endtrans%}</h2>
|
|
<div class="flex gap-6 place-content-center">
|
|
<label for="floor"
|
|
class="cursor-pointer border-2 border-transparent rounded-lg overflow-hidden transition-all hover:border-blue-400">
|
|
<img src="{{ url_for('static', filename='images/floor.webp') }}" alt="{%trans%}Distance from wall{%endtrans%}"
|
|
class="w-40 h-auto">
|
|
<input type="radio" id="floor" name="distance_type" value="floor" required checked>
|
|
</label>
|
|
{% if current_url != url_for('custom') %}
|
|
<label for="wall"
|
|
class="cursor-pointer border-2 border-transparent rounded-lg overflow-hidden transition-all hover:border-blue-400">
|
|
<img src="{{ url_for('static', filename='images/wall.webp') }}" alt="{%trans%}Wall length{%endtrans%}"
|
|
class="w-40 h-auto">
|
|
<input type="radio" id="wall" name="distance_type" value="wall" required>
|
|
</label>
|
|
{% endif %}
|
|
|
|
</div>
|
|
<div class="mb-6 max-w-2xl mx-auto mt-4">
|
|
<h2>{%trans%}Distance{%endtrans%} [cm]</h2>
|
|
<input type="number" id="distance" name="distance" min="100" max="700" class="w-full p-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-blue-400" required>
|
|
</div>
|
|
</div>
|
|
<div class="mb-6 max-w-2xl mx-auto mt-10">
|
|
<h2>{%trans%}Printing format{%endtrans%}</h2>
|
|
<div id="size" class="flex place-content-center">
|
|
<label for="a4"
|
|
class="cursor-pointer border-2 border-transparent rounded-lg overflow-hidden transition-all hover:border-blue-400">
|
|
<img src="{{ url_for('static', filename='images/a4.webp') }}" alt="A4 (210mm x 297mm)"
|
|
class="w-24 h-auto">
|
|
<input type="radio" id="a4" name="size" value="a4" required checked>
|
|
</label>
|
|
<label for="a3"
|
|
class="cursor-pointer border-2 border-transparent rounded-lg overflow-hidden transition-all hover:border-blue-400">
|
|
<img src="{{ url_for('static', filename='images/a3.webp') }}" alt="A3 (297mm x 420mm)"
|
|
class="w-24 h-auto">
|
|
<input type="radio" id="a3" name="size" value="a3" required>
|
|
</label>
|
|
</div>
|
|
</div> |