-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
100 lines (91 loc) · 4.13 KB
/
index.php
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
<?php
require "shared/Tools.php";
require "shared/functions/Functions.php";
use Shared\Tools;
use Shared\Functions\Functions;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>RelluToolbox</title>
<script src="./shared/node_modules/admin-lte/dist/js/adminlte.min.js"></script>
<script src="./shared/node_modules/@fortawesome/fontawesome-free/js/all.min.js"></script>
<script src="./shared/node_modules/jquery/dist/jquery.min.js"></script>
<script src="./shared/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="./shared/node_modules/js-cookie/dist/js.cookie.min.js"></script>
<script src="./shared/assets/js/rellu94.js"></script>
<script src="./shared/assets/js/loader.js"></script>
<script src="./shared/assets/js/cookieHandling.js"></script>
<script defer src="./shared/assets/scripts/slothSearch.js"></script>
<script src="./shared/assets/folitoast/folitoast.js"></script>
<link rel="stylesheet" href="./shared/node_modules/admin-lte/dist/css/adminlte.min.css">
<link rel="stylesheet" href="./shared/node_modules/@fortawesome/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="./shared/node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="./shared/assets/css/Toolbox.css">
<link rel="stylesheet" href="./shared/assets/css/rellu94.css">
<link rel="stylesheet" href="./shared/assets/folitoast/folitoast.css">
<link rel="icon" type="image/x-icon" href="./shared/assets/img/favicon.png">
</head>
<body>
<div class="wrapper">
<div id="loader-container">
<div id="loader">
<i class="fa-solid fa-spinner fa-spin-pulse fa-2xl"></i>
</div>
</div>
<nav class="navbar fixed-top bg-dark">
<a class="navbar-brand" target="_blank" title="Check out the Sourcecode" href="https://github.com/Relluem94s/RelluToolbox">
<img src="./shared/assets/img/rellutoolbox.svg" alt="Logo" class="d-inline-block align-text-top">
<span class="ms-5 badge bg-secondary">v<?php echo Functions::getVersion(); ?></span>
</a>
<form class="search-form d-flex" role="search">
<input
class="form-control navSearch"
id="searchBox"
type="search"
placeholder="Search"
aria-label="Search">
</form>
<div class="toggleMode">
<span class="dark mode"><i class="fa-solid fa-moon"></i></span>
<span class="light mode"><i class="fa-solid fa-sun"></i></span>
</div>
</nav>
<div class="content-wrapper" style="min-height: 768px;">
<div class="content">
<div class="container" style="margin-top: 80px;">
<div class="row">
</div>
<div class="row">
<?php
$tools = json_decode(file_get_contents("./shared/config/tools.json"), true);
foreach ($tools as $key => $value) {
echo Tools::getTool(
$value["name"],
$value["displayname"],
$value["icon"],
$value["description"],
$value["bgclass"],
$value["content"]
);
}
?>
</div>
</div>
</div>
</div>
<div class="cookieBanner fixed-bottom">
<h5>
<i class="fa-solid fa-cookie"></i>
This pages uses technical cookies. No tracking is done.
<button type="button" class="btn btn-primary" onclick="dismissCookieBanner()">
<i class="fa-solid fa-eye-slash"></i>
Don't show again
</button>
</h5>
</div>
</div>
</body>
</html>