-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (51 loc) · 1.93 KB
/
index.html
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
<!@Félix MARQUET>
<!doctype html>
<html itemscope itemtype="http://schema.org/WebPage" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title id="title">BreizhHardware</title>
<link rel="stylesheet" href="assets/css/style.css" type="text/css">
<link href="assets/css/inter.css" rel="stylesheet" type="text/css">
<script src="assets/js/jquery-1.4.2.min.js"></script>
<script src="assets/js/tools.js"></script>
<script src="assets/js/scripts.js"></script>
<script src="assets/js/base_engine.js"></script>
</head>
<body>
<div id="gradient"></div>
<div id="engines"></div>
<div id="container">
<form id="form" onsubmit="return doSearch()">
<div id="input"><input id="i" type="text" autocomplete="off" spellcheck="false" placeholder="Recherche" /></div>
<a onclick="nextLanguage()" id="lang"></a>
<ul id="sugs"></ul>
</form>
<p id="method"></p>
</div>
<footer>
<div class="legal">
<div class="info">
<div class="copyright"><span>BreizhHardware</span> All Rights Reserved.<br></div>
<div class="terms"><a href="https://twitch.tv/breizhHardware">My Twitch channel</a><a href="https://www.youtube.com/channel/UCkH6YSJl4dmCBgwXAe-6BRA">My Youtube Channel</a><a href="https://github.com/BreizhHardware">My GitHub</a></div>
</div>
</div>
</footer>
</body>
<script type="text/javascript">
var currentTime = new Date().getHours();
var element = document.getElementById("gradient");
if (document.body) {
if (5 <= currentTime && currentTime < 7) {
element.className = "twilight";
} else if (7 <= currentTime && currentTime < 9) {
element.className = "sunrise";
} else if (9 <= currentTime && currentTime < 18) {
element.className = "day";
} else if (18 <= currentTime && currentTime < 20) {
element.className = "evening";
} else if (20 <= currentTime && currentTime < 22) {
element.className = "twilight";
}
}
</script>
</html>