forked from chandu0101/sri-web-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
70 lines (62 loc) · 1.81 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title>Sri web template</title>
<style>
html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */
}
body {
margin: 0;
font-size: 13px;
line-height: 20px;
background:#ECEBEB;
}
.react-root {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.react-root .react-view {
position: relative;
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
</style>
</head>
<body>
<div id="app" class="react-root"></div>
<!--all js dependencies-->
<script type="text/javascript" src="./assets/sri-web-template-jsdeps.js"></script>
<!-- Include Scala.js compiled code -->
<script type="text/javascript" src="./assets/sri-web-template-opt.js"></script>
<!-- Run JSApp -->
<script>sri.templates.web.WebApp().main()</script>
</body>
</html>