<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <link rel="stylesheet" type="text/css" href="transbeam.css"/>
    <script src="util.js"></script>
    <title>Upload Test</title>
  </head>
  <body>
      <div id="header">
        <img src="transbeam.svg" height="128">
        <h1>transbeam</h1>
      </div>

      <noscript>This page requires Javascript :(</noscript>

      <button id="upload">Upload</button>
      <div id="download_link_container" style="display: none;">
        Download link: <span id="download_link"></span>
      </div>
      <div id="progress_container" style="display: none;">
        <div id="progress"></div>
        <div id="progress_bar">
          <div id="progress_bar_filled"></div>
        </div>
      </div>
      <div id="file_list_container" style="display: none;">
        <table id="file_list">
        </table>
      </div>
      <div id="file_input_container">
        <label>
          <input type="file" multiple id="file_input"/>
          <span class="fake_button" id="file_input_message">Select files to upload...</span>
        </label>
      </div>
      <div id="footer">
        <h5>(c) 2022 xenofem, MIT licensed</h5>
        <h5><a target="_blank" href="https://git.xeno.science/xenofem/transbeam">source</a></h5>
      </div>
      <script src="transbeam.js"></script>
  </body>
</html>