Files
kabano/public/views/d.map.html
copilot-swe-agent[bot] 3159b34e70 Recomment CSS and HTML templates
Co-authored-by: LeOSW42 <673670+LeOSW42@users.noreply.github.com>
2026-01-24 18:35:07 +00:00

45 lines
1.1 KiB
HTML
Executable File

<!DOCTYPE html>
<!-- Page: map view -->
<html lang="fr">
<?php include('blocks/d.head.html'); ?>
<body>
<?php include('blocks/d.nav.html'); ?>
<!-- Map -->
<div id="mapid" style="height: 100%;"></div>
<!-- Credits panel -->
<div id="footer-credits" style="display: none;">
<i class="fa fa-times close-link" aria-hidden="true"></i>
<p><i id="map-credits"></i></p>
</div>
<!-- Legend panel -->
<div id="footer-legend" style="display: none;">
<i class="fa fa-times close-link" aria-hidden="true"></i>
<?php foreach($poi_types as $type) { ?>
<span class="legend_item"><img src="<?=$config['views_url']?>img/<?=$type[3]?>.svg" class="poi_icon"> <?=$type[1]?></span>
<?php } ?>
</div>
<?php include('blocks/d.footer.html'); ?>
<!-- Map configuration -->
<script>
var root = "<?=$config['rel_root_folder']?>";
// POI icons
window.poi_icons = {
<?php foreach($poi_types as $type) { ?>
"<?=$type[3]?>": "<?=$config['views_url']?>img/<?=$type[3]?>.svg",
<?php } ?>
"default": "<?=$config['views_url']?>img/default.svg"
};
</script>
</body>
</html>