{% extends "base.html" %}


{% block head %}
    <link
        rel="stylesheet"
        href="{{url_for('static', filename='css/annotation-compass/annotation-compass.css')}}"
    />

{% endblock %}

{% block content %}

<div class="cards">
{% for image, thumb in images %}
    <figure class="card-image">
        <img class='thumb' src="{{url_for('static', filename='uploads/annotation-compass/' + thumb)}}" />
        <a href="annotate/{{image}}/">{{image}}</a>
    </figure>
{% endfor %}
</div>
    
<h2>Upload new File</h2>
<form method=post enctype=multipart/form-data>
  <input type=file name=file>
  <input type=submit value=Upload>
  <textarea name=description ></textarea>
</form>

{% endblock %}