dev.html 4.07 KB
Newer Older
1 2 3 4
<!DOCTYPE html>
<html>
   <head>
      <meta charset="UTF-8">
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">
     
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>
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>
Alejandro De Maria Antolinos's avatar
Alejandro De Maria Antolinos committed
28 29
         <script src="src/ESRF-DC-142893590.js"></script>
         <script src="src/ESRF-DC-142915526.js"></script>
30
         <script src="src/event.js"></script>
31 32
         <script src="src/experimentalreportcontroller.js"></script>
         <script src="src/jsonextractor.js"></script>
33
         <script src="src/metadataTableHelper.js"></script>
Maxime Chaillet's avatar
Maxime Chaillet committed
34
            
35

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

40 41
         <!-- Using grunt-include-source, the proper all dustjs templates files (not minified are included below -->
         <script src="min/precompiled.templates.min.js"></script>
42
      
43 44 45 46 47 48 49 50 51 52 53
         <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>
54 55 56
   </head>
   <body>
      <div class="container-fluid">
57 58
         <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>
59 60 61
            <div class="col"> </div>
            <div class="col-auto">
               <div class="whiteFont font-3p2rem" id="doiValue">
62
                 <!-- filled by the js code -->
63
               </div>
64 65 66
            </div>
         </div>
      </div>
67

68
      <div id="main"></div>
69 70
      <div id='error' ></div>
      
71 72
      <div class="modal">
        <!-- nothing to write here -->
73
      </div>
74
            <footer class="footer">
75 76
         <div class="container-fluid">
            <div class="row">
77
               <div class="col-12 col-md-5" >
78
                   <p><a style='font-weight:bold;' href="http://www.esrf.eu">European Synchrotron Radiation Facility</a></p>
79 80 81 82 83 84
               </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>
85 86 87 88 89
               </div>
            </div>
         </div>
      </footer>
   </body>
90
</html>