forked from routetopa/deep-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
issy.html
executable file
·54 lines (53 loc) · 2.78 KB
/
issy.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
<!DOCTYPE html>
<html>
<head>
<!-- style -->
<link rel="stylesheet" href="js/bootstrap-3.3.4-dist/css/bootstrap.css">
<!-- Js imports -->
<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="../deep-components/bower_components/webcomponentsjs/webcomponents.js"></script>
<script src="js/bootstrap-3.3.4-dist/js/bootstrap.min.js"></script>
</head>
<body>
<div class="jumbotron">
<div class="container">
<h2>Open Data Datalets</h2>
<p class="small text-info">In this page you can see several containers with opendata Datalets. To do this the page uses the DEEPCLIENT js library.
The only things you have to know is the data source url, the fields that component need to visualize the chart, the componet you want to use and the place holder in witch the component will be
injected.
</p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more »</a></p>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"> Datatable Datalet</h3>
</div>
<div class="panel-body">
<link rel="import" href="http://localhost/deep/deep-components/datalets/datatable-datalet/datatable-datalet.html">
<datatable-datalet data-url="http://data.issy.com/api/records/1.0/search?dataset=liste-des-restaurants-a-issy-les-moulineaux&sort=type&facet=type&facet=terrasse"
query="$['facet_groups'][?(@.name=='type')]['facets'][*]['name']###$['facet_groups'][?(@.name=='type')]['facets'][*]['count']">
</datatable-datalet>
</div>
</div>
</div>
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">3D columnchart Datalet</h3>
</div>
<div class="panel-body">
<link rel="import" href="http://localhost/deep/deep-components/datalets/column3Dchart-datalet/column3Dchart-datalet.html">
<column3Dchart-datalet data-url="http://data.issy.com/api/records/1.0/search?dataset=liste-des-restaurants-a-issy-les-moulineaux&sort=type&facet=type&facet=terrasse"
fields-order="0,1"
query="$['facet_groups'][?(@.name=='type')]['facets'][*]['name']###$['facet_groups'][?(@.name=='type')]['facets'][*]['count']">
</column3Dchart-datalet>
</div>
</div>
</div>
</div>
</div>
</body>
</html>