aboutsummaryrefslogtreecommitdiff
path: root/views/load.html
blob: b4fe8c2fc0740a2beb9ee9dd45b0c92697c3a99f (plain)
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Kartik</title>
    <style>

        * {
            -webkit-app-region: drag !important;
        }

        @font-face {
            font-family: "Milliard SB";
            src: url("./common/load-version.otf");
            font-weight: normal;
        }
        
        @font-face {
            font-family: "Milliard";
            src: url("./common/load-channel.otf");
            font-weight: normal;
        }

    </style>
</head>
<body style="overflow:hidden;margin:0;padding:0;background-color:#4b4e50;">
    <img src="splash.png" style="width:100%;">
    <span style="position: fixed;color: white;z-index: 99;top: 122px;font-size: 18px;display: inline-block;right: 309px;font-family: 'Milliard SB', sans-serif;">
        <script>
            switch (require('../package.json').channel) {
                case "git":
                    document.write(`<span style="font-family: 'Milliard', sans-serif;">TRUNK&nbsp;</span>`);
                    break;
                case "nightly":
                    document.write(`<span style="font-family: 'Milliard', sans-serif;">NIGHTLY&nbsp;</span>`);
                    break;
                case "beta":
                    document.write(`<span style="font-family: 'Milliard', sans-serif;">BETA&nbsp;</span>`);
                    break;
                case "eap":
                    document.write(`<span style="font-family: 'Milliard', sans-serif;">EAP&nbsp;</span>`);
                    break;
                default:
                    break;
            }
        </script>
        <script>
            document.write(require('../package.json').version.toUpperCase());
        </script>
    </span>
</body>
</html>