Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<!DOCTYPE html>
2
<?php /** @var \Spatie\Ignition\ErrorPage\ErrorPageViewModel $viewModel */ ?>
3
<html lang="en" class="<?= $viewModel->theme() ?>">
4
<!--
5
<?= $viewModel->throwableString() ?>
6
-->
7
<head>
8
    <!-- Hide dumps asap -->
9
    <style>
10
        pre.sf-dump {
11
            display: none !important;
12
        }
13
    </style>
14
 
15
    <meta charset="UTF-8">
16
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
17
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
18
    <meta name="robots" content="noindex, nofollow">
19
 
20
    <title><?= $viewModel->title() ?></title>
21
 
22
    <script>
23
        // Livewire modals remove CSS classes on the `html` element so we re-add
24
        // the theme class again using JavaScript.
25
        document.documentElement.classList.add('<?= $viewModel->theme() ?>');
26
 
27
        // Process `auto` theme as soon as possible to avoid flashing of white background.
28
        if (document.documentElement.classList.contains('auto') && window.matchMedia('(prefers-color-scheme: dark)').matches) {
29
            document.documentElement.classList.add('dark');
30
        }
31
    </script>
32
 
33
    <style><?= $viewModel->getAssetContents('ignition.css') ?></style>
34
 
35
    <?= $viewModel->customHtmlHead() ?>
36
 
37
</head>
688 lars 38
<body class="scrollbar-lg antialiased bg-center bg-dots-darker dark:bg-dots-lighter">
148 lars 39
 
40
<script>
41
    window.data = <?=
42
        $viewModel->jsonEncode([
43
            'report' => $viewModel->report(),
44
            'shareableReport' => $viewModel->shareableReport(),
45
            'config' => $viewModel->config(),
46
            'solutions' => $viewModel->solutions(),
47
            'updateConfigEndpoint' => $viewModel->updateConfigEndpoint(),
48
        ])
49
    ?>;
50
</script>
51
 
52
<!-- The noscript representation is for HTTP client like Postman that have JS disabled. -->
53
<noscript>
54
    <pre><?= $viewModel->throwableString() ?></pre>
55
</noscript>
56
 
57
<div id="app"></div>
58
 
59
<script>
688 lars 60
    <!--
61
    <?= $viewModel->getAssetContents('ignition.js') ?>
62
    -->
148 lars 63
</script>
64
 
65
<script>
66
    window.ignite(window.data);
67
</script>
68
 
69
<?= $viewModel->customHtmlBody() ?>
70
 
71
<!--
72
<?= $viewModel->throwableString() ?>
73
-->
74
</body>
75
</html>