<html>
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
    <title>Firmware Update</title>
    <link rel="stylesheet" href="/css/style.css" type="text/css">
  </head>

  <body>
    <h3>Upload your new firmware</h3>
    <p>Note: Firmware must be uploaded as a signed firmware blob.</p>
    <div>
      <form method="post" enctype="multipart/form-data">
        <p>Firmware <input type="file" name="file" id="file"/></p>

        <hr size=2 align=left width="75%" noshade>

        <p><input type="submit" value="Update!"></p>

        <br/>
      </form>
      <p><a href='/firmware/download'><b>Download current firmware</b></a></p>

      <% if message %>
        <p style="color: green; font-weight: bold"><%= message %></p>
      <% end %>
    </div>
  </body>
</html>
