dev.tpl.html 2.92 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
11
12
         <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
     
         <!-- Using grunt-wiredep, the proper js files from bower components are included below -->
         <!-- bower:js -->
         <!-- endbower -->
Maxime Chaillet's avatar
Maxime Chaillet committed
13
14
15
16
         
         <!-- Using grunt-include-source, the proper js files created by us (not minified) are included below -->
         <!-- include: "type": "js", "files": "src/*.js" -->
            
17

18
19
         <!-- bower:css -->
         <!-- endbower -->
20

21
22
         <!-- Using grunt-include-source, the proper all dustjs templates files (not minified are included below -->
         <!-- include: "type": "js", "files": "min/precompiled.templates.min.js" -->
23
      
24
25
26
27
28
29
30
31
32
33
34
         <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>
35
36
37
   </head>
   <body>
      <div class="container-fluid">
38
39
         <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>
40
41
42
            <div class="col"> </div>
            <div class="col-auto">
               <div class="whiteFont font-3p2rem" id="doiValue">
43
                 <!-- filled by the js code -->
44
               </div>
45
46
47
            </div>
         </div>
      </div>
48

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