Skip to content
Snippets Groups Projects
interdom.html 3.38 KiB
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>KM3Web Detector Monitor</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/main.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">KM3Web</a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="index.html">Overview</a></li>
          </ul>
          <ul class="nav navbar-nav">
            <li class="active"><a href="intradom.html">Intra DOM Calibration</a></li>
          </ul>
          <ul class="nav navbar-nav navbar-right">
            <li>
              <h4 style="padding-top: 4px; padding-right: 10px; text-align: center">
                <span id="divUTC" class="label label-info"></span>
              </h4>
            </li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>

    <div class="container-fluid" id="plots">
      <div class="row">
        <div class="col-md-12 col-sm-12 plot-container">
          <h3>Intra DOM calibration from K40 coincidences calculated from the last 15 minutes of timeslice data.</h3>
          <h5>y-axis: delta_t [ns], x-axis: PMT combination, red=means, blue=means after t0 correction</h5>
          <img idksjdfaksdkk="intradom" class="plot img-responsive" src="plots/intradom.png"  />
        </div>
      </div>
      <div id="horizontal" class="ruler"></div>
      <div id="vertical" class="ruler"></div>
    </div><!-- /.container -->


    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script type = "text/javascript">
      $(document).ready(function(){
        setInterval(function(){
          $("#intradom").attr("src", "plots/intradom.png?"+new Date().getTime());
        }, 45000);
        //$('#plots').on('mousemove', null, [$('#horizontal'), $('#vertical')],function(e){
        //    e.data[1].css('left', e.offsetX==undefined?e.originalEvent.layerX:e.offsetX);
        //    e.data[0].css('top', e.offsetY==undefined?e.originalEvent.layerY:e.offsetY);
        //});
	$(function(){
	  setInterval(function(){
	    var divUtc = $('#divUTC');
	    var d1 = new Date();
	    var utc_string = d1.toUTCString().replace("GMT", "UTC");
	    divUtc.text(utc_string);
	  },1000);
	});
      });
    </script>

  </body>
</html>