Skip to content
Snippets Groups Projects
dev.tpl.html 2.53 KiB
Newer Older
<!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 -->
      <!-- include: "type": "js", "files": "src/*.js" -->
      

      
      <!-- Using grunt-wiredep, the proper js files from bower components are included below -->
      <!-- bower:js -->
      <!-- endbower -->

      <!-- Using grunt-include-source, the proper all dustjs templates files (not minified are included below -->
      <!-- include: "type": "js", "files": "min/precompiled.templates.min.js" -->
      
      <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">
            <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>
            <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>
      <footer class="footer">
         <div class="container-fluid">
            <div class="row">
               <div class="col-12 col-sm-10" >
                   <p><a style='font-weight:bold;' href="http://www.esrf.eu">European Synchrotron Radiation Facility</a></p>
            </div>
               <div class="col-1 col-sm-2">
                  <p 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>
               </div>
            </div>
         </div>
         
         
      </footer>
   </body>
</html>