dev.html 3.95 KB
Newer Older
1
2
3
4
<!DOCTYPE html>
<html>
   <head>
      <meta charset="UTF-8">
Maxime Chaillet's avatar
Maxime Chaillet committed
5
6
7
         <title> ESRF - DOI </title>
         <link rel="icon" href="/src/images/favicon.ico">
         
8
9
         <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
     
Maxime Chaillet's avatar
Maxime Chaillet committed
10
11
12
13
14
15
16
17
18
19
         <!-- 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>
         <script src="bower_components/lodash/lodash.js"></script>
         <script src="bower_components/moment/moment.js"></script>
         <!-- endbower -->
         
20
         <!-- Using grunt-include-source, the proper js files created by us (not minified) are included below -->
21
         <script src="src/author.js"></script>
22
         <script src="src/beamlineurl.js"></script>
23
         <script src="src/citation.js"></script>
Maxime Chaillet's avatar
Maxime Chaillet committed
24
         <script src="src/constants.js"></script>
25
         <script src="src/doicontroller.js"></script>
26
         <script src="src/doiData.js"></script>
27
         <script src="src/doiview.js"></script>
28
         <script src="src/event.js"></script>
29
30
         <script src="src/experimentalreportcontroller.js"></script>
         <script src="src/jsonextractor.js"></script>
Maxime Chaillet's avatar
Maxime Chaillet committed
31
         <script src="src/metadataTableHelper.js"></script>
Maxime Chaillet's avatar
Maxime Chaillet committed
32
            
33

34
35
36
         <!-- bower:css -->
         <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />
         <!-- endbower -->
37

38
39
         <!-- Using grunt-include-source, the proper all dustjs templates files (not minified are included below -->
         <script src="min/precompiled.templates.min.js"></script>
40
      
41
42
43
44
45
46
47
48
49
50
51
         <link rel="stylesheet" href="/min/output.min.css" >   
     <script type="text/javascript">
       $(document).ready(function() {                         
         var doi = document.location.search.substring(5);
         if (doi==="") {
           alert ("Please use dev.html page as follow .../dev.html?DOI=prefix/suffix");
         } else {
           new DOIController(new DOIView()).getData(doi);
         }
       });      
     </script>
52
53
54
   </head>
   <body>
      <div class="container-fluid">
55
56
         <div class="row align-items-center blueBackground">
            <div class="col-12 col-sm-4" > <img id="logo" style="height:80px;" src="/src/images/esrflogo.png" alt="the ESRF logo"> </img> </div>
57
58
59
            <div class="col"> </div>
            <div class="col-auto">
               <div class="whiteFont font-3p2rem" id="doiValue">
60
                 <!-- filled by the js code -->
61
               </div>
62
63
64
            </div>
         </div>
      </div>
65

66
      <div id="main"></div>
67
68
      <div id='error' ></div>
      
69
70
      <div class="modal">
        <!-- nothing to write here -->
71
      </div>
72
            <footer class="footer">
73
74
         <div class="container-fluid">
            <div class="row">
75
               <div class="col-12 col-md-5" >
76
                   <p><a style='font-weight:bold;' href="http://www.esrf.eu">European Synchrotron Radiation Facility</a></p>
77
78
79
80
81
82
               </div>
               <div class="col-12 col-md-2" >
                   <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a>
               </div>
               <div class="col-12 col-md-5">
                  <p class="float-right" style="font-size:12px;display:block;" > Access to data is governed by the <a href="http://www.esrf.eu/files/live/sites/www/files/about/organisation/ESRF%20data%20policy-web.pdf" target="_blank">ESRF data policy</a>.</p>
83
84
85
86
87
               </div>
            </div>
         </div>
      </footer>
   </body>
88
</html>