forked from alpe/portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ejs
81 lines (70 loc) · 2.25 KB
/
index.ejs
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
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>LuPoEx</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="<%- htmlWebpackPlugin.options.metadata.baseUrl %>">
<style>
html, body {
background: #f3f8fa
}
.splash {
text-align: center;
margin: 10% 0 0 0;
box-sizing: border-box;
}
.splash .message {
font-size: 30px;
color: #5b6a72;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.splash .fa-sync {
text-align: center;
display: inline-block;
margin-top: 5px;
color: #5b6a72;
}
</style>
<script src="/assets/Font-Awesome-Pro/svg-with-js/css/fa-svg-with-js.css"></script>
<script src="/assets/Font-Awesome-Pro/svg-with-js/js/fontawesome-all.min.js"></script>
<% if (htmlWebpackPlugin.options.metadata.production) { %>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-107386084-1"></script>
<script>
lupoex = {
env: '%env%'
};
</script>
<% } %>
<% if (!htmlWebpackPlugin.options.metadata.production) { %>
<script>
lupoex = {
env: 'development'
};
<% if (htmlWebpackPlugin.options.metadata.publicNetwork) { %>
lupoex.networkMode = 'public';
<% } else { %>
lupoex.networkMode = 'test';
<% } %>
<% if (htmlWebpackPlugin.options.metadata.remoteBackend) { %>
lupoex.remoteBackend = true;
<% } else { %>
lupoex.remoteBackend = false;
<% } %>
</script>
<% } %>
<!-- imported CSS are concatenated and added automatically -->
</head>
<body aurelia-app="main">
<div class="splash">
<div class="message">LuPoEx</div>
<i class="fal fa-sync fa-spin fa-3x"></i>
</div>
<!--<script src="/stellar-sdk.min.js"></script>-->
<% if (htmlWebpackPlugin.options.metadata.server) { %>
<!-- Webpack Dev Server reload -->
<script src="/webpack-dev-server.js"></script>
<% } %>
<script src="/assets/charting_library/charting_library/charting_library.min.js"></script>
</body>
</html>