aboutsummaryrefslogtreecommitdiffstats
path: root/templates/errors/error.html
blob: d9a805df5e7177688c9a62f32c7aa65c0c85a6a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{% extends 'main/base.html' %}
{% block title %} Error {{ code }} {% endblock %}
{% block beta_error %}{% endblock %}
{% block content %}
    <script>
        window._RequestMethod = "{{ request.method.lower() }}";
        window._Code = {{ code }};
        window._ErrorMsg = "{{ error_message }}"
        window._Path = "{{ request.path }}"
    </script>
    <div class="uk-background-muted">
        <div class="uk-section">
            <div class="uk-text-center"><code class="uk-text-large">{{ error_title }}</code></div>
        </div>
    </div>
    <script src="/static/js/typewriter.js"></script>
    <link href="/static/css/window.css" rel="stylesheet" type="text/css"/>
    <div class="uk-container uk-section">
        <div class="window" id="win">
            <div class="top">
                <div class="panel">
                    <span class="first" onclick="closeWindow()"></span>
                    <span class="second"></span>
                    <span class="third"></span>
                </div>

                <div class="nav">
                    <span class="prev active"><i class="fa fa-angle-left"></i></span>
                    <span class="next"><i class="fa fa-angle-right"></i></span>


                </div>


            </div>

            <div class="inside">
                <div class="blok">
                    <pre id="terminal"><code style="white-space:pre-wrap;" class="python" id="error"></code></pre>
                </div>
            </div>

        </div>
    </div>

    <style>
        #terminal {
            background-color: black;
            color: white;
        }
    </style>

    <noscript>
        <h1>There was an issue processing your request</h1>
        <p>Try again after a while. If the problem persists, open a bug on our <a href="https://github.com/discord-python/site/issues">GitHub issue tracker</a>.</p>
    </noscript>
    </div>
    <script src="/static/js/500.js"></script>
{% endblock %}