improved zone names in SVG map
added tag around custom attributes in the description fixed SVG dimensions in HTML document
This commit is contained in:
parent
ec38f950d7
commit
fd385fd76d
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 131 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 128 KiB |
@ -7,8 +7,8 @@ function embedSvg(src, dst) {
|
||||
data = data.replace(/<svg[^>]*>[\r\n]*/g, '');
|
||||
data = data.replace(/<\/svg>[\r\n]*/g, '');
|
||||
|
||||
data = data.replace(/>\s*<desc[^>]*>/g, ' ');
|
||||
data = data.replace(/<\/desc>/g, '>');
|
||||
data = data.replace(/>\s*<desc[^>]*><attributes>/g, ' ');
|
||||
data = data.replace(/<\/attributes><\/desc>/g, '>');
|
||||
data = data.replace(/"/g, '"');
|
||||
|
||||
data = "(<any>window)['"+src.replace(/^.*[\\\/]/, '')+"'] = `" + data + "`;";
|
||||
|
@ -120,7 +120,7 @@
|
||||
<footer class="footer">
|
||||
<div class="content has-text-centered">
|
||||
<p>
|
||||
Ce simulateur est un logiciel libre sous licence <a href="https://gitea.youb.fr/youen/vhelio-simulator/raw/branch/master/AGPLv3.txt">AGPL</a>.<br/>
|
||||
Ce simulateur est un logiciel libre sous licence <a href="https://gitea.youb.fr/youen/vhelio-simulator/raw/branch/master/AGPLv3.txt">AGPL</a><br/>
|
||||
Développé par l'association <a href="https://vhelio.org/association/">« Vélo Solaire Pour Tous »</a><br/>
|
||||
<a href="https://gitea.youb.fr/youen/vhelio-simulator">Accéder au code source</a>
|
||||
</p>
|
||||
@ -135,7 +135,7 @@
|
||||
<button class="delete" aria-label="close"></button>
|
||||
</header>
|
||||
<section class="modal-card-body">
|
||||
<svg id="zones-map" width="587" height="550" version="1.0"></svg>
|
||||
<svg id="zones-map" width="595" height="564" version="1.0"></svg>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user