{% extends "base.html.j2" %}
{% block content %}
<div class="row twelve columns mb-2">
  {% include "files_list.html.j2" %}
</div>

<div class="row twelve columns mb-2">
  <h2>Upload a file</h2>
  <form method="post" action="/files" enctype="multipart/form-data">
    <input type="hidden" name="action" value="upload" />
    <input type="hidden" name="select" value="false" />
    <input type="hidden" name="start" value="false" />
    <div class="row">
      <input type="file" name="file" accept=".gcode,text/plain" />
    </div>
    <div class="row">
      <input id="submit" type="submit" value="Upload"/>
    </div>
  </form>
</div>
{% endblock %}
