-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebView.html
More file actions
43 lines (43 loc) · 1.42 KB
/
webView.html
File metadata and controls
43 lines (43 loc) · 1.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Simple HTTP Server</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="${assets/css/main.css}" />
<link
rel="stylesheet"
type="text/css"
href="${assets/css/contextMenu.css}"
/>
<link
rel="stylesheet"
type="text/css"
href="${assets/css/contextMenu-lib-font.css}"
/>
<script src="${assets/js/font-awesome.js}"></script>
<script src="${assets/js/jquery.min.js}"></script>
</head>
<body>
<ul
class="contextMenu"
data-vscode-context='{"preventDefaultContextMenuItems": true}'
hidden
>
<li onclick="goHere()" oncontextmenu="goHere()">
<i class="fa-solid fa-location-crosshairs"></i> Go here
</li>
<li onclick="openInBrowser()" oncontextmenu="openInBrowser()">
<i class="fa-solid fa-file-lines"></i> Open in Browser
</li>
<li onclick="openDeveloperTools()" oncontextmenu="openDeveloperTools()">
<i class="fa-solid fa-code"></i> Open Developer Tools
</li>
<li onclick="closePreview()" oncontextmenu="closePreview()">
<i class="fa-solid fa-power-off"></i> Close Preview
</li>
</ul>
<iframe id="Server" allowTransparency="false" frameborder="0"></iframe>
<script src="${assets/js/main.js}"></script>
</body>
</html>