forked from jeroenpardon/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (75 loc) · 3.06 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
<!DOCTYPE html>
<html style="--color-background:black; --color-text-pri:silver; --color-text-acc:grey; --font:-apple-system, BlinkMacSystemFont, Helvetica Neue, Roboto, sans-serif;">
<head>
<title>Startpage</title>
<meta charset="utf-8">
<meta http-equiv="Default-Style" content="">
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<link type="text/css" rel="stylesheet" href="./assets/css/styles.css" media="screen,projection"/>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700,900" rel="stylesheet">
<link rel="shortcut icon" href="./assets/favicon.png" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.1/handlebars.min.js"></script>
<script src="https://code.iconify.design/1/1.0.0-rc7/iconify.min.js"></script>
</head>
<body onload="loadFunctions()">
<main id="container" class="fade">
<section id="header">
<input name="keywords" type="text" id="keywords" size="50" spellcheck="false" autofocus="true" onkeydown="handleKeyPress(event)" placeholder="Search">
<h2 id="header_date"></h2>
</section>
<section id="links">
<script type="text/handlebars-template" id="links-template">
{{#links}}
<h3>{{title}}</h3>
{{#if icons}}
<div class="apps_loop">
{{#entries}}
<div class="apps_item">
<div class="apps_icon">
<span class="iconify icon" data-icon="mdi-{{icon}}"></span>
</div>
<div class="apps_text">
<a href="{{url}}">{{name}}</a>
<span id="app-address">{{host}}</span>
</div>
</div>
{{/entries}}
</div>
{{else}}
<div class="links_loop">
{{#each entries}}
<div class="links_item">
<h4>{{@key}}</h4>
{{#each this}}
<a href="{{url}}" class="theme_color-border theme_text-select" style="background-image:url('{{favicon}}');">{{name}}</a>
{{/each}}
</div>
{{/each}}
</div>
{{/if}}
{{/links}}
</script>
</section>
</main>
<section id="themes" style="display:none;">
<script type="text/handlebars-template" id="themes-template">
{{#each themes}}
<span class="btn theme_icon" title="{{@key}}">
<span class="iconify icon" data-icon="mdi-palette"
data-theme="{{@key}}"
class="theme-button theme-{{@key}}"
style="background-color:{{this.background}}; border-color:{{this.accent}}; color:{{this.main}};"
onclick="setThemeTo('{{@key}}')"
>
</span>
</span>
{{/each}}
</script>
</section>
<script src="./assets/js/yaml.min.js" type="text/javascript"></script>
<script src="./assets/js/data.js" type="text/javascript"></script>
<script src="./assets/js/script.js" type="text/javascript"></script>
<script src="./assets/js/themer.js" type="text/javascript"></script>
<script src="./assets/js/search.js" type="text/javascript"></script>
</body>
</html>