Blame view

sevc.html 2.57 KB
00b508a0   luigser   DEEPCLIENT
1
2
3
4
5
6
  <!DOCTYPE html>

  <html>

  <head>

      <!-- style -->

      <link rel="stylesheet" href="js/bootstrap-3.3.4-dist/css/bootstrap.css">

      <!-- Js imports -->

349fcb7c   Luigi Serra   DeepClient javasc...
7
      <script type="text/javascript" src="js/jquery-2.1.0.min.js"></script>

00b508a0   luigser   DEEPCLIENT
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
      <script type="text/javascript" src="../COMPONENTS/bower_components/webcomponentsjs/webcomponents.js"></script>

      <script type="text/javascript" src="js/deepClient.js"></script>

      <script src="js/bootstrap-3.3.4-dist/js/bootstrap.min.js"></script>

      <script type="text/javascript">

  

          jQuery(document).ready(function($) {

              var ds_params ={

                  component   : "data-sevc-controllet",

                  params      :{

                      'data-url'          : "http://dati.lazio.it/catalog/api/action/datastore_search?resource_id=722b6cbd-28d3-4151-ac50-9c4261298168&limit=500",

                      'deep-url'          : "http://192.168.214.128/DEEalerProvider/DEEP/",

                      'datalets-list-url' : "http://192.168.214.128/DEEalerProvider/DEEP/datalets-list"

                  },

                  fields     : Array(),

                  placeHolder : "ds_component_place_holder"

              };

              ComponentService.deep_url = 'http://192.168.214.128/DEEalerProvider/DEEP/';

              ComponentService.getComponent(ds_params);

          });

      </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><button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">Open Modal</button></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">Data Selection Exploration Visualization Customization Controllet</h3>

                  </div>

                  <div class="panel-body">

                  </div>

              </div>

              <div id="ds_component_place_holder" style="height:500px;width:1000px;border:1px;"></div>

          </div>

      </div>

      <div class="row">

         <div class="col-md-12">

         </div>

      </div>

  </div>

  

  </body>

  </html>