-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (93 loc) · 4.45 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
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
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jakub@firefox ~</title>
<link rel="stylesheet" href="styles.css">
</head>
<body onload="startTime()">
<script>
function startTime() {
var today = new Date();
var hr = today.getHours();
var min = today.getMinutes();
var sec = today.getSeconds();
ap = (hr < 12) ? "<span>AM</span>" : "<span>PM</span>";
hr = (hr == 0) ? 12 : hr;
hr = (hr > 12) ? hr - 12 : hr;
//Add a zero in front of numbers<10
hr = checkTime(hr);
min = checkTime(min);
sec = checkTime(sec);
document.getElementById("clock").innerHTML = hr + ":" + min + ":" + sec + " " + ap;
var months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
var days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
var curWeekDay = days[today.getDay()];
var curDay = today.getDate();
var curMonth = months[today.getMonth()];
var curYear = today.getFullYear();
var date = curWeekDay+", "+curDay+" "+curMonth;
document.getElementById("date").innerHTML = date;
var time = setTimeout(function(){ startTime() }, 500);
}
function checkTime(i) {
if (i < 10) {
i = "0" + i;
}
return i;
}
</script>
<div class="clockdate">
<div class="clockdate-wrapper">
<div id="date"></div>
<div id="clock"></div>
</div>
</div>
<div class="search" style="display: block;">
<form class="ddg textField" action="https://duckduckgo.com/" method="get">
<input class="input_box" type="text" name="q" placeholder=" Search with DuckDuckGo" />
</form>
</div>
<div class="bookmarks">
<div class="productivity">
<h1><span class="kur">tools, learn</span> {</h1>
<ul>
<li>prog: <a href='http://github.com/' class='button'>github</a>;</li>
<li>note: <a href='https://pastebin.com/' class='button'>pastebin</a>;</li>
<li>mail: <a href='https://gmail.com' class='button'>gmail</a>;</li>
<li>timemng: <a href='https://calendar.google.com/' class='button'>calendar</a>;</li>
<li>google: <a href='http://docs.google.com/' class='button'>docs</a>; <a href='https://docs.google.com/spreadsheets/u/0/' class='button'>sheets</a>; <a href='https://photos.google.com/' class='button'>photos</a>; <a href='https://drive.google.com/' class='button'>drive</a>; <a href='https://translate.google.com/' class='button'>trans.</a>;</li>
<li>wetransfer: <a href='https://wetransfer.com' class='button'>site</a>;</li>
<br />
</ul>
<h1>}</h1>
</div>
<div class="recreation">
<h1><span class="kur">media, games</span> {</h1>
<ul>
<li>music: <a href='https://music.youtube.com/' class='button'>YT.Music</a>;</li>
<li>vid: <a href='https://www.youtube.com/feed/subscriptions/' class='button'>YouTube</a>;</li>
<li>tarkov: <a href='https://twitter.com/tarkov' class='button'>Tarkov.Twitter</a>;</li>
<li>tarkov: <a href='https://tarkov-market.com' class='button'>Tarkov.Market</a>;</li>
</ul>
<br />
<h1>}</h1>
</div>
<div class="recreation">
<h1><span class="kur">social, money</span> {</h1>
<ul>
<li>crypto: <a href='http://coinbase.com' class='button'>coinbase</a>;</li>
<li>random: <a href='http://reddit.com' class='button'>reddit</a>;</li>
<li>r/: <a href='http://reddit.com/r/linux' class='button'>Linux</a>;</li>
<li>r/: <a href='http://reddit.com/r/unixporn' class='button'>Unixporn</a>;</li>
<li>r/: <a href='http://reddit.com/r/desktops' class='button'>Desktops</a>;</li>
<li>r/: <a href='http://reddit.com/r/startpages' class='button'>StartPages</a>;</li>
<li>r/: <a href='http://reddit.com/r/PKA' class='button'>PKA</a>;</li>
<li>r/: <a href='http://reddit.com/r/escapefromtarkov' class='button'>EFT</a>;</li>
</ul>
<h1>}</h1>
</div>
</div>
</body>
</html>