-
Notifications
You must be signed in to change notification settings - Fork 15
/
tray.html
123 lines (112 loc) · 3.71 KB
/
tray.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<html style="background:#eee;">
<head>
<meta charset="utf-8">
<title>HandyBrowser</title>
<link rel="stylesheet" type="text/css" href="css/tray.css" />
<link rel="stylesheet" type="text/css" href="css/bookmarkManager.css" />
<link rel="stylesheet" type="text/css" href="./css/map.css" />
<link rel="stylesheet" type="text/css" href="./css/donate.css" />
<link rel="stylesheet" type="text/css" href="./css/viewNameRecord.css" />
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/d3/d3.min.js"></script>
<script src="bower_components/numeral/numeral.js"></script>
<script src="bower_components/moment/moment.js"></script>
<script src="bower_components/three.js/three.min.js"></script>
<script src="bower_components/Sortable/Sortable.min.js"></script>
<script src="./js/map.js"></script>
<script type="shader/x-fragment" id="logoFragmentShader">
uniform float animate;
uniform float opacity;
void main() {
gl_FragColor = vec4(vec3(0.25,0.25,0.25), opacity);
}
</script>
<script type="shader/x-vertex" id="logoVertexShader">
attribute vec3 direction;
attribute vec3 centroid;
uniform float animate;
uniform float opacity;
uniform float scale;
#define PI 3.14
void main() {
// rotate the triangles
// each half rotates the opposite direction
float theta = (1.0 - animate) * (PI * 1.5) * sign(centroid.x);
mat3 rotMat = mat3(
vec3(cos(theta), 0.0, sin(theta)),
vec3(0.0, 1.0, 0.0),
vec3(-sin(theta), 0.0, cos(theta))
);
// push outward
vec3 offset = mix(vec3(0.0), direction.xyz * rotMat, 1.0 - animate);
// scale triangles to their centroids
vec3 tPos = mix(centroid.xyz, position.xyz, scale) + offset;
gl_Position = projectionMatrix *
modelViewMatrix *
vec4(tPos, 1.0);
}
</script>
<script src="js/bookmarks.js"></script>
<script src="js/tray.js"></script>
</head>
<body>
<div id="appNavigation" class="noHandles">
<div class="button" id="close">x</div>
<div class="button" id="hide">-</div>
<div class="button" id="full">+</div>
</div>
<div id="toolbar">
<div id="urlNavigation" class="noHandles">
<div class="navButton" id="back">➝</div>
<div class="navButton" id="forward">➝</div>
<div class="navButton" id="reload">↻</div>
</div>
<div id="urlQueryWrap">
<div id="miniLogo"></div>
<input type="text" id="urlQuery" placeholder="Search or Type a URL" class="noHandles" autocomplete="off" />
</div>
<div id="bookmarkPage" class="noHandles">★</div>
<div id="winBookmarks" title="HandyBrowser Settings">
<div class="dot dot0">.</div>
<div class="dot">.</div>
<div class="dot">.</div>
</div>
<div id="tabs" class="noHandles">
<ul>
<li class="init notactivated tabtarget">
<span class="faviconWrap rippleDisabled">
<div class="lds-ripple"><div></div><div></div></div>
</span>
<span class="pageTitle">New Tab</span>
</li>
</ul>
<div id="addTabButton">+</div>
</div>
<div id="tabNav">
<div class="tabNavButton" id="tabBack">▶</div>
<div class="tabNavButton" id="tabForward">▶</div>
</div>
<div id="dragHandle"></div>
<div id="bookmarksBar" class="visible">
<ul class="bookmarksUl">
</ul>
</div>
</div>
<div id="introLogo"></div>
<div id="contentPanel"></div>
<div id="sessionNotification" class="hidden">
<div class="main">
<div>Restore Tabs from Previous Session?</div>
<div class="options">
<div class="option" id="no">no</div>
<div class="option" id="yes">yes</div>
</div>
</div>
</div>
<div id="restartDockerNotification">
Restarting Docker HSD Container
</div>
<div id="modal"></div>
<div id="syncInfo"></div>
</body>
</html>