UNPKG

@eotl/core

Version:

Assortment of data structures, Vue.js components, and utilities across EOTL apps and sites.

45 lines (36 loc) 1.34 kB
<!DOCTYPE html> <html lang="en" class="light-mode"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>EOTL Places</title> <link rel="icon" href="./favicon.ico"> <link rel="stylesheet" media="screen" href="./css/eotl.css"> </head> <body> <div class="container-fluid py-4"> <h1>EOTL Places</h1> <div id="places" class="border border-light"></div> </div> <script src="./eotl.places.js"></script> <link rel="stylesheet" type="text/css" href="./eotl.places.css"> <script> document.addEventListener('DOMContentLoaded', function () { if (typeof window.eotl.initEotlPlaces === 'function') { const eotlPlaces = { element: "#places", title: "Places", url_api: "/suppliers.json", url_place: "https://inventory.eotl.supply/api/search/?q=", map_show: true, map_zoom: "auto", list_show: true, }; window.eotl.initEotlPlaces(eotlPlaces); } else { console.error('initEotlPlaces function not found. Make sure the script is loaded correctly.'); } }); </script> </body> </html>