-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
44 lines (38 loc) · 1.99 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
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>elm-mdl Dashboard Example</title>
<!-- MDL
The library relies on Google's Material Design fonts, icons, and the CSS
of Google's Material Design Lite implementation. Load these as follows.
-->
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500|Roboto+Mono|Roboto+Condensed:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.2.0/material.cyan-light_blue.min.css" />
<!-- Dialogs
The Dialog component requires a polyfill on most browsers. If your app
uses Dialogs and is expected to work outside Google Chrome, get the
polyfill at the URL below and load as follows.
https://github.com/GoogleChrome/dialog-polyfill
-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.4/dialog-polyfill.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.4/dialog-polyfill.min.css" />
<!-- Event.focusin
Polyfill required for Firefox to support focusin and focusout events
-->
<script src="https://cdn.polyfill.io/v2/polyfill.js?features=Event.focusin"></script>
</head>
<body>
<script src="./target/elm.js"></script>
<script>
var app = Elm.Main.fullscreen();
app.ports.windowOpen.subscribe(function (url) {
window.open(url, true);
});
</script>
</body>
</html>