diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-24 15:35:35 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-24 15:35:35 +0200 |
commit | df8d64debc84de2c89e6700f1f2b05b224fff900 (patch) | |
tree | af2a816c23be7b743b2d92c799ecd858faebb235 /private | |
download | timetracker-df8d64debc84de2c89e6700f1f2b05b224fff900.tar.gz timetracker-df8d64debc84de2c89e6700f1f2b05b224fff900.tar.bz2 timetracker-df8d64debc84de2c89e6700f1f2b05b224fff900.zip |
Initial commit
Diffstat (limited to 'private')
-rw-r--r-- | private/footer.php | 2 | ||||
-rw-r--r-- | private/header.php | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/private/footer.php b/private/footer.php new file mode 100644 index 0000000..691287b --- /dev/null +++ b/private/footer.php @@ -0,0 +1,2 @@ +</body> +</html>
\ No newline at end of file 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("<?= $image ?>");">
\ No newline at end of file |