-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
51 lines (51 loc) · 1008 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Elm Http.Progress Example</title>
<style type="text/css">
body {
line-height:1.6;
font-size:18px;
color:#444;
padding:0 10px;
}
h1 {
padding-bottom: 0;
margin-bottom: 0;
}
h1,h2,h3 {
line-height:1.2;
text-align: center;
}
.content {
display: flex;
flex-direction: column;
margin: 0 auto;
max-width: 550px
}
.select-content {
display: flex;
flex-direction: row;
}
.flex-grow-1 { flex-grow: 1; }
.book-content {
height: 400px;
width: 100%;
}
</style>
</head>
<body>
<div id="main"><h1 class="loading">Loading...</h1></div>
<!-- <script src="/_compile/src/Main.elm"></script> -->
<script src="main.js"></script>
<script>
var node = document.getElementById('main');
while (node.firstChild) {
node.removeChild(node.firstChild);
}
var app = Elm.Main.embed(node);
</script>
</body>
</html>