parameters: (h)
docstring: write html headers
docstring_summary: write html headers
docstring_tokens: write html headers
function: def write_headers(h):
      '''write html headers'''
      h.write('''
  <!DOCTYPE html>
  <html>
  <head>
  <script src="sorttable.js"></script>
  <script src="filtertable.js"></script>
  <link href="../../css/main.css" rel="stylesheet" type="text/css" />
  <style>
  td {
   border-left:1px solid black;
   border-top:1px solid black;
  }
  th {
   text-align: left;
   border-left:1px solid black;
   border-top:1px solid black;
  }
  table {
   border-right:1px solid black;
   border-bottom:1px solid black;
  }
  a {
   color: inherit;
  }
  </style>
  <title>Build List</title>
  </head>
  <body>
  <div id="main">
  <a href="https://firmware.ardupilot.org/">
  <div id="logo" style="text-align:center;">
  </div>
  </a>
  <h2 id='top'>Build List</h2>
  <p>This is an auto-generated list of current builds
      allowing us to quickly see how close we are to running out of flash space.
  <br>This page was most recently regenerated on %s UTC.</p>
  <p>Builds that are coloured red haven't built recently. Builds that are coloured yellow have low flash space remaining.</p>
  <p>Click on any column header to sort by that column, or filter by entering a search term in the box above each table.</p>
  <ul>
  <li>Jump to <a href='#latest'>latest</a></li>
  <li>Jump to <a href='#beta'>beta</a></li>
  <li>Jump to <a href='#stable'>stable</a></li>
  </ul>
  ''' % datetime.now().strftime("%F %k:%M"))
function_tokens: def write_headers ( h ) : h . write ( '''
  <!DOCTYPE html>
  <html>
  <head>
  <script src="sorttable.js"></script>
  <script src="filtertable.js"></script>
  <link href="../../css/main.css" rel="stylesheet" type="text/css" />
  <style>
  td {
   border-left:1px solid black;
   border-top:1px solid black;
  }
  th {
   text-align: left;
   border-left:1px solid black;
   border-top:1px solid black;
  }
  table {
   border-right:1px solid black;
   border-bottom:1px solid black;
  }
  a {
   color: inherit;
  }
  </style>
  <title>Build List</title>
  </head>
  <body>
  <div id="main">
  <a href="https://firmware.ardupilot.org/">
  <div id="logo" style="text-align:center;">
  </div>
  </a>
  <h2 id='top'>Build List</h2>
  <p>This is an auto-generated list of current builds
      allowing us to quickly see how close we are to running out of flash space.
  <br>This page was most recently regenerated on %s UTC.</p>
  <p>Builds that are coloured red haven't built recently. Builds that are coloured yellow have low flash space remaining.</p>
  <p>Click on any column header to sort by that column, or filter by entering a search term in the box above each table.</p>
  <ul>
  <li>Jump to <a href='#latest'>latest</a></li>
  <li>Jump to <a href='#beta'>beta</a></li>
  <li>Jump to <a href='#stable'>stable</a></li>
  </ul>
  ''' % datetime . now ( ) . strftime ( "%F %k:%M" ) )