-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
144 lines (116 loc) · 4.13 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>EW Dashboards</title>
<!-- Import Ionicon icons & Google Fonts our Bootstrap theme relies on -->
<link href="//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Titillium+Web:700|Source+Serif+Pro:400,700|Merriweather+Sans:400,700|Source+Sans+Pro:400,300,600,700,300italic,400italic,600italic,700italic" rel="stylesheet" type="text/css">
<!-- Import the custom Bootstrap 4 theme from our hosted CDN -->
<!-- <link rel="stylesheet" href="//demo.productionready.io/main.css"> -->
<!-- Hosted -->
<link rel="stylesheet" href="//rawgit.com/energizedwork/conduit-bootstrap-template/master/app/css/style.css">
<!-- Local Dev, if you have energizedwork/conduit-bootstrap-template running -->
<!-- <link rel="stylesheet" href="//localhost:8001/css/style.css"> -->
<style>/* Loading spinner courtesy of loader.io */
.sk-three-bounce { margin-right: 10px; } .sk-three-bounce .sk-child { width: 14px; height: 14px; background-color: #333; border-radius: 100%; display: inline-block; -webkit-animation: sk-three-bounce 1.4s ease-in-out 0s infinite both; animation: sk-three-bounce 1.4s ease-in-out 0s infinite both; } .sk-three-bounce .sk-bounce1 { -webkit-animation-delay: 0.28s; animation-delay: 0.28s; } .sk-three-bounce .sk-bounce2 { -webkit-animation-delay: 0.44s; animation-delay: 0.44s; } .sk-three-bounce .sk-bounce3 { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; } @-webkit-keyframes sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); } 40% { -webkit-transform: scale(1); transform: scale(1); } } @keyframes sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); } 40% { -webkit-transform: scale(1); transform: scale(1); } }
/* needs some width figure to get layout :( */
.spinner-wrapper {
margin: 0px auto;
width: 100px;
padding: 50px;
border: 0px solid red;
}
.col-md-6 {
border: 0px solid blue ! important
}
/*hacky theme overrides*/
.article-meta-dashboard {
margin-top: 8px ! important;
}
.banner {
padding: 1.5rem ! important;
margin-bottom: 0rem ! important;
}
.hm-form label {
margin-bottom: 0px;
}
.hm-form button {
padding-top: 2px;
}
.hm-form button:hover {
background-color: #ccc;
}
.d-inline-block {
display: inline-block;
}
/*Dashboards specific*/
.widget {
border: 0px solid red;
margin-top: 60px;
}
.widget .center-block {
border: 0px solid green;
width: 50%;
}
.widget.reduce-margin-top {
margin-top: 40px
}
.data-source-info {
color: #ccc;
margin-right: 6px;
}
svg {
border: 0px solid #ccc;
}
.widget .heading {
margin-bottom: 30px;
}
.widget .heading:hover {
cursor: help;
}
.metric {
border: 1px dashed #ccc;
text-align: center;
padding: 32px;
padding-bottom: 8px;
}
.metric .actual{
font-weight: bold;
}
.metric .progress{
margin-top: 12px
}
.metric .forecast, .metric .last-updated{
font-size: smaller;
}
.metric .last-updated{
margin-top: 24px;
}
/* bar / line & bar / pie chart */
.column text, .segment text {
display: none;
}
.column:hover rect, .segment:hover {
opacity: 0.7; cursor: crosshair;
}
.column:hover text, .segment:hover text {
display: inline; z-index: 9999;
}
</style>
<script src="elm.js"></script>
</head>
<body id="page-body">
<script>
var app = Elm.Main.fullscreen(localStorage.session || null);
app.ports.storeSession.subscribe(function(session) {
localStorage.session = session;
});
window.addEventListener("storage", function(event) {
if (event.storageArea === localStorage && event.key === "session") {
app.ports.onSessionChange.send(event.newValue);
}
}, false);
</script>
</body>
</html>