-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprices_detailed.html
210 lines (183 loc) · 9.69 KB
/
prices_detailed.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
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
<!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="FENIX Structure">
<!-- Third Party CSS -->
<link href="//fenixrepo.fao.org/cdn/js/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="//fenixrepo.fao.org/cdn/js/leaflet/0.7.3/leaflet.css" />
<link rel="stylesheet" href="//fenixrepo.fao.org/cdn/js/leaflet/plugins/leaflet.markecluster/1.1/MarkerCluster.css">
<link rel="stylesheet" href="//fenixrepo.fao.org/cdn/js/leaflet/plugins/leaflet.markecluster/1.1/MarkerCluster.Default.css">
<link rel="stylesheet" href="//fenixrepo.fao.org/cdn/js/jquery.rangeslider/5.7.0/css/classic-min.css">
<!-- Third Party CSS -->
<link rel="stylesheet" href='//fenixrepo.fao.org/cdn/js/jstree/3.0.8/dist/themes/default/style.min.css' />
<link rel="icon" type="image/png" href="favicon.png" />
<!-- FENIX CSS -->
<link rel="stylesheet" href="submodules/fenix-ui-map/dist/fenix-ui-map.min.css"/>
<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" />
<link rel="stylesheet" href="css/components/pivotConfiguration.css" />
<link rel="stylesheet" type="text/css" href="css/host.css">
</head>
<script id="resumeTmpl" type="text/x-handlebars-template">
<ul id="afo-resume">
{{#each items}}
{{#if value}}<li><span>{{label}} </span><b>{{value}}</b></li>{{/if}}
{{/each}}
</ul>
</script>
<script id="popupTmpl" type="text/x-handlebars-template">
<div class="fm-popup">
<div class="fm-popup-join-title">
<i>Market:</i> <b>{{title}}</b>
</div>
<div class="fm-popup-join-content">
<i>Product:</i> <b>{{prod}}</b>
<div class="list-group">
{{#each values}}
<div class="list-group-item" style="padding:5px">
<i>Type:</i> {{type}}<br />
<i>Price per month:</i> {{val}} <i>USD/tons</i>
</div>
{{/each}}
</div>
</div>
</div>
</script>
<body id="page-prices_international">
<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>
<div class="container">
<div class="row fx-header">
<div class="col-xs-12">
<div class="page-header">
<h2>Monthly local listed retail prices</h2>
<p>Monthly listed retail price data by fertilizer type and location. This section allows to query and retrieve local prices collected at the level of districts and towns. Please select a product and a time range.</p>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-11">
<h3 class="afo-title-gray">SELECT TIME RANGE</h3>
<div class="row">
<input id="prices_range1" name="prices_range_radio" type="radio" value="72" /><label for="prices_range1" class="col-sm-2 control-label"> 6 years</label>
<input id="prices_range2" name="prices_range_radio" type="radio" value="36" /><label for="prices_range2" class="col-sm-2 control-label"> 3 years</label>
<input id="prices_range3" name="prices_range_radio" type="radio" value="12" checked /><label for="prices_range3" class="col-sm-2 control-label"> 1 year</label>
<input id="prices_range4" name="prices_range_radio" type="radio" value="6" /><label for="prices_range4" class="col-sm-2 control-label"> 6 months</label>
<input id="prices_range5" name="prices_range_radio" type="radio" value="3" /><label for="prices_range5" class="col-sm-2 control-label"> 3 months</label>
</div>
<br /><br />
<div id="prices_rangeMonths" class="afo-range">
<!-- FILL BY JS -->
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-6">
<h3 class="afo-title-gray">SELECT PRODUCT</h3>
<div id="product-s" class="afo-border afo-selector-list" style="height:208px">
<!-- FILL BY JS -->
</div>
</div>
<div class="col-xs-12 col-sm-6">
<h3 class="afo-title-gray">SELECT COUNTRY</h3>
<div id="country-s" class="afo-border afo-selector-list" style="height:208px">
<!-- FILL BY JS -->
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4 col-sm-offset-8">
<br />
<label class="afo-title-gray pull-left">PRICE TYPE</label>
<div class="form-group pull-left" style="margin:-2px 0 0 10px">
<input id="marketTypeOpen" type="radio" name="mType_radio" value="open" /><label for="marketTypeOpen">Open</label>
<input id="marketTypeSub" type="radio" name="mType_radio" value="subsidized" /><label for="marketTypeSub">Subsidized</label>
<input id="marketTypeAll" type="radio" name="mType_radio" value="all" checked="checked" /><label for="marketTypeAll">Both</label>
</div>
</div>
</div>
<br />
<div class="row afo-border" id="afo-resume-wrap">
<!-- FILLED BY JS -->
</div>
<div class="row afo-tabs">
<br /><br />
<div class="col-xs-12">
<ul id="catalogue_tabs" class="nav nav-tabs pull-right" role="tablist">
<li class="active"><a href="#tab_map" role="tab" data-toggle="tab">Georeferenced data</a></li>
<li><a href="#tab_table" role="tab" data-toggle="tab">Tables</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="tab-content" style="height:400px">
<div class="tab-pane active" id="tab_map">
<div class="col-xs-12">
<div id="prices_retail_map" class="afo-simple-map" style="height:400px;position:relative">
<!-- FILL BY JS -->
</div>
</div>
</div>
<div class="tab-pane" id="tab_table">
<div id="prices_retail_grid" class="col-xs-12" style="font-size:12px">
<div id="table-result" style="height:400px">
<!-- FILL BY JS -->
</div>
<fieldset id="exportOlap" style="float:right;display:block">
<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://fenix.fao.org/export/excel/v1/" method="POST">
<!--textarea id="myJson" name="myJson" ></textarea-->
<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="Author Africafertilizer.org" />
<input id="notreeview" name="notreeview" type="hidden" value="1">
</form>
</fieldset>
<br /><br />
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<div class="container">
<div class="footer">
<p>AfricaFeritilizer.org - AF Skeleton web application by FENIX</p>
</div>
</div>
<script data-main="prices_detailed" src="//fenixrepo.fao.org/cdn/js/requirejs/2.1.8/require.min.js"></script>
<script src="src/analitycs.js"></script>
</body>
</html>