forked from cba85/electron-webview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (32 loc) · 1.04 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
<html>
<head>
<link rel="stylesheet" href="assets/css/style.css" />
<link rel="stylesheet" href="assets/css/topbar.css" />
<!-- <link rel="stylesheet" href="assets/css/no-topbar.css"> -->
<script defer src="assets/js/renderer.js"></script>
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; style-src 'self' 'unsafe-inline';"
/>
</head>
<body>
<!-- Topbar -->
<div id="controls">
<button id="home" title="Go Home">Home</button>
<button id="print_button">Print</button>
</div>
<!-- End topbar -->
<!-- Webview -->
<webview
id="webview"
autosize="on"
src="https://www.github.com"
data-home="https://www.github.com"
></webview>
<!-- HTML -->
<!--
<h1>Hello world!</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Modi, voluptatum sint ullam minima molestias nam id autem perferendis! Cumque veritatis sunt dolor quidem cum? Natus dolore ipsum illum numquam molestiae?</p>
-->
</body>
</html>