-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstatistics_compare.html
More file actions
executable file
·239 lines (183 loc) · 6.92 KB
/
Copy pathstatistics_compare.html
File metadata and controls
executable file
·239 lines (183 loc) · 6.92 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<!DOCTYPE html>
<html>
<head>
<title>AfricaFertilizer.org</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Africa Fertilizer Organization - Statistics at a glance">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Third Party CSS -->
<link rel="stylesheet" href="//fenixrepo.fao.org/cdn/js/bootstrap/3.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="//fenixrepo.fao.org/cdn/js/jstree/3.0.8/dist/themes/default/style.min.css"/>
<link rel="stylesheet" href="//fenixrepo.fao.org/cdn/js/leaflet/0.7.3/leaflet.css"/>
<link rel="stylesheet" href="//fenixrepo.fao.org/cdn/js/webix/2.2.1/css/webix.css"/>
<!-- OLAP -->
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="submodules/fenix-ui-olap/css/pivot.css">
<link rel="stylesheet" href="submodules/fenix-ui-olap/lib/grid/gt_grid_height.css"/>
<!-- FENIX CSS-->
<link rel="stylesheet" href='css/host.css'/>
</head>
<body>
<nav id="fx-menu-tmpl" class="navbar navbar-default fx-menu navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#fx-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"></a>
</div>
<div class="collapse navbar-collapse" id="fx-navbar-collapse">
<ul class="nav navbar-nav fx-ul">
</ul>
<ul class="nav navbar-nav navbar-right fx-ul-right">
</ul>
</div>
</div>
</nav>
<div class="container"> <!-- main Container -->
<div class="row">
<div class="col-xs-12 ">
<div class="fx-menu-breadcrumb"></div>
</div>
</div>
</div>
<!-- selectors-->
<div class="container afo-statistics-compare">
<div class="row fx-header">
<div class="col-xs-12">
<div class="page-header">
<h2>Compare Data</h2>
<p>Use this page to compare fertilizer data from multiple sources or to compare indicators of different
fertilizer types for the available countries.</p>
</div>
</div>
</div>
<div class='row'>
<div class='span12'><hr></div>
</div>
<div class="row afo-compare-selectors">
<!-- Element list-->
<div class="col-sm-2">
<div>
<div><h3 class="afo-title-gray">ALL SOURCES</h3></div>
<div id="data-sources-s"></div>
</div>
<!-- Nutrient Product switch-->
<div>
<div>
<div><h3 class="afo-title-gray">COMPARE BY</h3></div>
<div id="compare-s"></div>
</div>
</div>
<!-- Nutrient Product switch-->
<div>
<div> <h3 class="afo-title-gray">VIEW IN</h3></div>
<div id="n-p-s"></div>
</div>
</div>
<!-- Element list-->
<div class="col-sm-3">
<h3 class="afo-title-gray">COUNTRY</h3>
<input type="text" id="country-search-s" value="" class="input form-control">
<div id="country-s" class="afo-border afo-selector-list"></div>
</div>
<!-- Element list-->
<div class="col-sm-3">
<h3 class="afo-title-gray">ELEMENT</h3>
<input type="text" id="element-search-s" value="" class="input form-control">
<div id="element-s" class="afo-border afo-selector-list"></div>
</div>
<!-- Product list-->
<div class="col-sm-4">
<h3 class="afo-title-gray">FERTILIZER</h3>
<!-- <input type="text" id="product-search-s" value="" class="input form-control"> -->
<div id="product-s" class="afo-border afo-selector-list"></div>
</div>
</div>
</div>
<!-- search -->
<div class="container">
<div class="row afo-stat-search-holder">
<div class="col-xs-10">
<ul id="afo-resume"></ul>
</div>
</div>
<div class="row">
<div class="col-sm-4 col-sm-offset-8">
<div class="afo-title-gray pull-left">SHOW AS</div>
<div id="show-s" class="pull-left" style="margin:-2px 0 0 10px">
<!-- FILLED BY JS -->
</div>
<button type="button" class="btn btn-default pull-right" id="search-btn"> Search</button>
</div>
</div>
</div>
<!-- results --> <!--style="display: none"-->
<div id="afo-results" class="container" >
<!-- charts container-->
<div class="row">
<div class="col-xs-12">
<ul class="results-list"></ul>
</div>
</div>
<fieldset id="exportOlap" style="float:right;display:none">
<button type="button" class="btn btn-default " id="downloadxls"> Download as XLS</button>
<button type="button" class="btn btn-default" id="downloadcsv"> Download as CSV</button>
<form id="xlsDataForm" action="http://fenixapps2.fao.org/fenix-olap-webs/go/ExportPOI2" method="POST">
<input id="myJson" name="myJson" type="hidden" value="">
<input id="myFlags" name="myFlags" type="hidden" value="{"data":[{"title":"","label":"Official data"}]}">
<input id="footer" name="footer" type="hidden" value="AFO">
</form>
</fieldset>
<br /><br /><br />
</div>
<div id="afo-courtesy" class="container" style="display: none">
<div class="row">
<div class="col-xs-12">
COURTESY Message
</div>
</div>
</div>
<!-- footer -->
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="footer"></div>
</div>
</div>
</div>
<!-- Javascript-->
<script src="//fenixrepo.fao.org/cdn/js/requirejs/2.1.8/require.min.js"></script>
<script type="text/javascript">
require([
"config/paths",
"submodules/fenix-ui-menu/js/paths",
"submodules/fenix-ui-common/js/Compiler"
], function(Paths, menuConfig, Compiler) {
menuConfig['baseUrl'] = "submodules/fenix-ui-menu/js";
Compiler.resolve([menuConfig], {
placeholders: {
FENIX_CDN: Paths.FENIX_CDN
},
config: Paths
});
require([
'compare/App',
'src/renderAuthMenu'
], function (App, renderAuthMenu) {
renderAuthMenu(true);
var app = new App();
app.start();
});
});
</script>
<script src="src/analitycs.js"></script>
</body>
</html>