File size: 3,132 Bytes
571f20f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html>
<head>
    <title>FAILURE</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.png') }}">
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
    <style>
        * {
            font-family: 'Roboto', sans-serif;
            margin: 0;
            padding: 0;
        }

        body {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 50vh;
            background: #393e46;
            font-family: 'Roboto', sans-serif;
        }

        .container {
            text-align: center;
        }

        .button {
            position: relative;
            width: 200px;
            height: 200px;
            padding: 0;
            overflow: hidden;
            background-color: red;
            border-radius: 50%;
            transition: all 0.5s ease;
            animation: pulsate 4s infinite;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .button::before,
        .button::after {
            content: '';
            position: absolute;
            width: 120px;
            height: 20px;
            background-color: black;
        }

        .button::before {
            top: calc(50% - 10px);
            transform: rotate(45deg);
        }

        .button::after {
            top: calc(50% - 10px);
            transform: rotate(-45deg);
        }

        @keyframes pulsate {
            0% {
                background-color: red;
                box-shadow: 0 0 20px red, 0 0 160px red, 0 0 100px red;
                transform: scale(1);
            }
            50% {
                background-color: red;
                box-shadow: 0 0 200px red, 0 0 160px red, 0 0 1000px red;
                transform: scale(1.2);
            }
            100% {
                background-color: red;
                box-shadow: 0 0 20px red, 0 0 160px red, 0 0 100px red;
                transform: scale(1);
            }
        }

        .terminal-window {
            position: fixed;
            justify-content: center;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 150px;
            background-color: maroon;
            color: white;
            padding: 20px;
            overflow: auto;
            font-family: 'Roboto', sans-serif;
        }
    </style>
    <script>
        setTimeout(function() {
            window.close();
        }, 3000); // Auto-close after 10 seconds (10000 milliseconds)
    </script>
</head>
<body>
    <div class="container">
        <div class="button"></div>
    </div>

    <div class="terminal-window">
        <!-- Place your terminal data output here -->
        <pre>
            >> ERROR
            >> Please feel free to close the window...
            >> The window will auto-close in 3 seconds
        </pre>
    </div>
</body>
</html>