2015-10-07 06:55:00 -07:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2015-10-23 09:44:10 -07:00
|
|
|
|
2015-10-07 06:55:00 -07:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Mattermost</title>
|
|
|
|
</head>
|
2015-10-23 09:44:10 -07:00
|
|
|
|
2015-10-07 06:55:00 -07:00
|
|
|
<body>
|
2015-12-09 06:40:24 -08:00
|
|
|
<!--
|
|
|
|
'disablewebsecurity' is necessary to display external images.
|
|
|
|
However, it allows also CSS/JavaScript.
|
|
|
|
So webview should use 'allowDisplayingInsecureContent' as same as BrowserWindow.
|
|
|
|
-->
|
2015-10-09 08:00:01 -07:00
|
|
|
<webview id="mainWebview" autosize="on" preload="webview/mattermost.js"></webview>
|
2015-10-07 06:55:00 -07:00
|
|
|
<style>
|
2015-10-23 09:44:10 -07:00
|
|
|
webview {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
2015-10-07 06:55:00 -07:00
|
|
|
</style>
|
|
|
|
<script src="./index.js"></script>
|
|
|
|
</body>
|
2015-10-23 09:44:10 -07:00
|
|
|
|
|
|
|
</html>
|