<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <head> <style></style> </head>
<body bgcolor="#eeeeee">
<table align='center' style='border: groove; border-bottom-width: 1; width: 70%; padding: 5px; border-radius: 10px; -webkit-border-radius: 10px; font-family: Helvetica, Arial, Segoe UI Light, sans-serif;  font-size: 14px; background-color: #FEFEFE;'>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'> {{ data.settings.site.site_name }} </span>
    </td>
    </tr>
  {{~ if data.settings.site.header1 != "" ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'> 
      <span style='color: #004B8D;'> {{ data.settings.site.header1 }} </span>
    </td>
  </tr>
  {{~ end ~}}
  {{~ if data.settings.site.header2 != "" ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'> 
      <span style='color: #004B8D;'> {{ data.settings.site.header2 }} </span>
    </td>
  </tr>
  {{~ end ~}}
  {{~ if data.settings.site.header3 != "" ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'> {{ data.settings.site.header3 }} </span>
    </td>
  </tr>
  {{~ end ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'> Nr seryjny: {{ data.settings.site.console_serial }} </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'> {{ f.currenttime format: data.settings.system.date_format }} </span>
    </td>
  </tr>
</table>

<table align='center' style='border: groove; border-bottom-width: 1; width: 70%; padding: 5px; border-radius: 10px; -webkit-border-radius: 10px; font-family: Helvetica, Arial, Segoe UI Light, sans-serif;  font-size: 14px; background-color: #FEFEFE;'>
  <tr style='font-weight: bold; font-size: 16px; background-color: #ffffff; color: #000000;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'>  STATUS LINII ZMIENIONY </span>
    </td>
  </tr>
</table>

<table align='center' style='border: groove; border-bottom-width: 1; width: 70%; padding: 5px; border-radius: 10px; -webkit-border-radius: 10px; font-family: Helvetica, Arial, Segoe UI Light, sans-serif;  font-size: 14px; background-color: #FEFEFE;'>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='50%' style='font-weight: Bold; padding-left: 4px; padding-right: 4px;'>
      <span style='color: #000000;'>  Linia      </span>
    </td>
    <td colspan='1' align='Left' width='50%' style='font-weight: Normal; padding-left: 4px; padding-right: 4px;'>
      <span style='color: #000000;'>  {{ data.lld.lld_number }} - {{ data.lld.lld_description }}         </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='50%' style='font-weight: Bold; padding-left: 4px; padding-right: 4px;'>
      <span style='color: #000000;'>  Zbiornik      </span>
    </td>
    <td colspan='1' align='Left' width='50%' style='font-weight: Normal; padding-left: 4px; padding-right: 4px;'>
      <span style='color: #000000;'>  {{ data.lld.tank_number }} - {{ data.lld.tank_description }}     </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='50%' style='font-weight: Bold; padding-left: 4px; padding-right: 4px;'>
      <span style='color: {{if data.lld_status == 0}} #196F3D {{else}} #CC0000 {{end}};'>   Status    </span>
    </td>
    <td colspan='1' align='Left' width='50%' style='font-weight: Normal; padding-left: 4px; padding-right: 4px;'>
      <span style='color: {{if data.lld_status == 0}} #196F3D {{else}} #CC0000 {{end}};'>   {{ data.lld_status | f.lldstatus }}     </span>
    </td>
  </tr>
</table>

<table align='center' style='border: groove; border-bottom-width: 1; width: 70%; padding: 5px; border-radius: 10px; -webkit-border-radius: 10px; font-family: Helvetica, Arial, Segoe UI Light, sans-serif;  font-size: 14px; background-color: #FEFEFE;'>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Czas              </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.measured_on | f.unixtime format: data.settings.system.date_format }}       </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>                  </span>
    </td>
  </tr>
{{~ if data.running_pressure > 0.0 ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Ciśnienie pracy  </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.running_pressure | f.format_pressure unit: 0 }}    </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  [{{}}psi{{}}]  </span>
    </td>
  </tr>
{{~ end ~}}
{{~ if data.leak_rate > 0.0 ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Intens. Wycieku         </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.leak_rate | f.format_rate unit: data.settings.system.volume_unit }}       </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.leak_unit_label | f.unit_label }}      </span>
    </td>
  </tr>
{{~ end ~}}
</table>

<div>&nbsp;</div>
</body>
</html>
