You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.7 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <?php include "conf.php"; /* load a local configuration */ ?>
  2. <?php include "modulekit/loader.php"; /* loads all php-includes */ ?>
  3. <?php call_hooks("init"); /* initialize submodules */ ?>
  4. <?php
  5. html_export_var(array(
  6. 'categories_dir' => $categories_dir,
  7. ));
  8. ?>
  9. <!DOCTYPE html>
  10. <html>
  11. <head>
  12. <meta charset="utf-8">
  13. <title>OpenStreetBrowser</title>
  14. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  15. <link rel="stylesheet" href="node_modules/leaflet/dist/leaflet.css" />
  16. <link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css" />
  17. <link rel="stylesheet" href='style.css' />
  18. <link rel="stylesheet" href="node_modules/leaflet-geosearch/assets/css/leaflet.css" />
  19. <link rel="stylesheet" href="node_modules/leaflet.locatecontrol/dist/L.Control.Locate.min.css" />
  20. <script src="node_modules/leaflet/dist/leaflet.js"></script>
  21. <script src="node_modules/leaflet.locatecontrol/dist/L.Control.Locate.min.js"></script>
  22. <?php print modulekit_to_javascript(); /* pass modulekit configuration to JavaScript */ ?>
  23. <?php print modulekit_include_js(); /* prints all js-includes */ ?>
  24. <?php print modulekit_include_css(); /* prints all css-includes */ ?>
  25. <?php print_add_html_headers(); /* print additional html headers */ ?>
  26. <script src="dist/openstreetbrowser.js"></script>
  27. </head>
  28. <body>
  29. <div id='map'></div>
  30. <div id='mapShadow'></div>
  31. <div id='sidebar'>
  32. <div id='header'><img src='img/osb_logo.png'>OpenStreet <span class='large'>Browser</span><div class='version' title='<?=$modulekit['version']?>'><?php print substr($modulekit['version'], 0, strpos($modulekit['version'], '+')); ?></div></div>
  33. <div id='content'>
  34. </div>
  35. <div id='footer'></div>
  36. </div>
  37. </body>
  38. </html>