dev.html 3.61 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
10
         <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
     
         <!-- Using grunt-include-source, the proper js files created by us (not minified) are included below -->
11
         <script src="src/author.js"></script>
12
         <script src="src/beamlineUrl.js"></script>
13
         <script src="src/citation.js"></script>
14
15
         <script src="src/doicontroller.js"></script>
         <script src="src/doiview.js"></script>
16
         <script src="src/jsonExtractor.js"></script>
Maxime Chaillet's avatar
Maxime Chaillet committed
17
            
18
19
20
21
22
23
24
         <!-- 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>
25
         <script src="bower_components/moment/moment.js"></script>
26
         <!-- endbower -->
27

28
29
30
         <!-- bower:css -->
         <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />
         <!-- endbower -->
31

32
33
         <!-- Using grunt-include-source, the proper all dustjs templates files (not minified are included below -->
         <script src="min/precompiled.templates.min.js"></script>
34
      
35
36
37
38
39
40
41
42
43
44
45
         <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>
46
47
48
49
   </head>
   <body>
      <div class="container-fluid">
         <div class="row">
50
            <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>
51
52
53
54
55
            <div class="col-12 col-sm-8 blueBackground flex">
               <div id="doiPanel" class="col-12 whiteVCenteredFont text-right doiTitle" >  </div>
            </div>
         </div>
      </div>
56

57
      <div id="main"></div>
58
59
      <div id='error' ></div>
      
60
61
      <div class="modal">
        <!-- nothing to write here -->
62
      </div>
63
            <footer class="footer">
64
65
         <div class="container-fluid">
            <div class="row">
66
               <div class="col-12 col-md-5" >
67
                   <p><a style='font-weight:bold;' href="http://www.esrf.eu">European Synchrotron Radiation Facility</a></p>
68
69
70
71
72
73
               </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>
74
75
76
77
78
               </div>
            </div>
         </div>
      </footer>
   </body>
79
</html>