-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrowser.html
More file actions
47 lines (41 loc) · 1.69 KB
/
browser.html
File metadata and controls
47 lines (41 loc) · 1.69 KB
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="./utils/browser.css">
<script src="./utils/browser.js"></script>
<title>Vision Browser</title>
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
</head>
<body>
<div id="title-bar" class="grey lighten-2">
<div id="title" class="window-button">
<a class="breadcrumb id="title">Vision Browser [vx]</a>
</div>
<div id="title-bar-btns">
<img src="https://i.imgur.com/zpdg8Rk.png" width="36" height="36" class="windowclose" id="closeBtn" onclick="closeApp()">
</div>
</div>
<div id="controls">
<button id="back" title="Go Back">◀</button>
<button id="forward" title="Go Forward">▶</button>
<button id="home" title="Go Home">🏠</button>
<button id="reload" title="Reload">🔃</button>
<form id="location-form">
<div id="center-column">
<input id="location" type="text" value="">
</div>
<input type="submit" value="🔎">
</form>
</div>
<webview id="webpage" src="about:blank" preload="file://${__dirname}/webview-preload.js"></webview>
<div id="sad-webview">
<div id="sad-webview-icon">💣</div>
<h2 id="crashed-label">Oops!</h2>
<h2 id="killed-label">CRITICAL ERROR!</h2>
<p style="margin-left: 16px; margin-right: 16px;">Oops! The engine went into a snag. Here's some handy-dandy information below just in case you want to go into the nitty-gritty of the issue.</p>
<br>
<br>
<p id="err"></p>
</div>
</body>
</html>