summaryrefslogtreecommitdiff
path: root/private/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'private/header.php')
-rw-r--r--private/header.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/private/header.php b/private/header.php
new file mode 100644
index 0000000..80fe0ed
--- /dev/null
+++ b/private/header.php
@@ -0,0 +1,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;);"> \ No newline at end of file