forked from OpenGovIntelligence/CubeVisualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
169 lines (137 loc) · 6.54 KB
/
index.html
File metadata and controls
169 lines (137 loc) · 6.54 KB
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!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">
<!-- populated dynamically -->
<title id = "tabTitle"> </title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"
integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
crossorigin="anonymous">
<link rel="stylesheet" href="style/styles.css">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) : version suggested by boootstrap -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Latest compiled and minified bootstrap JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<!-- D3 js -->
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="js/config.js" type="text/javascript"></script>
<script src="js/dataCube_vis.js" type="text/javascript"></script>
<!-- Bottom banner for GitHub and Survey -->
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css"
/>
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function () {
window.cookieconsent.initialise({
layouts: {
'basic-header': '{{header}}{{messagelink}}{{compliance}}',
},
layout: 'basic-header',
container: document.getElementById("content"),
palette: { "popup": { "background": "#237afc" }, "button": { "background": "transparent", "border": "#fff", "text": "#fff", padding: '5px 40px' } },
onStatusChange: function (status) {
console.log(this.hasConsented() ?
'enable cookies' : 'disable cookies');
},
enabled: true,
content: {
header: 'Cube Visualizer    ',
message: ' Your opinion is very important for us, feel free to complete this short survey <a class="cc-link" href="https://tinyurl.com/ogi-tools"> Go to Survey</a> or post your issues on GitHub ',
link: 'Go to GitHub',
href: 'https://github.com/OpenGovIntelligence/CubeVisualizer/tree/cso',
close: '❌',
target: '_blank',
},
revokable: true,
revokeBtn: '<div class="cc-revoke cc-bottom cc-animate cc-color-override-1804993606 " style="">Feedback</div>',
});
});
</script>
</head>
<body>
<div id="content">
<!-- The navigation bar -->
<nav role="navigation" class="navbar navbar-default navbar-fixed-top">
<div class = "container-fluid" id = "headerContainer">
<div class="navbar-header navbar-brand">
<img style="height: 30px; display: inline-block;" alt="Derilinx logo" src="images/derilink_img.png" title="" />
<img style="padding-left: 30px; height: 30px; display: inline-block;" alt="ADAPT logo" src="images/adapt_img.png" title="">
<img style="padding-left: 30px; height: 30px; display: inline-block;" alt="Insight logo" src="images/insight_img.png" title="" />
</div>
<!-- TODO buttons menus etc -->
</div>
</nav>
<div class="container-fluid">
<div id="selectionBar" class="row bgr_lightBlue padding-top-bottom5">
<!-- measure selector -->
<div class="col-sm-5 col-xs-12 ">
<form class="form-inline">
<div class="form-group">
<label for="measureSelection">Measure: </label>
<select class="form-control" id="measureSelection">
</select>
</div>
</form>
</div>
<!-- free dimension selector -->
<div class="col-sm-5 col-xs-12 ">
<form class="form-inline">
<div class="form-group">
<label for="freeDimensionSelection">Free dimension: </label>
<select class="form-control" id="freeDimensionSelection">
</select>
</div>
</form>
</div>
<!-- refresh data button -->
<div class="col-sm-2 col-xs-12 ">
<button type="button" class="btn btn-primary "
id="refreshButton">
Refresh data
</button>
</div>
</div>
<div class="row">
<div class="col-sm-3 col-xs-12">
<form>
<div class="form-group" id="dimensionValuesSelections">
<!-- Inside here : dimension values selectors are created -->
</div>
</form>
<br>
<form>
<div class="form-group hidden" id="chartTypeGroup">
<!-- a line separator -->
<div class="line-separator"></div>
<!-- chart type selector -->
<label for="chartTypeSelection" class="text-primary">Chart type </label>
<select class="form-control" id="chartTypeSelection">
</select>
</div>
</form>
</div>
<div class="col-sm-9 col-xs-12 graph" id="graph">
</div>
<div class="container">
<div id="datasetsList" class="col-12">
</div>
</div>
</div>
</div>
<div id="scratchSpace"></div>
</div>
<!-- the loader spinner -->
<!-- starts spinning when has a class of "spinning" -->
<div id="loader"></div>
<div id="errorMessage" class="errorMessage"></div>
</body>
</html>