-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
101 lines (101 loc) · 4.17 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
<!doctype html>
<!--
*
* Inspired by Evening Startpage https://github.com/TB-96/Evening-Startpage
* Inspired by https://github.com/jeroenpardon/sui
* Modified and tweaked by Kussie
*
-->
<html>
<head>
<title>New Tab</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="shortcut icon" href="./assets/icons/fav.png"/>
<link type="text/css" rel="stylesheet" href="./assets/css/style.css" media="screen, projection"/>
<link type="text/css" rel="stylesheet" href="./assets/css/status.css" media="screen, projection"/>
<script src="./assets/js/iconify.js" type="text/javascript"></script>
<script src="./assets/js/jquery.js" type="text/javascript"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Jost&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.1/handlebars.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css" />
</head>
<body>
<main id="container" class="fade">
<section id="header">
<div id="header-datetime">
<h1 id="header-time">00:00</h1>
<h2 id="header-date">Date</h2>
</div>
<div id="header-weather">
<div id="container-weather">
<div id="weather-icon"><img src="./assets/icons/OneDark/unknown.png" /></div>
<div id="weather-location">Some place over yonder</div>
<div id="weather-text"><span class="weather-temp">- °c</span><span class="weather-description"></span></div>
</div>
</div>
<div id="header-quote">Thinking</div>
</section>
<section id="apps">
<div id="apps-container">
<script type="text/handlebars-template" id="apps-template">
<a class="toggle" data-toggleTarget="apps-container"><h3>> Applications</h3></a>
<div id="apps-container">
{{#apps}}
<a class="link apps-item" href="{{url}}">
<div class="apps-icon">
<span class="iconify icon" data-icon="{{icon}}"></span>
</div>
<div class="apps-text">
<span>{{#if statusBadge}}<status-indicator class="status-indicator" active pulse></status-indicator> {{/if}}{{name}}</span>
<span class="description" data-url="{{url}}" data-description="{{description}}">{{description}}</span>
</div>
</a>
{{/apps}}
</div>
</script>
</div>
</section>
<section id="sites">
<div id="sites-container">
<script type="text/handlebars-template" id="sites-template">
<a class="toggle" data-toggleTarget="sites-container"><h3>> Frequent Websites</h3></a>
<div id="sites-container">
{{#sites}}
<a class="link sites-item" href="https://{{url}}">
<div class="sites-icon">
<span class="iconify icon" data-icon="{{icon}}"></span>
</div>
<div class="apps-text">
<span>{{name}}</span>
<span>{{url}}</span>
</div>
</a>
{{/sites}}
</div>
</script>
</div>
</section>
<section id="links">
<a class="toggle" data-toggleTarget="links-container"><h3>> Bookmarks</h3></a>
<div id="links-container">
<script type="text/handlebars-template" id="bookmarks-template">
{{#bookmarks}}
<div class="links-item">
<h4>{{category}}</h4>
{{#links}}
<a href="{{url}}" class="link">{{name}}</a>
{{/links}}
</div>
{{/bookmarks}}
</script>
</div>
</section>
</main>
<script src="./assets/js/script.js" type="text/javascript"></script>
<script src="./assets/js/weather.js"></script>
</body>
</html>