mirror of
https://github.com/bszczuka/steel-training.git
synced 2025-12-21 13:23:02 +01:00
Add i18n, add IDPA target
This commit is contained in:
7
templates/idpa_preview_svg.html
Normal file
7
templates/idpa_preview_svg.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="preview-target w-[{{preview_target_width}}cm] h-[{{preview_target_height}}cm]" style="left: {{(preview_margin + i * preview_gap)}}cm;">
|
||||
<svg width="{{preview_target_width}}cm" height="{{preview_target_height}}cm" viewBox="0 0 460 780" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M145 0 315 0 315 150 385 150 460 225 460 650 385 780 75 780 0 650 0 225 75 150 145 150Z" fill="#CD9F61" stroke="#A97835"/>
|
||||
<path d="M145 150 315 150 385 225 385 460 320 620 150 620 85 460 85 225 145 150Z" fill="#CD9F61" stroke="#A97835"/>
|
||||
<path d="M230 192.5 A102.5 102.5 0 1 1 229.99 192.5Z" fill="#CD9F61" stroke="#A97835"/>
|
||||
</svg>
|
||||
</div>
|
||||
Reference in New Issue
Block a user