view light9/vidref/index.html @ 1296:5127d31bb103

knockout and querystring are fetched by bower Ignore-this: 24c028e34cdce8c693d95a0b53a75b18
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 30 May 2016 07:17:25 +0000
parents 95dfce5c12ce
children 157985a971dc
line wrap: on
line source

<!doctype html>
<html>
  <head>
    <title>picamserve</title>
    <meta charset="utf-8" />
    <style>
      .tile {
        display: inline-block;
       border: 1px solid gray;
       margin: 3px;
       padding: 2px;
       }
     .tile img {
       }
     
    </style>
  </head>
  <body>
    <section>
      Whole view
      <div class="tile">
        <img src="pic?resize=500&awb_mode=auto&exposure_mode=auto&shutter=100000">
      </div>
    </section>
  <section>
    Shutters
      <div data-bind="foreach: shutters">
        <div class="tile">
          <div><img data-bind="attr: {src: 'pic?res=480&resize=200&x=.5&y=.3&w=.5&h=.2&awb_mode=auto&exposure_mode=auto&shutter='+$data}"></div>
          <span data-bind="text: ($data / 1000) + ' ms'"></span> 
        </div>
      </div>
    </section>
    <script src="/lib/knockout/dist/knockout.js"></script>
    <script src="gui.js"></script>
  </body>
</html>