Remove dir_root use from rebootlyon2020 template

The imgdir path should be absolute or relative, depending on what the
user wants.
master
Lertsenem 2020-07-21 00:30:05 +02:00
parent e9f8bac22c
commit f4115da4d0
1 changed files with 24 additions and 24 deletions

View File

@ -904,7 +904,7 @@
</g>
{% if players[0].get_mains()[1] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[0].get_mains()[1][0]}}/chara_2_{{players[0].get_mains()[1][0]}}_{{players[0].get_mains()[1][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[0].get_mains()[1][0]}}/chara_2_{{players[0].get_mains()[1][0]}}_{{players[0].get_mains()[1][1]}}.png"
inkscape:svg-dpi="1"
id="player1_2_img"
style="display:inline;image-rendering:optimizeQuality"
@ -916,7 +916,7 @@
{% endif %}
{% if players[0].get_mains()[2] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[0].get_mains()[2][0]}}/chara_2_{{players[0].get_mains()[2][0]}}_{{players[0].get_mains()[2][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[0].get_mains()[2][0]}}/chara_2_{{players[0].get_mains()[2][0]}}_{{players[0].get_mains()[2][1]}}.png"
y="141.06041"
x="158.4778"
width="14.324512"
@ -927,7 +927,7 @@
inkscape:svg-dpi="1" />
{% endif %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[0].get_mains()[0][0]}}/chara_3_{{players[0].get_mains()[0][0]}}_{{players[0].get_mains()[0][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[0].get_mains()[0][0]}}/chara_3_{{players[0].get_mains()[0][0]}}_{{players[0].get_mains()[0][1]}}.png"
y="104.07462"
x="15.232052"
width="200"
@ -1035,7 +1035,7 @@
</g>
{% if players[1].get_mains()[2] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[1].get_mains()[2][0]}}/chara_2_{{players[1].get_mains()[2][0]}}_{{players[1].get_mains()[2][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[1].get_mains()[2][0]}}/chara_2_{{players[1].get_mains()[2][0]}}_{{players[1].get_mains()[2][1]}}.png"
id="player2_3_img"
style="display:inline;image-rendering:optimizeQuality"
preserveAspectRatio="xMidYMid"
@ -1047,7 +1047,7 @@
{% endif %}
{% if players[1].get_mains()[1] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[1].get_mains()[1][0]}}/chara_2_{{players[1].get_mains()[1][0]}}_{{players[1].get_mains()[1][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[1].get_mains()[1][0]}}/chara_2_{{players[1].get_mains()[1][0]}}_{{players[1].get_mains()[1][1]}}.png"
y="165.56485"
x="158.4778"
width="14.324511"
@ -1058,7 +1058,7 @@
inkscape:svg-dpi="1" />
{% endif %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[1].get_mains()[0][0]}}/chara_6_{{players[1].get_mains()[0][0]}}_{{players[1].get_mains()[0][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[1].get_mains()[0][0]}}/chara_6_{{players[1].get_mains()[0][0]}}_{{players[1].get_mains()[0][1]}}.png"
y="160.70035"
x="69.902924"
width="78.628876"
@ -1166,7 +1166,7 @@
</g>
{% if players[2].get_mains()[1] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[2].get_mains()[1][0]}}/chara_2_{{players[2].get_mains()[1][0]}}_{{players[2].get_mains()[1][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[2].get_mains()[1][0]}}/chara_2_{{players[2].get_mains()[1][0]}}_{{players[2].get_mains()[1][1]}}.png"
y="204.72319"
x="158.4778"
width="14.324511"
@ -1178,7 +1178,7 @@
{% endif %}
{% if players[2].get_mains()[2] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[2].get_mains()[2][0]}}/chara_2_{{players[2].get_mains()[2][0]}}_{{players[2].get_mains()[2][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[2].get_mains()[2][0]}}/chara_2_{{players[2].get_mains()[2][0]}}_{{players[2].get_mains()[2][1]}}.png"
id="player3_3_img"
style="display:inline;image-rendering:optimizeQuality"
preserveAspectRatio="xMidYMid"
@ -1189,7 +1189,7 @@
inkscape:svg-dpi="1" />
{% endif %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[2].get_mains()[0][0]}}/chara_6_{{players[2].get_mains()[0][0]}}_{{players[2].get_mains()[0][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[2].get_mains()[0][0]}}/chara_6_{{players[2].get_mains()[0][0]}}_{{players[2].get_mains()[0][1]}}.png"
y="200.77824"
x="69.902924"
width="78.628876"
@ -1297,7 +1297,7 @@
</g>
{% if players[3].get_mains()[2] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[3].get_mains()[2][0]}}/chara_2_{{players[3].get_mains()[2][0]}}_{{players[3].get_mains()[2][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[3].get_mains()[2][0]}}/chara_2_{{players[3].get_mains()[2][0]}}_{{players[3].get_mains()[2][1]}}.png"
id="player4_3_img"
style="display:inline;image-rendering:optimizeQuality"
preserveAspectRatio="xMidYMid"
@ -1309,7 +1309,7 @@
{% endif %}
{% if players[3].get_mains()[1] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[3].get_mains()[1][0]}}/chara_2_{{players[3].get_mains()[1][0]}}_{{players[3].get_mains()[1][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[3].get_mains()[1][0]}}/chara_2_{{players[3].get_mains()[1][0]}}_{{players[3].get_mains()[1][1]}}.png"
y="244.93987"
x="158.4778"
width="14.324511"
@ -1320,7 +1320,7 @@
inkscape:svg-dpi="1" />
{% endif %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[3].get_mains()[0][0]}}/chara_6_{{players[3].get_mains()[0][0]}}_{{players[3].get_mains()[0][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[3].get_mains()[0][0]}}/chara_6_{{players[3].get_mains()[0][0]}}_{{players[3].get_mains()[0][1]}}.png"
mask="url(#player4_msk)"
id="player4_img"
style="display:inline;image-rendering:optimizeQuality"
@ -1428,7 +1428,7 @@
</g>
{% if players[4].get_mains()[2] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[4].get_mains()[2][0]}}/chara_2_{{players[4].get_mains()[2][0]}}_{{players[4].get_mains()[2][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[4].get_mains()[2][0]}}/chara_2_{{players[4].get_mains()[2][0]}}_{{players[4].get_mains()[2][1]}}.png"
y="300.23517"
x="158.4778"
width="14.324511"
@ -1440,7 +1440,7 @@
{% endif %}
{% if players[4].get_mains()[1] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[4].get_mains()[1][0]}}/chara_2_{{players[4].get_mains()[1][0]}}_{{players[4].get_mains()[1][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[4].get_mains()[1][0]}}/chara_2_{{players[4].get_mains()[1][0]}}_{{players[4].get_mains()[1][1]}}.png"
id="player5a_2_img"
style="display:inline;image-rendering:optimizeQuality"
preserveAspectRatio="xMidYMid"
@ -1451,7 +1451,7 @@
inkscape:svg-dpi="1" />
{% endif %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[4].get_mains()[0][0]}}/chara_6_{{players[4].get_mains()[0][0]}}_{{players[4].get_mains()[0][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[4].get_mains()[0][0]}}/chara_6_{{players[4].get_mains()[0][0]}}_{{players[4].get_mains()[0][1]}}.png"
y="281.36505"
x="69.902924"
width="78.628876"
@ -1559,7 +1559,7 @@
</g>
{% if players[5].get_mains()[2] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[5].get_mains()[2][0]}}/chara_2_{{players[5].get_mains()[2][0]}}_{{players[5].get_mains()[2][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[5].get_mains()[2][0]}}/chara_2_{{players[5].get_mains()[2][0]}}_{{players[5].get_mains()[2][1]}}.png"
id="player5b_3_img"
style="display:inline;image-rendering:optimizeQuality"
preserveAspectRatio="xMidYMid"
@ -1571,7 +1571,7 @@
{% endif %}
{% if players[5].get_mains()[1] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[5].get_mains()[1][0]}}/chara_2_{{players[5].get_mains()[1][0]}}_{{players[5].get_mains()[1][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[5].get_mains()[1][0]}}/chara_2_{{players[5].get_mains()[1][0]}}_{{players[5].get_mains()[1][1]}}.png"
y="324.84415"
x="158.4778"
width="14.324511"
@ -1582,7 +1582,7 @@
inkscape:svg-dpi="1" />
{% endif %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[5].get_mains()[0][0]}}/chara_6_{{players[5].get_mains()[0][0]}}_{{players[5].get_mains()[0][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[5].get_mains()[0][0]}}/chara_6_{{players[5].get_mains()[0][0]}}_{{players[5].get_mains()[0][1]}}.png"
mask="url(#player5b_msk)"
id="player5b_img"
style="display:inline;image-rendering:optimizeQuality"
@ -1690,7 +1690,7 @@
</g>
{% if players[6].get_mains()[2] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[6].get_mains()[2][0]}}/chara_2_{{players[6].get_mains()[2][0]}}_{{players[6].get_mains()[2][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[6].get_mains()[2][0]}}/chara_2_{{players[6].get_mains()[2][0]}}_{{players[6].get_mains()[2][1]}}.png"
y="380.1394"
x="158.4778"
width="14.324511"
@ -1702,7 +1702,7 @@
{% endif %}
{% if players[6].get_mains()[1] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[6].get_mains()[1][0]}}/chara_2_{{players[6].get_mains()[1][0]}}_{{players[6].get_mains()[1][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[6].get_mains()[1][0]}}/chara_2_{{players[6].get_mains()[1][0]}}_{{players[6].get_mains()[1][1]}}.png"
id="player7a_2_img"
style="display:inline;image-rendering:optimizeQuality"
preserveAspectRatio="xMidYMid"
@ -1713,7 +1713,7 @@
inkscape:svg-dpi="1" />
{% endif %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[6].get_mains()[0][0]}}/chara_6_{{players[6].get_mains()[0][0]}}_{{players[6].get_mains()[0][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[6].get_mains()[0][0]}}/chara_6_{{players[6].get_mains()[0][0]}}_{{players[6].get_mains()[0][1]}}.png"
y="362.8566"
x="69.902924"
width="78.628876"
@ -1821,7 +1821,7 @@
</g>
{% if players[7].get_mains()[2] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[7].get_mains()[2][0]}}/chara_2_{{players[7].get_mains()[2][0]}}_{{players[7].get_mains()[2][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[7].get_mains()[2][0]}}/chara_2_{{players[7].get_mains()[2][0]}}_{{players[7].get_mains()[2][1]}}.png"
id="player7b_3_img"
style="display:inline;image-rendering:optimizeQuality"
preserveAspectRatio="xMidYMid"
@ -1833,7 +1833,7 @@
{% endif %}
{% if players[7].get_mains()[1] %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[7].get_mains()[1][0]}}/chara_2_{{players[7].get_mains()[1][0]}}_{{players[7].get_mains()[1][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[7].get_mains()[1][0]}}/chara_2_{{players[7].get_mains()[1][0]}}_{{players[7].get_mains()[1][1]}}.png"
y="405.8067"
x="158.4778"
width="14.324511"
@ -1844,7 +1844,7 @@
inkscape:svg-dpi="1" />
{% endif %}
<image
xlink:href="{{dir_root}}/{{dir_res_ssbu}}/{{players[7].get_mains()[0][0]}}/chara_6_{{players[7].get_mains()[0][0]}}_{{players[7].get_mains()[0][1]}}.png"
xlink:href="{{dir_res_ssbu}}/{{players[7].get_mains()[0][0]}}/chara_6_{{players[7].get_mains()[0][0]}}_{{players[7].get_mains()[0][1]}}.png"
mask="url(#player7b_msk)"
id="player7b_img"
style="display:inline;image-rendering:optimizeQuality"

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB