summaryrefslogtreecommitdiff
path: root/private/header.php
blob: 80fe0edd91510154ab580869e6d6f81eab2021db (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
<!DOCTYPE html>
<html lang="en" style="min-height:200vh;">
<head>
    <meta charset="UTF-8">
    <title><?= $_TITLE ?> | TimeTracker</title>
    <script src="/js/bootstrap.bundle.min.js"></script>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" href="/favicon.png">
    <style>
        body {
            background-position-x: center;
            background-repeat: no-repeat;
            background-position-y: top;
        }

        .list-group-item {
            opacity: .75;
        }

        .alert {
            opacity: .75;
        }
    </style>
    <script>
        setInterval(() => {
            try {
                Array.from(document.getElementsByClassName("list-group-item")).forEach((i) => {
                    i.classList.remove("list-group-item-primary");
                });
                document.getElementById(decodeURI(location.hash).substr(1)).classList.add("list-group-item-primary");
            } catch (e) {}
        })
    </script>
</head>
<body style="background-image:url(&quot;<?= $image ?>&quot;);">