This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathbrowser.html
86 lines (72 loc) · 2.66 KB
/
browser.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Peacock</title>
<link rel="stylesheet" href="css/fonts/circular_std.css">
<link rel="stylesheet" href="css/global.css">
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/titlebar.css">
</head>
<body>
<div id="notifications"></div>
<nav id="navbar">
<div class="nav-group">
<button id="back"><img src="images/left.svg"></button>
<button id="forward"><img src="images/right.svg"></button>
<button id="refresh"><img src="images/refresh.svg"></button>
<button id="home"><img src="images/home.svg"></button>
</div>
<div id="drag-region"></div>
<div id="nav-center">
<button id="site-info">
<img src="images/lock.svg">
</button>
<input id="url" spellcheck="false" autocomplete="false" autofocus type="text" placeholder="Search Google or type URL">
<button id="bookmark">
<img src="images/bookmark.svg">
</button>
</div>
<div id="drag-region"></div>
<div class="nav-group">
<!-- <button><img id="shield" class="extension" src="images/Peacock Shield.svg"></button> -->
<button id="menu"><img src="images/menu.svg"></button>
</div>
<div id="window-controls">
<div class="button" id="min-button">
<svg version="1.1" viewBox="0 0 24 24">
<path d="M20,19H4v-2h16V19z"/>
</svg>
</div>
<div class="button" id="max-button">
<svg version="1.1" viewBox="0 0 24 24">
<path d="M18.8,4H5.2C4.6,4,4,4.6,4,5.2v13.5C4,19.4,4.6,20,5.2,20h13.5c0.7,0,1.2-0.6,1.2-1.2V5.2C20,4.6,19.4,4,18.8,4
z M18,18H6V6h12V18z"/>
</svg>
</div>
<div class="button" id="restore-button">
<svg version="1.1" viewBox="0 0 24 24">
<path d="M4,8H8V4H20V16H16V20H4V8M16,8V14H18V6H10V8H16M6,12V18H14V12H6Z"/>
</svg>
</div>
<div class="button" id="close-button">
<svg version="1.1" viewBox="0 0 24 24">
<path d="M20,5.6L18.4,4L12,10.4L5.6,4L4,5.6l6.4,6.4L4,18.4L5.6,20l6.4-6.4l6.4,6.4l1.6-1.6L13.6,12L20,5.6z"/>
</svg>
</div>
</div>
</nav>
<header id="titlebar">
<div id="tabs">
<div id="new-tab" title="New tab">
<img src="images/plus.svg" title="New tab">
</div>
</div>
</header>
</body>
<script>
let renderer = require('./renderer.js');
let titlebar = require('./js/titlebar.js');
titlebar.setData(renderer.getTabCount, renderer.showAlert);
</script>
</html>