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.

65 lines
1.5 KiB

3 years ago
  1. <!doctype html>
  2. <html class="theme-<?=$config['theme']?>">
  3. <!--
  4. <?=$throwableString?>
  5. -->
  6. <head>
  7. <!-- Hide dumps asap -->
  8. <style>
  9. pre.sf-dump {
  10. display: none !important;
  11. }
  12. </style>
  13. <meta charset="UTF-8">
  14. <meta name="viewport"
  15. content="width=device-width, initial-scale=1.0">
  16. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  17. <meta name="robots" content="noindex, nofollow">
  18. <title><?= $title ?></title>
  19. <?php foreach ($styles as $script): ?>
  20. <link rel="stylesheet" href="<?=$housekeepingEndpoint?>/styles/<?=$script?>">
  21. <?php endforeach; ?>
  22. </head>
  23. <body class="scrollbar-lg">
  24. <script>
  25. window.data = <?=
  26. $jsonEncode([
  27. 'report' => $report,
  28. 'config' => $config,
  29. 'solutions' => $solutions,
  30. 'telescopeUrl' => $telescopeUrl,
  31. 'shareEndpoint' => $shareEndpoint,
  32. 'defaultTab' => $defaultTab,
  33. 'defaultTabProps' => $defaultTabProps,
  34. 'appEnv' => $appEnv,
  35. 'appDebug' => $appDebug,
  36. ])
  37. ?>;
  38. window.tabs = <?=$tabs?>;
  39. </script>
  40. <noscript><pre><?=$throwableString?></pre></noscript>
  41. <div id="app"></div>
  42. <script><?= $getAssetContents('ignition.js') ?></script>
  43. <script>
  44. window.Ignition = window.ignite(window.data);
  45. </script>
  46. <?php foreach ($scripts as $script): ?>
  47. <script src="<?=$housekeepingEndpoint?>/scripts/<?=$script?>"></script>
  48. <?php endforeach; ?>
  49. <script>
  50. Ignition.start();
  51. </script>
  52. <!--
  53. <?=$throwableString?>
  54. -->
  55. </body>
  56. </html>