{% extends "index.html" %}

{% block content %}
<div class="card">
    <div class="card-header">
        <h5 class="card-title">Upload and set compute package</h5>
        <h6 class="card-subtitle text-muted">{{ message }}</h6>
    </div>
    <div class="card-body">
        <form method=post enctype=multipart/form-data>
            <div class="form-group row">
                <label for="helper" class="col-sm-2 col-form-label">Helper:</label>
                <div class="col-sm-10">
                    <select class="form-control" id="helper" name="helper" required>
                        <option value='kerashelper'>kerashelper</option>
                        <option value='pytorchhelper'>pytorchhelper</option>
                    </select>
                </div>

                <label for="file" class="col-sm-2 col-form-label">Package:</label>
                <div class="col-sm-10">
                    <input class="form-control" type="file" id="file" name="file">
                </div>
                <div class="col-sm-10">
                    <input class="btn btn-primary my-1" type=submit value=Upload>
                </div>
            </div>

        </form>
    </div>
</div>
</div>
</div>
{% endblock %}