{{template "base/base.html" .}}
{{define "meta"}}
{{end}}
{{define "extrajs"}}
{{end}}
{{define "body"}}
  <br/>
  {{range $key, $val := .sensors}}
    <div class="panel panel-info" id="{{$val.Mac}}">
      <div class="panel-heading">
        <h3 class="panel-title">{{$val.Name}}</h3>
      </div>
      <div class="panel-body">
        <div class="form-group">
          <p><strong>{{$val.Horodate}} :</strong> {{$val.Value}} {{$val.Unit}}</p>
        </div>
      </div>
    </div>
  {{end}}

  <script type="text/javascript">
    setTimeout(function() {
          location.reload();
    }, 5*60*1000);
  </script>
{{end}}
