forked from electron/electron-quick-start
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathindex.html
30 lines (29 loc) · 923 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello Webview!</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="page">
<div class="header">
<form id="search">
<input class="search" name="url" value="https://github.com/explore" placeholder="https://github.com/explore" type="search">
</form>
<div class="actions">
<span id="backwords" class="action"><</span>
<span id="forwards" class="action">></span>
<span id="refresh" class="action">○</span>
</div>
</div>
<div class="main">
<webview id="webview" class="webview" style="display: inline-flex;" src="http://www.ayqy.net/blog/"></webview>
<webview id="captureWebview" src="about:blank"></webview>
</div>
</div>
<script>
require('./renderer.js')
</script>
</body>
</html>