dev.html 2.87 KB
Newer Older
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
<!DOCTYPE html>
<html>
   <head>
      <meta charset="UTF-8">
      <title>ESRF</title>
      
      
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
      <link rel="stylesheet" href="/min/output.min.css" >
 
      
      <!-- Using grunt-include-source, the proper js files created by us (not minified) are included below -->
      <script src="src/doicontroller.js"></script>
      <script src="src/doiview.js"></script>
      

      
      <!-- Using grunt-wiredep, the proper js files from bower components are included below -->
      <!-- bower:js -->
      <script src="bower_components/jquery/dist/jquery.js"></script>
      <script src="bower_components/dustjs-linkedin/dist/dust-full.min.js"></script>
      <script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
      <script src="bower_components/dustjs-helpers/dist/dust-helpers.min.js"></script>
      <!-- endbower -->

      <!-- Using grunt-include-source, the proper all dustjs templates files (not minified are included below -->
      <script src="min/precompiled.templates.min.js"></script>
      
      <script type="text/javascript">
        $(document).ready(function() {     
          var params = new URLSearchParams(document.location.search.substring(1));
          var doi;                    
          if (params.get("DOI")){
            doi = params.get("DOI");
          }
          else{
             doi = document.location.pathname.substring(1,document.location.pathname.length )
          }
          new DOIController(new DOIView()).getData(doi);
        });
      
      
   </script>
   </head>
   <body>
      <div class="container-fluid">
         <div class="row">
48
            <div class="col-12 col-sm-4 blueBackground" > <img id="logo" style="height:80px;" src="/src/images/esrfLogo.png" alt="the ESRF logo"> </img> </div>
49
50
51
52
53
54
55
56
57
            <div class="col-12 col-sm-8 blueBackground flex">
               <div id="doiPanel" class="col-12 whiteVCenteredFont text-right doiTitle" >  </div>
            </div>
         </div>
      </div>
      <div id="main" ></div>
      <div class="modal">
         <!-- nothing to write here -->
      </div>
58
            <footer class="footer">
59
60
         <div class="container-fluid">
            <div class="row">
61
               <div class="col-12 col-md-6" >
62
63
                   <p><a style='font-weight:bold;' href="http://www.esrf.eu">European Synchrotron Radiation Facility</a></p>
            </div>
64
65
               <div class="col-12 col-md-6">
                  <p class="float-right" style="font-size:12px;display:block;" >Access to data is governed by the <a href="http://www.esrf.eu/datapolicy">ESRF data policy</a>.</p>
66
67
68
69
70
71
               </div>
            </div>
         </div>
      </footer>
   </body>
</html>